There&#39;s  a number of ways to transpose a table... the [tabread4~] object allows you to change the speed, right. If you want to change the pitch but not the duration (pitch-shifting + time-streching) there&#39;re spectral objects that can do it. You can also have a look at the audio example G09, pitch-shift... its only problem is aliasing.<div>
<br></div><div>But the most important thing for your project is to know what is the &quot;central&quot; frequency in the table, because all transposition you can do will always be relative. You can try with [fiddle~] or [sigmund~] to do pitch-tracking and average it, but if the samples are &quot;complex&quot; (more than 1 note) you should to use some spectral analysis tools. I&#39;d suggest the PDescriptors library, and its chroma objects.<br>
<br></div><div>Lots of luck!</div><div><br></div><div>Quim</div><div><br></div><div><div class="gmail_quote">2011/9/13 Ingo <span dir="ltr">&lt;<a href="mailto:ingo@miamiwave.com">ingo@miamiwave.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
You need to use [mtof] to convert the midi note number to the frequency<br>
first. [tabread4~] allows variable readout speed to play back transposed<br>
samples. Check the docs for some examples of [tabread4~] and samplers<br>
(3.audio.examples/B...).<br>
<font color="#888888"><br>
Ingo<br>
</font><div><div></div><div class="h5"><br>
&gt; Is there a way to transpose the sound of a sample [stored in a table]<br>
&gt; to match a pitch/midi note number?<br>
&gt; In my project, when a sample is played back [using tabplay~] I would<br>
&gt; like something to tune that sample to say, midi note 69 or A 440.<br>
&gt; I would like to be able to send this number to the transposing<br>
&gt; function via a number box.<br>
&gt; I am SOO close to realizing an idea, I just need this one crucial part.<br>
&gt;<br>
&gt; Thank you for your time,<br>
&gt; Sebastian<br>
<br>
<br>
_______________________________________________<br>
<a href="mailto:Pd-list@iem.at">Pd-list@iem.at</a> mailing list<br>
UNSUBSCRIBE and account-management -&gt; <a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br>
</div></div></blockquote></div><br></div>