Forums > MaxMSP

Formula for Converting Speed Ratio to Intervals?

July 8, 2009 | 9:16 am

Given the ratio of speed for the playback of a sample, how can you convert that ratio to a musical interval? For example, given a ratio of 0.5, the sample is transposed 12 semitones(since it would have to be an octave higher if playing at half its original speed), or -12 semitones for playback ratio of 2? I feel like it has to deal with exponentials but know, unfortunately, very little of math.


July 8, 2009 | 9:23 am

From transposition to speed has been covered a number of times overhere, the other way around is, well, the other way around:

– Pasted Max Patch, click to expand. –

_
johan


July 8, 2009 | 10:07 am

And here it is again in [expr] form!

lh

– Pasted Max Patch, click to expand. –

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