• 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: newbie: Loading sample data
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: newbie: Loading sample data


  • Subject: Re: newbie: Loading sample data
  • From: Doug Wyatt <email@hidden>
  • Date: Mon, 17 Nov 2003 17:40:33 -0800

You could use the functions defined in AudioToolbox/AudioFile.h. These APIs let you read/write AIFF (and other formats) efficiently and with a minimum of mess. You probably don't need many more than these:

AudioFileOpen
AudioFileGetPropertyInfo
AudioFileGetProperty
AudioFileSetProperty
AudioFileReadPackets
AudioFileWritePackets
AudioFileClose

Doug


On Nov 16, 2003, at 13:44, Oli Donald wrote:
Hi,

I am writing a tiny terminal application that does batch convolution of sound files. Everything now works but I have left the audio-file loading part to last, and getting AIFF loading (and more importantly saving) to work is a PITA. Does anyone have some source code I can use to load & save AIFF files, or is there someway to use Quicktime to get at audio data, from a Terminal application?

Apologies if this is slightly OT for this list.
Thanks,
Oli
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: newbie: Loading sample data
      • From: Robert Grant <email@hidden>
References: 
 >MusicPlayer Sample Code (From: Art Gillespie <email@hidden>)
 >newbie: Loading sample data (From: Oli Donald <email@hidden>)

  • Prev by Date: Re: newbie: Loading sample data
  • Next by Date: Re: newbie: Loading sample data
  • Previous by thread: Re: newbie: Loading sample data
  • Next by thread: Re: newbie: Loading sample data
  • Index(es):
    • Date
    • Thread