Hello Ashhar, thanks for your reply, but i'm a bit surprised. 1- Does it mean that it is possible to make a Real Time Encoding/Decoding with SPEEX on iPhone ? 2- What parameters have been used (QUALITY, SAMPLING_RATE, BITRATE) ? and what kind of CPU load do they measure for that ? Thanks by advance, Vincent ----- Original Message ----- From: "Ashhar Farhan" <farhan at phonestack.com> To: "Vincent Burel" <vincent.burel at vb-audio.com> Cc: <speex-dev at xiph.org> Sent: Saturday, November 08, 2008 3:19 AM Subject: Re: [Speex-dev] SPEEX on iPhone ?> vincent, > someone in our team did compile it on iphone. he didn'y any particular > problems. the arm specific optimizations are not necessary given > iphone's fast cpu. > just add all the speex sources to xcode's project pane and compile it. > - farhan > > On 11/7/08, Vincent Burel <vincent.burel at vb-audio.com> wrote: > > hello, > > > > i 've already used SPEEX in a protoype of voip application (on VC 6) andi> > must says that it works well, the sound is good, and the object workswell> > with multi-instances. > > > > But now i'm wondering if it's possible to port the SPEEX encoder (and > > decoder process) on iPhone ? Does someone tried to do that ? > > Do you think it is possible or completly over the capabilities of theARM> > processor of the iPhone ? > > > > Thanks by advance for your reply. > > Vincent Burel > > > > _______________________________________________ > > Speex-dev mailing list > > Speex-dev at xiph.org > > http://lists.xiph.org/mailman/listinfo/speex-dev > > >
vincent, it should work out of the box. real time speex should work on the iphone as it has a really fast arm cpu (and speex works in realtime on even the 201mhz arm cpus). while compiling, remember to define the fixed-support support and you are all set. narrow band (8khz) and 8kbps bitrate will work very well. while you are at it, pse send the xcode project file to include in the tarball. - farhan On 11/10/08, Vincent Burel <vincent.burel at vb-audio.com> wrote:> Hello Ashhar, > > thanks for your reply, but i'm a bit surprised. > > 1- Does it mean that it is possible to make a Real Time Encoding/Decoding > with SPEEX on iPhone ? > > 2- What parameters have been used (QUALITY, SAMPLING_RATE, BITRATE) ? and > what kind of CPU load do they measure for that ? > > Thanks by advance, > Vincent > > ----- Original Message ----- > From: "Ashhar Farhan" <farhan at phonestack.com> > To: "Vincent Burel" <vincent.burel at vb-audio.com> > Cc: <speex-dev at xiph.org> > Sent: Saturday, November 08, 2008 3:19 AM > Subject: Re: [Speex-dev] SPEEX on iPhone ? > > >> vincent, >> someone in our team did compile it on iphone. he didn'y any particular >> problems. the arm specific optimizations are not necessary given >> iphone's fast cpu. >> just add all the speex sources to xcode's project pane and compile it. >> - farhan >> >> On 11/7/08, Vincent Burel <vincent.burel at vb-audio.com> wrote: >> > hello, >> > >> > i 've already used SPEEX in a protoype of voip application (on VC 6) and > i >> > must says that it works well, the sound is good, and the object works > well >> > with multi-instances. >> > >> > But now i'm wondering if it's possible to port the SPEEX encoder (and >> > decoder process) on iPhone ? Does someone tried to do that ? >> > Do you think it is possible or completly over the capabilities of the > ARM >> > processor of the iPhone ? >> > >> > Thanks by advance for your reply. >> > Vincent Burel >> > >> > _______________________________________________ >> > Speex-dev mailing list >> > Speex-dev at xiph.org >> > http://lists.xiph.org/mailman/listinfo/speex-dev >> > >> > > _______________________________________________ > Speex-dev mailing list > Speex-dev at xiph.org > http://lists.xiph.org/mailman/listinfo/speex-dev >
I can confirm that it will run in real time on iPhone if you compile with FIXED_POINT defined; it will also run in real time if you have FLOATING_POINT defined and disable 'Compile for Thumb' in the target's build settings in xcode. Wideband works too. Cheers, Dave
ok, interesting ! Do you know how much CPU it takes for a real time encoding/decoding ? it's more around 20% or 80% instead ? Do you know if it works for 44100 Hz / 32kbps / Quality =8 ? thanks again. Vincent ----- Original Message ----- From: "Ashhar Farhan" <farhan at phonestack.com> To: "Vincent Burel" <vincent.burel at vb-audio.com> Cc: <speex-dev at xiph.org> Sent: Wednesday, November 12, 2008 3:05 AM Subject: Re: [Speex-dev] SPEEX on iPhone ?> vincent, > it should work out of the box. real time speex should work on the > iphone as it has a really fast arm cpu (and speex works in realtime on > even the 201mhz arm cpus). > while compiling, remember to define the fixed-support support and you > are all set. narrow band (8khz) and 8kbps bitrate will work very well. > while you are at it, pse send the xcode project file to include in thetarball.> - farhan > > On 11/10/08, Vincent Burel <vincent.burel at vb-audio.com> wrote: > > Hello Ashhar, > > > > thanks for your reply, but i'm a bit surprised. > > > > 1- Does it mean that it is possible to make a Real TimeEncoding/Decoding> > with SPEEX on iPhone ? > > > > 2- What parameters have been used (QUALITY, SAMPLING_RATE, BITRATE) ?and> > what kind of CPU load do they measure for that ? > > > > Thanks by advance, > > Vincent