• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Even slider values with OpenAL pitch shifting
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Even slider values with OpenAL pitch shifting
      • From: Graham Cox <email@hidden>
    • Re: Even slider values with OpenAL pitch shifting
      • From: Kyle Sluder <email@hidden>
  • Prev by Date: Re: Managed Object with Transformable Attribute (C Struct)
  • Next by Date: Re: Even slider values with OpenAL pitch shifting
  • Previous by thread: Highlighting a row in an NSTableView
  • Next by thread: Re: Even slider values with OpenAL pitch shifting
  • Index(es):
    • Date
    • Thread