Re: playing multiple sounds synchronously
Re: playing multiple sounds synchronously
- Subject: Re: playing multiple sounds synchronously
- From: Chris Rogers <email@hidden>
- Date: Fri, 8 Jul 2005 12:12:04 -0700
Also, OpenAL might be an easy possibility for you, depending on your
application...
Chris Rogers
Core Audio
Apple Computer
http://developer.apple.com/audio
There are also some code examples in the Core Audio SDK - /
Developer/Examples/CoreAudio
What you'll need to do is to use a mixer audio unit - that takes
one or more inputs and mixes them to produce a single output - if
you are just doing stereo output, the stereo mixer is the best option.
You can use the AUGraph API to help to assemble this kind of
processing graph
As to what you would use for each input of this graph, it really
depends on where the data is coming from. If its from a file, then
you can use the Extended Audio File API in Tiger to convert the
file's contents into a format appropriate for the mixer (generally
this will float 32, deinterleaved - this will make sense when
you've read some of the documents)
HTH
Bill
On 08/07/2005, at 9:55 AM, email@hidden wrote:
i want to write an appplication using cocoa and core audio apis to
play one
up to maybe 10 or 20 sounds synchronously.
i know cocoa quite well, but core audio not at all.
(i read, nssound is not sufficient to play sounds synchronously.)
is core audio the right tool. or should i use something different,
maybe
more easy?
where can i find core audio documentation?
--
Weitersagen: GMX DSL-Flatrates mit Tempo-Garantie!
Ab 4,99 Euro/Monat: http://www.gmx.net/de/go/dsl
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40apple.com
This email sent to email@hidden
--
mailto:email@hidden
tel: +1 408 974 4056
______________________________________________________________________
____
"Much human ingenuity has gone into finding the ultimate Before.
The current state of knowledge can be summarized thus:
In the beginning, there was nothing, which exploded" - Terry Pratchett
______________________________________________________________________
____
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40apple.com
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