Re: ExtAudioFile for audio recording
Re: ExtAudioFile for audio recording
- Subject: Re: ExtAudioFile for audio recording
- From: Fernando Valente <email@hidden>
- Date: Sun, 1 Aug 2010 22:33:47 -0300
Excepting for AAC, is there any other compressed format iOS has an encoder for? If I decide to use uncompressed LPCM, where may I find a tutorial or sample to code to save the file as an AIFF file? In case it's possible to record to a compressed format like AIFF-C, where may I find sample code?
On Aug 1, 2010, at 6:48 PM, infrequent wrote:
> Nope. What you can record to depends on the framework you're using.
> With AudioUnits, you can only record to linear pcm. AVAudioRecorder
> allows you to set encoder settings, but I don't know what the output
> format is. I suspect it's the same as for AudioQueues. These are
> detailed here:
>
> http://developer.apple.com/iphone/library/qa/qa2008/qa1615.html
>
> Once you've recorded your data, you can save it to file and there you
> have the additional options I wrote about earlier.
>
> On Sun, Aug 1, 2010 at 10:21 PM, Samuel Goodwin <email@hidden> wrote:
>> You can record directly to aac? I could not get it to work on my iPhone 4.
>>
>> Sent from my iPhone
>>
>> On Aug 1, 2010, at 15:19, infrequent <email@hidden> wrote:
>>
>>> You can definitely save it to LPCM or IMA. AFAIK, you can also save
>>> it to aac on a 3gs (or later) device. But that's all you get from the
>>> SDK. If I'm wrong, though, I'm sure someone else will step in on
>>> this.
>>>
>>> On Sun, Aug 1, 2010 at 9:56 PM, Fernando Valente
>>> <email@hidden> wrote:
>>>> So how may I record audio and save it to a file? Also I would like to be able to re-use the class on another project which is a piano app.
>>> _______________________________________________
>>> 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
>>
Fernando Valente
Chiaro Software
email@hidden
http://www.chiarosoft.com
http://www.twitter.com/chiarosoftware
_______________________________________________
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