Even slider values with OpenAL pitch shifting
Even slider values with OpenAL pitch shifting
- Subject: Even slider values with OpenAL pitch shifting
- From: Chunk 1978 <email@hidden>
- Date: Tue, 15 Dec 2009 21:01:50 -0500
i have a seemingly simple enough problem, but i can't wrap my head around it.
i have an even slider with a min value of 0.0, a maximum value of 2.0
and a neutral default value of 1.0. i need to be able to shift the
pitch of a sound down one octave (to slider value 0.0) and shift the
pitch up one octave (to slider value 2.0) using OpenAL's pitch.
however, in OpenAL a normal sound file with no pitch has a value of
1.0, one octave above the normal sound the pitch shifts up to 2.0, but
one octave below the normal sound the pitch shifts down to 0.5, not
0.0 as i had expected!
any thoughts on how i can solve this kind of problem?
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden