Re: Simple Audio Player
Re: Simple Audio Player
- Subject: Re: Simple Audio Player
- From: William Stewart <email@hidden>
- Date: Mon, 9 Feb 2009 19:06:30 -0800
If you just need to play back the files, you can use AVAudioPlayer in
AVFoundation; it will mix multiple files and you can control the
volume, playback position of each file
This is from the core audio group, and we like to think of it as one
of our offerings, so we can put the words "Core Audio" and "easy" in
the same sentence ;P
Otherwise, what Jens said.
Bill
On Feb 9, 2009, at 5:19 PM, Jens Alfke wrote:
On Feb 9, 2009, at 4:54 PM, Gabriele Palmas wrote:
I'm a beginner working with CoreAudio and iPhone and I would like to
make a very easy coreAudio chain in an iPhone app.
"Easy" and "CoreAudio" can't be used in the same sentence. :P
CoreAudio is very powerful, very complex, and under-documented. Be
prepared for a steep learning curve, APIs with millions of tiny
little pieces, and puzzling things out from sample code rather than
reading high-level documentation.
I'm stuck at the very beginning of the process: open the audio files
and make my audio buffers.
/Developer/Examples/CoreAudio is where all the good stuff is. Look
at SimpleSDK/PlayFile, which creates a simple AUGraph to play audio
from a file. (However, I'm unsure of whether all this stuff, like
AUGraph, is available on iPhone...)
For just reading samples from arbitrary audio files, the API you
want is <AudioToolbox/ExtAudioFile.h>. There are several examples
that show how to use it, such as ConvertFile.
—Jens _______________________________________________
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