Forums > MaxMSP

Max for Beat Perception Test

February 9, 2014 | 1:37 pm

Hi!

I am working on a small experiment for my class on beat perception. The idea is to create a max patch that plays a metronome at different inter-onset-intervals, and the students click on the space bar (or tap on drum pad) so they can see how accurate their tapping is.

I was wondering if anyone could suggest to me an elegant way for Max to visualize the error between metronome IOI and human IOI. My first thought has been to convert the human IOI to degrees and display these in a Rose Plot, but I haven’t really found a simple way to do this in Max. I’ve also had a look at plot~, and zplane~ , but these don’t seem to offer exactly what I am envisioning.

Any suggestions would be warmly appreciated. Here is my patch so far so you can get an idea of what I am up to.

best
marC

<code>

– Pasted Max Patch, click to expand. –

</code>


February 9, 2014 | 2:54 pm

What about something like this?
The difference between the bang in the left inlet of the [timer] and the bang in the right inlet of the timer is the difference in triggering. The values scroll in the [multislider] so they can see the difference over time. You can set the scale of the [multislider] in inspector to suit your needs.
Also, in the future, you can use [clocker] to put out numbers at a regular interval rather than the [metro]+[counter] thing you had before.
<code>

– Pasted Max Patch, click to expand. –

</code>


February 9, 2014 | 10:24 pm

How about a target theme.. I was already doing something similar as part of a sequencer I am building. I tweaked a few things to get stuff to fit. Note that you can send the counter output to a modulo object for instant loops.. so no need for two metros. I also included an expression to calculate the actual difference between the beat and the tap regardless of whether it’s early or late… something I initially found to be a bit slippery given my lack of math chops.

– Pasted Max Patch, click to expand. –

February 10, 2014 | 8:02 pm

I edited the patch.. replaced the UI with an LCD object instead of moving panels. I always forget about LCD.


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