• 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: playing multiple sounds synchronously
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: playing multiple sounds synchronously


  • Subject: Re: playing multiple sounds synchronously
  • From: William Stewart <email@hidden>
  • Date: Fri, 8 Jul 2005 11:55:32 -0700

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:
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:
This email sent to email@hidden


  • Follow-Ups:
    • Re: playing multiple sounds synchronously
      • From: Chris Rogers <email@hidden>
References: 
 >playing multiple sounds synchronously (From: email@hidden)

  • Prev by Date: Re: Carbon window compositing
  • Next by Date: Re: playing multiple sounds synchronously
  • Previous by thread: playing multiple sounds synchronously
  • Next by thread: Re: playing multiple sounds synchronously
  • Index(es):
    • Date
    • Thread