sending and receiving two bangs

skirmishdirmish's icon

Hello,

I'm collecting two textfiles of user data for an experiment, where they respond to two questions for each example, and I want my patch to loop to the next example after the two questions have been answered. I was thinking about sending a bang from each of the questions to a separate object, that would wait to receive answers from each question before triggering the next example, but I'm a bit lost about how to do this... and then how to clear the object so that it waits to receive answers from each bang again after the next example.

Attached are only the questions and the "s continue" that gets sent to the beginning to start the process all over again.

Any help would be very, well, helpful!

5262.twoeventexample.maxpat
Max Patch
brendan mccloskey's icon

Hi
I can't look at your patch at the moment but I think a combination of either counter or incdec plus select should help.