Forums > MaxMSP

compare two lists | audio patterns

November 8, 2011 | 12:02 am

Hi there

Currently working on a audio game in which the user has to repeat a given audio pattern ( the user in this case is deaf so when i talk about sound i actually talk about a tactile tranducer…. But am kind of stuck in how to build it.

The problem is; i can give a pattern a list f.e.
200, 400 1000 200 1000 , is a pattern.
And i want the user to repeat this in TIMING, how can i do this?
Most of my solutions end on my input. My input is eventually a bang or 1/0, i work with a microphone and threshold. So everytime you hit the table for instance a 1 can be generated, but i can’t compare a list that consists of only 1’s when the threshold has been hit. I don’t know a manner of getting the 0’s in that list.

November 8, 2011 | 10:40 am

Below is an extremely simplified concept patch that may have the logic that your looking for. You can have many sel objects to require certain moments in time to allow/disallow messages to pass through a gate. I used gswitch so that its easier to visually see the accessibility for the users bang to pass through.

— Pasted Max Patch, click to expand. —
November 8, 2011 | 10:42 am

Also, if you dont know about it, check out the object zl. Its an extremely versatile object that handles lists.

Viewing 3 posts - 1 through 3 (of 3 total)

Forums > MaxMSP