Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Maemo: Developers

Signal processing on N800

 

 

Maemo developers RSS feed   Index | Next | Previous | View Threaded


jain61 at gmail

Apr 23, 2008, 12:15 PM

Post #1 of 7 (1894 views)
Permalink
Signal processing on N800

Hi All,

I have to do fft calculation for an application running on maemo developed
for N800.
I am looking for some library or the code to do so as i am not sure if i
will be able
to port it to N800 later on...Please let me know if some one has developed
such
application and used fft calculation for discrete signals...

Thanks and Regards,
Nisha


dhuggins at cs

Apr 23, 2008, 7:16 PM

Post #2 of 7 (1793 views)
Permalink
Re: Signal processing on N800 [In reply to]

On Wed, 2008-04-23 at 14:15 -0500, nisha jain wrote:

> to port it to N800 later on...Please let me know if some one has
> developed such
> application and used fft calculation for discrete signals...

If you are dealing with real-valued data (e.g. audio), you can use the
fixed-point FFT routine in CMU Sphinx if you like. It's not
specifically optimized for the ARM but it's pretty fast. Browse the
code at:

http://cmusphinx.svn.sourceforge.net/viewvc/cmusphinx/trunk/sphinxbase/src/libsphinxbase/fe/fe_sigproc.c?view=markup

The functions you need are fe_create_twiddle() and fe_fft_real(). They
come in 16 and 32-bit versions, based on the FIXED16 preprocessor
symbol. The 32-bit version is a bit confusing since it uses 20.12
fixed-point format, so I'd recommend the 16-bit one (which is faster
anyway).

You'll have to do a bit of work to separate it from the rest of the
front end processing, but that shouldn't be hard.

Better would be to use TI's dsplib on the DSP core, but I still haven't
gotten around to figuring that out.

_______________________________________________
maemo-developers mailing list
maemo-developers [at] maemo
https://lists.maemo.org/mailman/listinfo/maemo-developers


jain61 at gmail

Apr 23, 2008, 7:51 PM

Post #3 of 7 (1790 views)
Permalink
Re: Signal processing on N800 [In reply to]

Hi,

Thanks for the information actually I am using wireless sensor data using
mote. It is giving the gyroscope and accelerometer data. I am very new to
DSP and I have to calculate the PSD power density spectral of 8, 10 and 20
samples of incomming data. While going through the tutorials and book I
figured that i can either take the auto correlation of signals which is
nothing but by taking fft and taking real and imaginary frquency components
magnitude. Is there direct c routine which i can invoke from my application
for maemo to calculate the PSD. I wanted it for the application running on
N800 (developed using maemo) if there is such routine for ARM please let me
know.

Thanks and Regards,
Nisha


On 4/23/08, David Huggins-Daines <dhuggins [at] cs> wrote:
>
> On Wed, 2008-04-23 at 14:15 -0500, nisha jain wrote:
>
> > to port it to N800 later on...Please let me know if some one has
> > developed such
> > application and used fft calculation for discrete signals...
>
> If you are dealing with real-valued data (e.g. audio), you can use the
> fixed-point FFT routine in CMU Sphinx if you like. It's not
> specifically optimized for the ARM but it's pretty fast. Browse the
> code at:
>
>
> http://cmusphinx.svn.sourceforge.net/viewvc/cmusphinx/trunk/sphinxbase/src/libsphinxbase/fe/fe_sigproc.c?view=markup
>
> The functions you need are fe_create_twiddle() and fe_fft_real(). They
> come in 16 and 32-bit versions, based on the FIXED16 preprocessor
> symbol. The 32-bit version is a bit confusing since it uses 20.12
> fixed-point format, so I'd recommend the 16-bit one (which is faster
> anyway).
>
> You'll have to do a bit of work to separate it from the rest of the
> front end processing, but that shouldn't be hard.
>
> Better would be to use TI's dsplib on the DSP core, but I still haven't
> gotten around to figuring that out.
>
>


Fred at Lefevere-Laoide

Apr 23, 2008, 11:52 PM

Post #4 of 7 (1806 views)
Permalink
Re: Signal processing on N800 [In reply to]

there was this tuner that used the microphone and a fft lib I think ...
But I think it hasn't been ported to OS2008 (chinook)

Fred

nisha jain a écrit :
> Hi All,
>
> I have to do fft calculation for an application running on maemo
> developed for N800.
> I am looking for some library or the code to do so as i am not sure if i
> will be able
> to port it to N800 later on...Please let me know if some one has
> developed such
> application and used fft calculation for discrete signals...
>
> Thanks and Regards,
> Nisha
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> maemo-developers mailing list
> maemo-developers [at] maemo
> https://lists.maemo.org/mailman/listinfo/maemo-developers

_______________________________________________
maemo-developers mailing list
maemo-developers [at] maemo
https://lists.maemo.org/mailman/listinfo/maemo-developers


michael.wiktowy at gmail

Apr 24, 2008, 7:37 AM

Post #5 of 7 (1778 views)
Permalink
Re: Signal processing on N800 [In reply to]

On Thu, Apr 24, 2008 at 2:52 AM, Fred <Fred [at] lefevere-laoide> wrote:
> there was this tuner that used the microphone and a fft lib I think ...
> But I think it hasn't been ported to OS2008 (chinook)

It has apparently:
http://n770galaxy.blogspot.com/2007/04/tuner-tool-on-n800.html
Source and binaries are linked on the right sidebar. You might find
some routines of interest in there. Although I am not sure how
mathematically robust they are considering the requirements for a
guitar tuner.

/Mike
_______________________________________________
maemo-developers mailing list
maemo-developers [at] maemo
https://lists.maemo.org/mailman/listinfo/maemo-developers


newmans at sonic

Apr 24, 2008, 8:05 AM

Post #6 of 7 (1777 views)
Permalink
Re: Signal processing on N800 [In reply to]

Do you think that is significantly more efficient than kiss fft? We
have been considering using FFTs optimized for arm but platform
independence is always nice.

David Huggins-Daines wrote:
> On Wed, 2008-04-23 at 14:15 -0500, nisha jain wrote:
>
>> to port it to N800 later on...Please let me know if some one has
>> developed such
>> application and used fft calculation for discrete signals...
>
> If you are dealing with real-valued data (e.g. audio), you can use the
> fixed-point FFT routine in CMU Sphinx if you like. It's not
> specifically optimized for the ARM but it's pretty fast. Browse the
> code at:
>
> http://cmusphinx.svn.sourceforge.net/viewvc/cmusphinx/trunk/sphinxbase/src/libsphinxbase/fe/fe_sigproc.c?view=markup
>
> The functions you need are fe_create_twiddle() and fe_fft_real(). They
> come in 16 and 32-bit versions, based on the FIXED16 preprocessor
> symbol. The 32-bit version is a bit confusing since it uses 20.12
> fixed-point format, so I'd recommend the 16-bit one (which is faster
> anyway).
>
> You'll have to do a bit of work to separate it from the rest of the
> front end processing, but that shouldn't be hard.
>
> Better would be to use TI's dsplib on the DSP core, but I still haven't
> gotten around to figuring that out.
>
> _______________________________________________
> maemo-developers mailing list
> maemo-developers [at] maemo
> https://lists.maemo.org/mailman/listinfo/maemo-developers
>
_______________________________________________
maemo-developers mailing list
maemo-developers [at] maemo
https://lists.maemo.org/mailman/listinfo/maemo-developers


ensonic at hora-obscura

May 17, 2008, 9:43 AM

Post #7 of 7 (1613 views)
Permalink
Re: Signal processing on N800 [In reply to]

Hi,
Sarah Newman schrieb:
> Do you think that is significantly more efficient than kiss fft? We
> have been considering using FFTs optimized for arm but platform
> independence is always nice.
>
GStreamer has a copy of kiss-fft included. Would be nice to know how it compares
to the CMU one.

Stefan

>
> David Huggins-Daines wrote:
>> On Wed, 2008-04-23 at 14:15 -0500, nisha jain wrote:
>>
>>> to port it to N800 later on...Please let me know if some one has
>>> developed such
>>> application and used fft calculation for discrete signals...
>> If you are dealing with real-valued data (e.g. audio), you can use the
>> fixed-point FFT routine in CMU Sphinx if you like. It's not
>> specifically optimized for the ARM but it's pretty fast. Browse the
>> code at:
>>
>> http://cmusphinx.svn.sourceforge.net/viewvc/cmusphinx/trunk/sphinxbase/src/libsphinxbase/fe/fe_sigproc.c?view=markup
>>
>> The functions you need are fe_create_twiddle() and fe_fft_real(). They
>> come in 16 and 32-bit versions, based on the FIXED16 preprocessor
>> symbol. The 32-bit version is a bit confusing since it uses 20.12
>> fixed-point format, so I'd recommend the 16-bit one (which is faster
>> anyway).
>>
>> You'll have to do a bit of work to separate it from the rest of the
>> front end processing, but that shouldn't be hard.
>>
>> Better would be to use TI's dsplib on the DSP core, but I still haven't
>> gotten around to figuring that out.
>>
>> _______________________________________________
>> maemo-developers mailing list
>> maemo-developers [at] maemo
>> https://lists.maemo.org/mailman/listinfo/maemo-developers
>>
> _______________________________________________
> maemo-developers mailing list
> maemo-developers [at] maemo
> https://lists.maemo.org/mailman/listinfo/maemo-developers

_______________________________________________
maemo-developers mailing list
maemo-developers [at] maemo
https://lists.maemo.org/mailman/listinfo/maemo-developers

Maemo developers RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.