arduino-audio-tools
|
AudioTools integration with Maximilian. More...
#include <MaximilianDSP.h>
Public Member Functions | |
Maximilian (Print &out, int bufferSize=DEFAULT_BUFFER_SIZE, void(*callback)(maxi_float_t *channels)=play) | |
void | begin (AudioInfo cfg) |
Setup Maximilian with audio parameters. | |
void | copy () |
Copies the audio data from maximilian to the audio sink, Call this method from the Arduino Loop. | |
bool | setVolume (float f) override |
Defines the volume. The values are between 0.0 and 1.0. | |
virtual float | volume () |
provides the actual volume in the range of 0.0f to 1.0f | |
Protected Attributes | |
Vector< uint8_t > | buffer |
int | buffer_size =256 |
void(* | callback )(maxi_float_t *channels) |
AudioInfo | cfg |
Print * | p_sink =nullptr |
float | volume_value = 1.0f |
AudioTools integration with Maximilian.