Hello Monks!

I'm new to this forum and I need your help.

I've been in to perl for quite a while now but I'm especially interested in sound. Now to combine these two things, I want to start a little project, which I would like to introduce to you. And this is what it's about:

A FULL SPECTRUM ANALYZER for recorded sound and existing audio files (but mainly first). If you have no idea what I'm talking about http://en.m.wikipedia.org/wiki/Spectrum_analyzer .. just to get an idea. It's pretty impressive actually. And here is how I'd like to do it:

1 First get a sound input from our microphone. 2 Then analys the recorded data. We are supposedly going to have an array of numbers. A byte array. 3 Now we want this sound in a 'frequency domain' (not a time domain! ) So we need to transform our byte array to a frequency domain 4 and then in the end visualise it.

So this is just a brief overview of what the script is going to be doing. Hopefully! :)

If anyone has got an idea to any of these 4 points I'd be very glad to hear! Sadly perl is very poor concerning sound in general. So all help is very welcome. I'll probably be working on this for quite some time and if you guys are interested I'll be posting my process on the forum!

Cheers Rob C

PG8b5W4ebGA51

In reply to SPECTRUM ANALYZER in Perl by robcatow

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.