Forums > MaxMSP

MIDI note value to resampling rate

April 4, 2010 | 7:35 pm

Forgive a stupid question, but I’m trying to remember how to convert MIDI note values to a resampling rate, where 60 (middle c) = 1, 72= 2, 48 = 0.5. I’m sure I’ve done this before, but I cannot find/remember how.

Many thanks



MIB
April 4, 2010 | 9:35 pm

do you mean this:

– Pasted Max Patch, click to expand. –

April 5, 2010 | 9:25 am

I find [expr pow(2.,($f1/12))] is an improvement. It makes it easier to put the desired offset into the equation too: [expr pow(2.,(($f1-60)/12))].

lh


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