Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Is there a way to Change Pitch while having the same speed  (Read 4209 times)

0 Members and 1 Guest are viewing this topic.

Austech

  • Newbie
  • *
  • Posts: 23
    • View Profile
Is there a way to Change Pitch while having the same speed
« on: November 21, 2009, 07:36:40 pm »
I'm messing with the audio part of the SFML library. And one of the functions called SetPitch() I have a question about. Is there a way to change a pitch of the sound without changing the speed? Because when I do it it speeds it up or down depending on the value I give it.

Thanks in advanced.

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Is there a way to Change Pitch while having the same speed
« Reply #1 on: November 21, 2009, 08:04:07 pm »
No. As far as I know, changing the pitch independently of the speed requires a more complex algorithm that OpenAL doesn't implement.
Laurent Gomila - SFML developer

Austech

  • Newbie
  • *
  • Posts: 23
    • View Profile
Is there a way to Change Pitch while having the same speed
« Reply #2 on: November 21, 2009, 08:18:15 pm »
Oh, well thank you for your reply.  :D

 

anything