• 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 play a waveform?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to play a waveform?


  • Subject: Re: How to play a waveform?
  • From: William Stewart <email@hidden>
  • Date: Tue, 13 Dec 2005 12:19:51 -0800

Have a look at the DefaultOutputUnit code in the SDK. You instantiate an output unit and provide a callback, then start it. Every I/O cycle (usually about 11msecs) it will ask you to fill a buffer of data - in this example it plays a sin wave

Bill

On 13/12/2005, at 7:54 AM, Stephen C. Morgana wrote:

Forgive me for asking this question, but I have really looked in the documentation and can not find the answer.

I would like to build a waveform in memory and then play it out.

I found documentation on how to do this with the Sound Manager, but that is deprecated. I can not find the equivalent calls in Core Audio. All I could find was ways to play sound files stored on disk.

I assume there is a way to do what I want, and I'm just not finding it in the docs.

Thanks
Stephen Morgana

_______________________________________________
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


References: 
 >How to play a waveform? (From: "Stephen C. Morgana" <email@hidden>)

  • Prev by Date: Re: AUGraph Serialization
  • Next by Date: Re: kAudioUnitProperty_ClassInfo endianness
  • Previous by thread: How to play a waveform?
  • Next by thread: Re: How to play a waveform?
  • Index(es):
    • Date
    • Thread