[Numpy-discussion] Re: Code Question

Ryan Krauss ryanlists at gmail.com
Mon Apr 17 05:57:03 EDT 2006


Alright Saqib,

Robert is right that you should try fft in perl if you don't want to
learn Python.

But as I understand it, you want to read in this file, fft it, and
write the fft to a file using only numarray.  Attached is a script
that does that.  Most of the script is just low-level file io to avoid
having to install scipy to read and write the arrays.

Hope this helps,

Ryan

On 4/16/06, Robert Kern <robert.kern at gmail.com> wrote:
> Saqib bin Sohail wrote:
>
> > I am sure all of you will say why not use the existing functionalities, but
> > after 3 days I haven't gotten anywhere. All I need to do is get FFT of some
> > sound files so that I can verify the result of FFT's and compare them with my
> > FFT code in VxWorks.
>
> Well, if you are just trying to get an independent verification of your VxWorks
> FFT code, and you are much more comfortable with Perl, then you might want to
> use one of the FFT libraries available for Perl like Math::FFT.
>
> --
> Robert Kern
> robert.kern at gmail.com
>
> "I have come to believe that the whole world is an enigma, a harmless enigma
>  that is made terrible by our own mad attempt to interpret it as though it had
>  an underlying truth."
>   -- Umberto Eco
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by xPML, a groundbreaking scripting language
> that extends applications into web and mobile media. Attend the live webcast
> and join the prime developer group breaking into this new coding territory!
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
> _______________________________________________
> Numpy-discussion mailing list
> Numpy-discussion at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/numpy-discussion
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: read_fft_write_numarray.py
Type: text/x-python
Size: 872 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20060417/1b2e7f3e/attachment-0001.py>


More information about the NumPy-Discussion mailing list