Re: Getting raw audio data from an AIFF file
Re: Getting raw audio data from an AIFF file
- Subject: Re: Getting raw audio data from an AIFF file
- From: Brian Willoughby <email@hidden>
- Date: Thu, 13 Feb 2003 04:54:33 -0800
Ed Friese <email@hidden> asks:
[ I was under the impression that the AudioFile stuff in the
[ AudioToolkit framework was the right thing to use for this kind
[ of thing. Is that not the case?
AudioToolkit/AudioFile is just one of many options that has been mentioned in
this thread. It is by no means *the right thing* to use. Particularly when
you consider that AudioFile is a C function based API, compared to the flagship
Cocoa, which is Objective C and message based.
SndKit will probably fit best within a proper Cocoa application. But it has
been pointed out that you can roll your own AIFF support using NSFileHandle -
you could even use standard Unix FILE* library calls (as I have). It all
depends upon how much you trust the support of the framework you select vs. how
well you think you can do with your own AIFF parsing.
The AppKit NSSound is probably based on AudioFile - if it isn't yet, then it
should be. SndKit could be based on AudioFile (except that AudioFile is newer
than SndKit), unless AudioFile is as limited in its support of AIFF variations
as NSSound is.
Brian Willoughby
Sound Consulting
On Wednesday, February 12, 2003, at 04:55 PM, Brian Willoughby wrote:
>
Fortunately, ever since NeXT let the SoundKit go to the Stanford Music
>
Department (I believe that was the path it took), expert programmers
>
have been maintaining the original SoundKit code in the renamed
>
SndKit, which is distributed as part of the MusicKit. Check out
>
MusicKit.org - a good starting place might be
>
http://www.musickit.org/MusicKitConcepts/thesndkit.html for your
>
particular interests.
>
>
The two options above are the most Objective-C-friendly choices I am
>
aware of at this time. I would recommend the SndKit "Snd" object over
>
hacking too deeply into NSSound. You should find that the SndKit is
>
as easy to use as Cocoa, due to its object oriented design, as opposed
>
to QuickTime or other old-school standard C libraries.
_______________________________________________
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.