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

Ok. I know you didn't want feedback on the mic, but I waited all day patiently until answers were provided, and being someone who records vocals and mixes tracks, I'm going to speak.

I understand what you're trying to do, but as you may know, you'd be better off with a dB sound sensor module along with an ADC (Analog to Digital Converter), you can get this working very reliably with pretty accurate results on a Raspberry Pi. If you use an Arduino board, it has no problem with analog signals, so you don't need the ADC (but then, you wouldn't be able to use Perl...).

Because it would connect to the GPIO (SPI) and not via USB, you'd need a Perl library that can manage that. A search through the CPAN should turn up a few libraries to at least get started.

This info isn't here to chastise. It's here in case anyone in the future that is using Perl wants to do the same thing you want to do.

disclaimer: I've never done this with my Pi (I know others who have though), but I have several ADCs, so I think I'm going to test this out to satisfy my own curiosity.

  • Comment on Re: Measuring the sound level (dB(A)) with PERL

Replies are listed 'Best First'.
Re^2: Measuring the sound level (dB(A)) with PERL
by John-Robie (Novice) on Nov 10, 2016 at 11:44 UTC

    If we talk about a comparison between analog mics and USB mics this if ok for me - I just didn’t want to go into a "You must use class A microphones" debate, because they are quite expensive (> 1500 EUR).

    With the hint "use analog mics" you made a very good point! I will have some tests on the given USB mic now and will get back with the results…

      I'm glad my post wasn't taken wrong. If you ever want to get deeper than what you're doing, feel free to send me a /msg stevieb and I'd be glad to play around.