I'm offering a $100 bounty for code that extends, wraps or mimics the AVAudioPlayer class and allows playback at 1.0x, 1.5x and 2.0x speeds. Private APIs are not allowed. Code should be clean and readable.
Deliver a working ipad (or iphone) project which demos the functionality and the $100 is yours. Will pay via paypal or elance.com.
__________________
Michael Emmons
Founder, App Apps, LLC http://app-apps.com
Have you seen Finch? (zoul's Finch at master - GitHub) It seems to do everything you need and is open source. I haven't tried it lately, but it apparently supports pitch bending now (see the demo).
Edit: should add that this doesn't do compressed audio. Exactly what capabilities do you need?
Have you seen Finch? (zoul's Finch at master - GitHub) It seems to do everything you need and is open source. I haven't tried it lately, but it apparently supports pitch bending now (see the demo).
Edit: should add that this doesn't do compressed audio. Exactly what capabilities do you need?
That was my understanding as well--finch doesn't support compressed audio, which is exactly what I need. I'm currently using iLBC format. I could use a different compressed format possibly, depending on how much larger it is than iLBC, but uncompressed is out of the question.
Other than varying playback speed I need similar functionality to the basic AVAudioPlayer--play, pause, stop, current time. Being able to vary the pitch independently of the speed would be a $50 bonus. It would be nice, but not a requirement.
Also, I'm happy to put the money in escrow on elance.com to guarantee payment.
__________________
Michael Emmons
Founder, App Apps, LLC http://app-apps.com
I see. Just wanted to point it out in case it satisfied your requirements.
(Just to be clear, when I said pitch bending above, I was really referring to changing the speed. Shifting pitch and speed independently would require a phase vocoder or other such techniques that are not built in to Core Audio -- probably not feasible to have this done for $50 )
I see. Just wanted to point it out in case it satisfied your requirements.
(Just to be clear, when I said pitch bending above, I was really referring to changing the speed. Shifting pitch and speed independently would require a phase vocoder or other such techniques that are not built in to Core Audio -- probably not feasible to have this done for $50 )
LOL. Probably not. At least for the variable playback speed I figure someone has created this wheel before and it would simply be a matter of modifying the code a bit rather than developing from scratch.
__________________
Michael Emmons
Founder, App Apps, LLC http://app-apps.com
LOL. Probably not. At least for the variable playback speed I figure someone has created this wheel before and it would simply be a matter of modifying the code a bit rather than developing from scratch.
Yeah, that's exactly what made me think of Finch. You might also look into the CocosDenshion engine that comes with the Cocos2d game engine, but I'd expect it to be pretty limited as well.
The 3D Mixer Audio Unit has built in support for changing the playback speed (OpenAL uses this under the hood), so all of the pieces are there, but since OpenAL doesn't do compression you'd really have to drop down all the way down to the Audio Unit API and write a nice wrapper around it. Probably feasible to have an off-the-shelf implementation licensed pretty cheaply, but there's enough complexity here (dealing with various formats, numbers of channels, etc) that having this built from scratch and thoroughly tested probably wouldn't be realistic at that price.
I'd be surprised if someone didn't already have this done, but I'm not sure where else to look. Good luck