arduino-audio-tools
Loading...
Searching...
No Matches
Public Member Functions | Protected Attributes | List of all members
audio_tools::Maximilian Class Reference

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 (AudioBaseInfo 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.
 
void setVolume (float f)
 Defines the volume. The values are between 0.0 and 1.0.
 

Protected Attributes

int buffer_size =256
 
void(* callback )(maxi_float_t *channels)
 
AudioBaseInfo cfg
 
uint8_t * p_buffer =nullptr
 
Printp_sink =nullptr
 
float volume =1.0
 

Detailed Description

AudioTools integration with Maximilian.


The documentation for this class was generated from the following file: