Re: PlayFileLite...CoreAudio...argh!!!
Re: PlayFileLite...CoreAudio...argh!!!
- Subject: Re: PlayFileLite...CoreAudio...argh!!!
- From: John Stiles <email@hidden>
- Date: Wed, 27 Oct 2004 18:23:21 -0700
My take on it is this.
- If you want to "play a cassette tape," QuickTime or NSSound. Low
complexity.
- If you want to play a cassette tape in 3D space, OpenAL. Medium
complexity.
- On the other hand, if you want to do anything more fancy--reverb,
AudioUnits, etc.-- break out the soldering iron. :) Very, very high
complexity.
Unfortunately, there's no easy road to CoreAudio. I remember when I
first saw AppleEvents and thought it was too complex to use... and now
it seems trivial in comparison to CoreAudio :) :)
On Oct 27, 2004, at 5:56 PM, john wrote:
Hi Ray,
You're not missing anything, it's just the way of CoreAudio.
If you just want to play an AIFF file, I think NSSound (in Cocoa) does
it nice and easy - it is limited to playing, pausing and resuming
AIFF, WAV and NeXT .snd files. I suspect you're not taking the Cocoa
approach being a pre-OSX developer, but if you're a casual developer I
think you'll be much more satisfied with Cocoa developing so it's
worth checking it out (not to suggest Cocoa is just for non-serious
developers, by any means). www.cocoadevcentral.com might have some
good things for you to get started with.
If you want to use CoreAudio (even with Cocoa), or don't want to use
Cocoa, you'll have to get more comfortable with the CoreAudio API and
its implementation. No way around that. You can look through the
CoreAudio sample code to get an idea, or just copy and paste it into
the app you want to write.
Hope this helps.
-- John
Hey guys,
So, I'm not a big developer, but I like to write my own little
utility applications and have been since before the Mac+...so please
read this from my small perspective.
I've been trying to get my head around all the new CoreAudio stuff
and I have to say that I'm impressed...and incredibly disappointed.
From what I can tell, CoreAudio is extremely powerful and it's
incredible to have something like this built into the OS. On the
other hand, where's the higher lever stuff?
It's seems to me that you can put together anything you want with few
restrictions, but to play a simple AIFF file takes callback routines,
render routines and is far from trivial. Am I wrong here? Isn't
something missing?
I feel like I'm soldering a circuit board together piece by piece
just to
play a damn cassette tape.
Thanks for listening to my lame dribblings...
Ray
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
email@hidden
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden