First time here? Check out the FAQ!
x

Whats the best way to convert from the Frequency field of Sample to the Rate field of TimeIndexForFilename?

0 votes
108 views

An expression like

(!KeyPitch nn  hz) * !Rate_Loop

in the Frequency field of a Sample or Generic source.

I'd like to get the same mapping from the Rate field of the TimeIndexForFilename so I can swap it for sample player more easily

 

asked Apr 12, 2015 in Capytalk & Smalltalk by cristian-vogel (Master) (7,790 points)

2 Answers

0 votes

I am not sure, perhaps SSC could confirm, but could it be a case of using inSOSPitch?

(!KeyPitch inSOSPitch) * !Rate_Loop

I tried that but it doesnt sound right. Sounds cool though. What is inSOSPitch? 
 

answered Apr 12, 2015 by cristian-vogel (Master) (7,790 points)
edited Apr 12, 2015 by cristian-vogel
0 votes

You can use

(!KeyPitch nn hz / 60 nn hz) * !Rate_Loop

60 nn will be the MIDI note number that will give no transposition. (Replace "60 nn" with "48 nn", for example, to make 48 nn on the MIDI keyboard the key that gives no transposition.)

answered Apr 12, 2015 by ssc (Savant) (110,320 points)
...