You can use the midiratio method:12.midiratio; //—> 2The math involves multiplying the starting frequency by 2 raised to the power of n/12, where n is the up/down semitone shift.Eli--On Wed, Jan 9, 2019 at 10:11 AM <kennethflak@xxxxxxxxxxxxxx> wrote:Just got stumped trying to figure out a conversion between playback rate and semitones. Given that playing back a sample at a rate of 0.5 will transpose it down 12 semitones, and playing it back at 2 will transpose it up 12 st... How do I calculate arbitrary semitone transpositions up and down in terms of playback rates? My math part of the brain is apparently not working today._______________Eli Fieldsteel, DMADirector, University of Illinois Experimental Music StudiosAssistant Professor of Composition-TheoryOffice: 217-300-0956
MB 4008, School of Music1114 W Nevada StreetUrbana, IL 61801