Re: FLLR (compression ?) in AIFF file
Re: FLLR (compression ?) in AIFF file
- Subject: Re: FLLR (compression ?) in AIFF file
- From: "Francois Baronnet" <email@hidden>
- Date: Thu, 7 Aug 2008 20:14:15 +0200
2008/8/7 Brian Willoughby <email@hidden>:
> I still do not understand why you do not use AudioFile and ExtAudioFile.
> Those should be available.
Because I don't understand how they work... I'm lost in Apple's
documentation. I don't see clearly how to read the sound data from
some AIFF file, to decompress data if needed and convert it to float
between -1 and 1... I was able to record audio, following a tutorial
look alike (http://developer.apple.com/iphone/library/documentation/MusicAudio/Conceptual/AudioQueueProgrammingGuide/Introduction/chapter_1_section_1.html),
which give step by step the structures to define, the functions to
call.
At the moment I'm look at "SpeakHere", an iPhone sample app which can
record audio (CAF file) and read it loud.
My goal is the same: recording audio on iPhone, then compute spectrum
frequency... A long way to go :)
>
> If you want to use libMiniAIFF, you will need the source code, and you will
> need to compile it for the iPhone. You cannot link PowerPC or Intel libs
> into iPhone projects - they will never work. The iPhone uses another
> processor.
>
> Brian Willoughby
> Sound Consulting
>
>
> On Aug 7, 2008, at 10:24, Francois Baronnet wrote:
> 2008/8/7 Francois Baronnet <email@hidden>:
>>
>> 2008/8/7 tahome izwah <email@hidden>:
>>>
>>> 2008/8/7 Francois Baronnet <email@hidden>:
>>>>
>>>> Ok. I was in complete misunderstanding since the beginning: you can't
>>>> open AIFF file "like that" ...
>>>
>>> Why not? Try miniAIFF - I am using it for exactly this purpose and it
>>> works great
>>>
>>> http://www.dspdimension.com/admin/miniaiff/
>>>
>>> Btw. SoX can also do this.
>>>
>>> HTH,
>>> --th
>>
>> It looks great, indeed. I will look at it tonight, do you know if it
>> can run on iPhone (3G)?
>
> I think that the libMiniAiff.a cannot be linked from a iPhone project.
> I've added it to my xCode project and when I compile:
>
> "_mAiffReadData", referenced from:
> -[SoundAnalyser readFile:] in SoundAnalyser.o
> ld: symbol(s) not found
> collect2: ld returned 1 exit status
>
> The message is not very explicit I think...
>
> This lib has been build in 2005.
>
>
--
François Baronnet
_______________________________________________
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