Thanks!

]]>– Pasted Max Patch, click to expand. –

]]>
1.0594631

written as 2 ^ (1/12)

if you take A=440 for example, multiply 440 by the above number to get B flat…multiply that by the above number again to get B… etc. It’s just like compound interest.

so you can see that if you multiply any starting number by that number twelve times, you’ll get double the number = 12 steps = one octave.

]]>you dont even need to do that, because your input (midi notes 60, 61,62)

has that already, isnt it?

“from 1 to .5, and then from 1 to 2? I have the feeling I need some kind

of equation with a log function or something”

exactly, and what you need is [mtof] – converting note numbers to frequency

in hertz.

then you add an offset, which is your base note.

i have chosen middle C to be the base note, at which the playspeed is 1. :

[expr exp(0.057762265*($f1-60.))]

that will work with 12-tone temperament as well as with any other scale …

-110

– Pasted Max Patch, click to expand. –

]]>