## Audio: Sound Level Meter. 2 years 3 months ago #1871

• Ray
• Moderator
• Posts: 702
• Karma: 44
This code was originally written by openmusiclabs.com , all credit to them, they deserve it.
The program has parts coded in assembly, which makes it a bit difficult to understand.

The main idea is to read the A0 analog value and represent the level of the audio signal using bars. The code makes the FFT of the input signal and then averages the value.
• If the signal is too weak or too strong, you can adjust the level using the gain potentiometer.
• You can change the intensity of the light changing the line
lc.setIntensity(i, 10); // 15 = brightest
• I have included all the libraries in the same folder so you don't need to install them. Just unzip and compile!

Hope you like it:

#### File Attachment:

File Name: Level_Meter_With_Bars.zip
File Size: 588 KB

Time to create page: 0.217 seconds
Joomla SEF URLs by Artio