43 void Init(
bool boost =
false);
118 void SetLed(
size_t idx,
float red,
float green,
float blue);
139 void SetHidUpdateRates();
Hardware Interface for control inputs Primarily designed for ADC input controls such as potentiomet...
Definition ctrl.h:18
void(* AudioCallback)(InputBuffer in, OutputBuffer out, size_t size)
Definition audio.h:65
void(* InterleavingAudioCallback)(InterleavingInputBuffer in, InterleavingOutputBuffer out, size_t size)
Definition audio.h:83
Class that handles initializing all of the hardware specific to the Virt Iter Legio hardware....
Definition daisy_legio.h:14
LEGIO_LEDS
Definition daisy_legio.h:18
@ LED_LEFT
Definition daisy_legio.h:19
@ LED_RIGHT
Definition daisy_legio.h:20
@ LED_LAST
Definition daisy_legio.h:21
float GetKnobValue(int idx)
void ProcessDigitalControls()
LEGIO_CONTROLS
Definition daisy_legio.h:25
@ CONTROL_KNOB_BOTTOM
Definition daisy_legio.h:28
@ CONTROL_KNOB_TOP
Definition daisy_legio.h:27
@ CONTROL_PITCH
Definition daisy_legio.h:26
@ CONTROL_LAST
Definition daisy_legio.h:29
RgbLed leds[LED_LAST]
Definition daisy_legio.h:134
void SetLed(size_t idx, float red, float green, float blue)
Encoder encoder
Definition daisy_legio.h:132
Switch3 sw[SW_LAST]
Definition daisy_legio.h:136
void SetAudioBlockSize(size_t size)
void ChangeAudioCallback(AudioHandle::InterleavingAudioCallback cb)
void SetAudioSampleRate(SaiHandle::Config::SampleRate samplerate)
void Init(bool boost=false)
float AudioCallbackRate()
void ChangeAudioCallback(AudioHandle::AudioCallback cb)
void StartAudio(AudioHandle::InterleavingAudioCallback cb)
AnalogControl controls[CONTROL_LAST]
Definition daisy_legio.h:135
LEGIO_TOGGLE3
Definition daisy_legio.h:33
@ SW_LEFT
Definition daisy_legio.h:34
@ SW_RIGHT
Definition daisy_legio.h:35
@ SW_LAST
Definition daisy_legio.h:36
DaisySeed seed
Definition daisy_legio.h:131
~DaisyLegio()
Definition daisy_legio.h:40
DaisyLegio()
Definition daisy_legio.h:39
void StartAudio(AudioHandle::AudioCallback cb)
void ProcessAnalogControls()
void ProcessAllControls()
Definition daisy_legio.h:108
GateIn gate
Definition daisy_legio.h:133
This is the higher-level interface for the Daisy board. All basic peripheral configuration/initiali...
Definition daisy_seed.h:19
Generic Class for handling Quadrature Encoders Inspired/influenced by Mutable Instruments (pichenet...
Definition encoder.h:18
Generic Class for handling gate inputs through GPIO.
Definition gatein.h:15
Hardware defines and helpers for daisy field platform.
Definition index.h:2
SampleRate
Definition sai.h:58