[PD] Transposing samples using MIDI numbers

Ingo ingo at miamiwave.com
Tue Sep 13 05:36:58 CEST 2011

You need to use [mtof] to convert the midi note number to the frequency
first. [tabread4~] allows variable readout speed to play back transposed
samples. Check the docs for some examples of [tabread4~] and samplers


> Is there a way to transpose the sound of a sample [stored in a table]
> to match a pitch/midi note number?
> In my project, when a sample is played back [using tabplay~] I would
> like something to tune that sample to say, midi note 69 or A 440.
> I would like to be able to send this number to the transposing
> function via a number box.
> I am SOO close to realizing an idea, I just need this one crucial part.
> Thank you for your time,
> Sebastian

More information about the Pd-list mailing list