Re: Problem loading sound
Re: Problem loading sound
- Subject: Re: Problem loading sound
- From: Charles Françoise <email@hidden>
- Date: Mon, 8 Nov 2004 14:08:52 +0200
You are right, the NSSound class is only for containing and playing
sounds. It does not allow you to use the actual data.
You'll need another class to do that. Probably some have already been
written : you might want to look at the Apple "Music & Audio" developer
information.
http://developer.apple.com/audio
I suppose Apple made a class for processing audio. Or you could create
your own WAV containing class. It's a pretty simple and straightforward
format.
http://www.myfileformats.com
You should find enough information here.
I think CoreAudio contains all you need though. Take a look.
-- Charles
On Nov 8, 2004, at 1:45 AM, Raiyan Kabir wrote:
Dear all,
I want to load a .wav or .aiff file to perform my new compression
algorithm (under development). But the problem is I'm unable to load
it as an array of floating points. I need to have it like that as I'm
designing my algorithm on MATLAB and I can get any .wav file as array
of floating points.
I've found nothing like that in NSSound.
Also to be mentioned that I'm new in Cocoa.
Please help me if you can.
PS > NSSound, looks like its only for playing sound.
Raiyan
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev 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.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden