|
C++ DevKit
C++ set of OOP library
|
The MSGEQ7 is an 7-band audio filter. More...
#include <msgeq7.h>

Public Member Functions | |
| MSGEQ7 (uint strobe_gpio, uint reset_gpio, uint signal_out) | |
| Construct a new MSGEQ7 object. | |
| ~MSGEQ7 () | |
| Destroy the MSGEQ7 object. | |
| std::array< uint16_t, 7 > | get_spectrum () |
| Get the spectrum object. | |
The MSGEQ7 is an 7-band audio filter.
The band frequencies are centered around: 63Hz, 160Hz, 400Hz, 1000Hz, 2500Hz, 6250Hz, 16000Hz. After a pulse on "reset_gpio" pin, a peak detector for each band is multiplexed on the pin "signal_out" at each pulse on pin "strobe_gpio".
| MSGEQ7::MSGEQ7 | ( | uint | strobe_gpio, |
| uint | reset_gpio, | ||
| uint | signal_out ) |
Construct a new MSGEQ7 object.
| strobe_gpio | the gpio connected to strobe |
| reset_gpio | the gpio connected to reset |
| signal_out | the gpio connected to the analog multiplexed peak detector |
| std::array< uint16_t, 7 > MSGEQ7::get_spectrum | ( | ) |
Get the spectrum object.