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 05:04:26 -0800
[ Hi Brian,
[
[ If I may add to your posting. While SndKit is great certainly,
[ and its ObjC makes it even more desirable, I think it's worth
[ mentioning setting up a basic AIFF reader using an NSFileHandle
[ is quite simple. Taking a quick look at the many open source code
[ for reading sound files, you can easily get an understanding of
[ what is necessary. Probably more quickly than learning the SndKit
[ API (though that provides many other goodies worth checking out!).
Hi John,
Nice addition to the thread, nobody had suggested writing a basic AIFF reader
rather than leveraging some existing solution. Given the limitations of
NSSound (it doesn't support all AIFF variations), this could be a win. NSSound
is, after all, the one solution which is available on all systems, even pre
10.2 / Jaguar.
While my general opinion is in agreement with yours - that learning a given
third-party framework can often take longer than writing your own (especially
given the power of Objective C) - I would hesitate to suggest to the average
programmer that they tackle AIFF reading. My reasoning behind this statement
is that I have found serious errors in the various open source projects out
there which attempt to support AIFF. If it's that easy to mess up AIFF, even
with the oversight of open source, I would guess that each new programmer is
going to make the same or similar mistakes. Note: read the AIFF spec for hints
as to where things usually get misunderstood.
Brian Willoughby
Sound Consulting
_______________________________________________
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.