• 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: Splitting and Joining Stereo and Mono Aiff
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Splitting and Joining Stereo and Mono Aiff


  • Subject: Re: Splitting and Joining Stereo and Mono Aiff
  • From: David Duncan <email@hidden>
  • Date: Sat, 8 Nov 2003 10:36:55 -0500

On Nov 8, 2003, at 09:47 AM, Joey Coyle wrote:

A couple questions so I don't go down the wrong path. I am still on Jaguar.

1.) I could do this by using a spec and parsing through the binary file, or by using existing functionality in CoreAudio.
a.) The spec I have found for Aiff seems old. It is version 1.3. Is this the latest? I also found the Aiff-C spec, but I am not going to do the compressed format for now.

You will find that many uncompressed AIFF formats use the AIFF-C container because while they are uncompressed they use encodings that you can't store in an AIFF file. As for the AIFF spec you probably found, for plain AIFF files it is likely correct, if not complete. That said, I have no idea what the latest spec version is for either.

b.) If I forget parsing myself and use existing functionality, is AudioFile.h the way to go. Looking through AudioFile.h it is using FSRef which is carbon. Is the FSRef the future for Mac OS X? Is there any existing CoreAudio Code that would help me build this utility?

If you go with AudioFile you can get decompression for free (on 10.3, for what AudioFile supports) from AIFF-C files. If you write it yourself, you will have more control, but less flexibility (unless you want to configure CoreAudio yourself for doing some of the work).

More than likely if you want to support more of the spec, you will need to do both, as there are many kinds of AIFF chunks that can be stored in an AIFF file that CoreAudio will not give you, but that users may want preserved. If you are only interested in splitting/merging, then AudioFile will be more than enough.
--
Reality is what, when you stop believing in it, doesn't go away.
Failure is not an option. It is a privilege reserved for those who try.

David Duncan
_______________________________________________
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.

References: 
 >Splitting and Joining Stereo and Mono Aiff (From: Joey Coyle <email@hidden>)

  • Prev by Date: Splitting and Joining Stereo and Mono Aiff
  • Next by Date: threading questions
  • Previous by thread: Splitting and Joining Stereo and Mono Aiff
  • Next by thread: threading questions
  • Index(es):
    • Date
    • Thread