Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re^2: Measuring the sound level (dB(A)) with PERL

by John-Robie (Novice)
on Nov 10, 2016 at 12:06 UTC ( [id://1175671]=note: print w/replies, xml ) Need Help??


in reply to Re: Measuring the sound level (dB(A)) with PERL
in thread Measuring the sound level (dB(A)) with PERL

Thank you very much! You really made my day!

This was the missing link to my question. I just integrated your code and am able to see quite precise values in the range from 60dB (A) to 100 dB(A). Therefore, a corrective value for $DBA_MIC_FS was integrated in the upper part of the code.

my $DBA_MIC_FS = -110;

Now, the values are similar compared to a standard sound meter Class 2. There are some problems with the USB mic, though: There are no smaller values as 60 db(A)… this was tested on Windows with the same mic… no lower values than 60 dB(A) :-(

This leads to the idea, that USB mics are not built to measure sound pressure levels precisely, but more to record human voice. Additionally considering the good advice from stevieb, USB mics seem to be a dead end for noise measurements (ot this 10 EUR mic is just not good enough for this purpose)

So, there will be a test with another USB mic and if there are similar problems, I might switch to analog mics with ADC technology. But this is out of the scope of this forum, I suppose...

Replies are listed 'Best First'.
Re^3: Measuring the sound level (dB(A)) with PERL
by BrowserUk (Patriarch) on Nov 10, 2016 at 19:16 UTC
    There are no smaller values as 60 db(A)� this was tested on Windows with the same mic� no lower values than 60 dB(A) :-(

    Does the mic in question have a voice activation feature? (If so, can you turn it off!)


    With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    "Science is about questioning the status quo. Questioning authority". The enemy of (IT) success is complexity.
    In the absence of evidence, opinion is indistinguishable from prejudice.
      No, it does not even have a CD or software shipped with the mic. I will move to the analoge schema now...
      I,m afriad not.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1175671]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (4)
As of 2024-04-20 00:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found