|
arduino-audio-tools
|
LED output using the R4 LED matrix library. More...
#include <LEDOutputUnoR4.h>
Public Member Functions | |
| LEDOutputUnoR4 ()=default | |
| Default Constructor. | |
| LEDOutputUnoR4 (FFTDisplay &fft) | |
| Constructor for FFT scenario. | |
| LEDOutputUnoR4 (VolumeMeter &vol) | |
| Constructor for VolumeMeter scenario. | |
| void | addColumnBar (int currY) |
| Update the last column with the indicated bar. | |
| bool | begin () |
| Starts the processing with the default configuration. | |
| bool | begin (LEDOutputUnoR4Config config) |
| Setup Led matrix. | |
| LEDOutputUnoR4Config & | config () |
| Provides access to the actual config object. E.g. to change the update logic. | |
| LEDOutputUnoR4Config | defaultConfig () |
| Provides the default config object. | |
| void | display () |
| Update the led_matrix. | |
| FFTDisplay & | fftDisplay () |
| Provides access to the FFTDisplay object. | |
| virtual float | getMaxMagnitude () |
| Provodes the max magnitude for the VolumeMeter and FFT scenario. | |
| bool & | ledXY (uint8_t x, uint8_t y) |
| Determine the led with the help of the x and y pos. | |
| void | setColumnBar (int x, int currY) |
| Update the indicated column with the indicated bar. | |
| virtual void | update () |
| Updates the display by calling the update callback method: call this method in your loop. | |
Protected Member Functions | |
| void | addEmptyColumn () |
| Adds an empty column to the end shifting the content to the left. | |
Protected Attributes | |
| LEDOutputUnoR4Config | cfg |
| uint64_t | count = 0 |
| Vector< bool > | frame {0} |
| ArduinoLEDMatrix | led_matrix |
| int | max_column = -1 |
| FFTDisplay * | p_fft = nullptr |
| VolumeMeter * | p_vol = nullptr |
Friends | |
| class | AudioFFTBase |
LED output using the R4 LED matrix library.
|
default |
Default Constructor.
|
inline |
Constructor for FFT scenario.
| fft |
|
inline |
Constructor for VolumeMeter scenario.
| vol |
|
inlineprotected |
Adds an empty column to the end shifting the content to the left.
|
inline |
Starts the processing with the default configuration.
|
inline |
Setup Led matrix.
|
inline |
Provides access to the actual config object. E.g. to change the update logic.
|
inline |
Provides the default config object.
|
inline |
Update the led_matrix.
|
inline |
Provides access to the FFTDisplay object.
Provodes the max magnitude for the VolumeMeter and FFT scenario.
Updates the display by calling the update callback method: call this method in your loop.
|
friend |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |