Re: AIFFWriter - Select Output Encoding Format dialog box
Re: AIFFWriter - Select Output Encoding Format dialog box
- Subject: Re: AIFFWriter - Select Output Encoding Format dialog box
- From: James Udo Ludtke <email@hidden>
- Date: Sun, 1 Feb 2009 18:25:34 -0500
On 2009 02 1, at 5:33 AM, tahome izwah wrote:
2009/2/1 James Udo Ludtke <email@hidden>:
Rather than write the sound file in real time while it is being
played, I
took the advise and write the file using a duplicated tone
generator method.
I based my code on the Apple sample code "AIFFWriter". I have
everything
working OK. To my surprise, on my MacPro, generating the sound
values and
writing the AIFF file for ten minute playing time, takes a few
seconds.
Why would that be surprising? I would find it surprising if it would
take a MacPro more seconds to generate a simple test tone than it
takes to play it back... I would probably return it to the store :-)
Maybe you misread my post: the sound sequence is far from simple, it
is more like a music file. The sound file takes 10 minutes to play,
and the file size is up to 400MB. I **was** pleasantly surprised.
Item 2 can be done easily by deleting: err =
SCRequestImageSettings(ci);
Are you sure you got the right call here? This looks like a call to
set image compression settings, not audio...!
I also thought it odd, but that is that call used in the Apple sample
code, and it works. I suppose the dialogue displays whatever was
stuffed into the relevant dictionary or structure.
_______________________________________________
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