## transpose by frequency value?

Oct 11, 2012 at 4:39am

# transpose by frequency value?

Hello everyone,

I am wondering if there is a way for me to take a sample that is in buffer~ and transpose it based on an incoming frequency value. For example, the value 432 comes in and so the sample plays back at that frequency. Is this possible? It’s a different approach than all the objects I see out there that say “transpose by this much from the base” and are based on a scale from i.e. -1. to 1., although maybe I am just missing something. The important thing is that the rate of playback must be able to be determined by the incoming frequency value, which will ultimately be provided by spectral analysis of whatever is being played.

many thanks,
Tomek

#64712
Oct 12, 2012 at 2:56am

You have to know the base frequency of whatever is in the buffer, and then it is a matter of arithmetic. If your buffer has a pitch of 220 and you wanted to play it back at 432, you would play it back at 1.96 times the normal speed. (432/220 = 1.96 approximately).

#233405

You must be logged in to reply to this topic.