• 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
Re: how to change pitch in real time
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: how to change pitch in real time


  • Subject: Re: how to change pitch in real time
  • From: tahome izwah <email@hidden>
  • Date: Thu, 13 Jan 2011 09:52:25 +0100

Just to clarify - you want to change pitch and speed *independently*
of each other? Or just play faster and slower (like slowing down or
speeding up a tape recorder)?

There are a couple of commercial and free options to do time
stretching and pitch shifting (SoundTouch, FMOD and Dirac come to
mind). To use them you will have to modify your example to get to the
raw PCM data of the file in order to process them.

Ideally you will have to run the modification in a separate thread and
put the audio data into a queue that can be accessed from the RIO
callback.

Check out http://developer.apple.com/library/ios/#documentation/MusicAudio/Conceptual/CoreAudioOverview/Introduction/Introduction.html
and
http://atastypixel.com/blog/using-remoteio-audio-unit/

HTH
--th


2011/1/13 Akram Ahmad <email@hidden>:
> Hi,
>
> I want to change the pitch during playback of an audio file using a "pitch
> slider".  Actually, My app has an view with two sliders namely Pitch and
> Tempo.  I want to change the pitch and tempo when audio is playing.
>
> Could you please help me with some code snippet?
>
> I have already gone through with MixerHost sample code on apple site to play
> the audio file but not able to change the pitch during playback.
>
> any help would be greatly appreciated.
>
> Thanks in Advance!
>
> Akram
>
>  _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Coreaudio-api mailing list      (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
>
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >how to change pitch in real time (From: Akram Ahmad <email@hidden>)

  • Prev by Date: how to change pitch in real time
  • Next by Date: Re: how to change pitch in real time
  • Previous by thread: how to change pitch in real time
  • Next by thread: Re: how to change pitch in real time
  • Index(es):
    • Date
    • Thread