• 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: Write a sound file with sounds generated within the app
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Write a sound file with sounds generated within the app


  • Subject: Re: Write a sound file with sounds generated within the app
  • From: William Stewart <email@hidden>
  • Date: Wed, 7 Dec 2005 11:39:14 -0800

On 06/12/2005, at 10:18 PM, Brad Ford wrote:


On Dec 6, 2005, at 8:49 PM, James Udo Ludtke wrote:

<SNIP>



This is not a correct statement. You can write a file from a number of different sources (i.e. an export from another format, a transcode or mix-down from another file, etc.). Since your sounds are not created in the analog world, the use of an input device to record them to disk is unnecessary, and would introduce quality degradation.

I'm sure Bill or Doug will chime in with better ideas if they've got 'em, but I'd suggest you use the AudioConverter + AudioFile API's.

ExtendedAudioFile is even easier. The write calls to ExtAF are thread safe - they can be made from the I/O thread and the disk I/O occurs on another thread.


There's an example of setting this up and writing a file in the ConvertFile call in the SDK's "Simple" directory

Bill


--
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: 
 >Write a sound file with sounds generated within the app (From: James Udo Ludtke <email@hidden>)
 >Re: Write a sound file with sounds generated within the app (From: Brad Ford <email@hidden>)

  • Prev by Date: VLC and multichannel Audio Devices
  • Next by Date: QTMetadata Update Movie File
  • Previous by thread: Re: Write a sound file with sounds generated within the app
  • Next by thread: Combining AUHAL input unit and varispeed unit
  • Index(es):
    • Date
    • Thread