• 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: magic cookies
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: magic cookies


  • Subject: Re: magic cookies
  • From: Richard Dobson <email@hidden>
  • Date: Wed, 15 Oct 2003 23:58:19 +0100

At the risk of saying something completely heretical on an Apple list: if you just want to read/write soundfiles, you may have a happier time using a free (well, LGPL) comprehensive independent library such as libsndfile (very widely used, the de facto "industry standard", so can be assumed to be as bug-free as any library can be). This will give you complete flexibility, the most you will have to think about is the file extension. .aifc covers you for everything. AIFF-C is no less robust that AIFF (probably more so if anything), and setting aside the support for compressed formats, hardly less plain. Apart from the name, the difference is just in the COMM chunk, with maybe an extra dozen or so bytes. With libsndfile, the most you would have to pay attention to is the file extension.

libsndfile is at: http://www.zip.com.au/~erikd/libsndfile/

Richard Dobson

Stanko Juzbasic wrote:

...
What about few hundreds of computer generated or professionally recorded files a day? It is still convenient in many situations to have plain AIFF rather than "compressed which in fact happens not to be compressed". After all they are still way easier to debug, hack and extensively process. It's not my fault that some industry standards STILL do require a format that plain and robust. All I want to know is if one can create plain AIFF within CoreAudio at all?

How to make QuickTime stand off your way? What is the corrupted part at the end of the files?
A magic cookie? Why is it needed if the file is not compressed?
Is there a ready-made routine to write an AIFF file - not the one which ends-up in becoming a QuickTime AIFC track?
...
_______________________________________________
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: magic cookies
      • From: James McCartney <email@hidden>
References: 
 >Re: magic cookies (From: Stanko Juzbasic <email@hidden>)

  • Prev by Date: Re: Playing wave file data
  • Next by Date: Re: magic cookies
  • Previous by thread: Re: magic cookies
  • Next by thread: Re: magic cookies
  • Index(es):
    • Date
    • Thread