Re: ExtAudioFile for audio recording
Re: ExtAudioFile for audio recording
- Subject: Re: ExtAudioFile for audio recording
- From: William Stewart <email@hidden>
- Date: Fri, 6 Aug 2010 18:00:54 -0700
Apple Lossless is supported on all the iOS platforms (encoder and decoder)
Bill
On Aug 1, 2010, at 6:33 PM, Fernando Valente wrote:
> 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
_______________________________________________
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