Class daisy::DaisyField¶
ClassList > daisy > DaisyField
Public Types¶
Type | Name |
---|---|
enum | DaisyField |
enum | DaisyField |
enum | DaisyField |
enum | DaisyField |
Public Attributes¶
Public Functions¶
Public Types Documentation¶
enum @ [¼]¶
This enum is anonymous
enums for controls, etc.
enum @ [2/4]¶
This enum is anonymous
All knobs connect to Daisy Seed's ADC1 pin via CD4051 mux Knobs are in order that they are laid out on hardware.
enum @ [¾]¶
This enum is anonymous
enum @ [4/4]¶
This enum is anonymous
enum {
LED_KEY_B1,
LED_KEY_B2,
LED_KEY_B3,
LED_KEY_B4,
LED_KEY_B5,
LED_KEY_B6,
LED_KEY_B7,
LED_KEY_B8,
LED_KEY_A8,
LED_KEY_A7,
LED_KEY_A6,
LED_KEY_A5,
LED_KEY_A4,
LED_KEY_A3,
LED_KEY_A2,
LED_KEY_A1,
LED_KNOB_1,
LED_KNOB_2,
LED_KNOB_3,
LED_KNOB_4,
LED_KNOB_5,
LED_KNOB_6,
LED_KNOB_7,
LED_KNOB_8,
LED_SW_1,
LED_SW_2,
LED_LAST,
};
Public Attributes Documentation¶
variable cv¶
variable display¶
variable gate_in¶
variable gate_out¶
variable knob¶
variable led_driver¶
variable midi¶
variable seed¶
variable sw¶
Public Functions Documentation¶
function AudioBlockSize¶
Returns the number of samples per channel in a block of audio.
function AudioCallbackRate¶
Returns the rate in Hz that the Audio callback is called
function AudioSampleRate¶
Returns the audio sample rate in Hz as a floating point number.
function ChangeAudioCallback [½]¶
Switch callback functions
Parameters:
cb
New interleaved callback function.
function ChangeAudioCallback [2/2]¶
Switch callback functions
Parameters:
cb
New multichannel callback function.
function DaisyField¶
function DelayMs¶
Wait some ms before going on.
Parameters:
del
Delay time in ms.
function GetCv¶
Getter for CV objects.
Parameters:
idx
The CV input of interest.
function GetCvValue¶
Returns the CV input's value
Parameters:
idx
The CV input of interest.
function GetKnob¶
Getter for knob objects
Parameters:
idx
The knob input of interest.
function GetKnobValue¶
Returns the knob's value
Parameters:
idx
The knob of interest.
function GetSwitch¶
Getter for switch objects
Parameters:
idx
The switch of interest.
function Init¶
Initializes the Daisy Field, and all of its hardware.
function KeyboardFallingEdge¶
Returns true if the key has just been released
Parameters:
idx
the key of interest
function KeyboardRisingEdge¶
Returns true if the key has just been pressed
Parameters:
idx
the key of interest
function KeyboardState¶
Returns true if the key has not been pressed recently
Parameters:
idx
the key of interest
function ProcessAllControls¶
Process Analog and Digital Controls
function ProcessAnalogControls¶
Processes the ADC inputs, updating their values
function ProcessDigitalControls¶
Process tactile switches and keyboard states
function SetAudioBlockSize¶
Sets the number of samples processed per channel by the audio callback.
function SetAudioSampleRate¶
Updates the Audio Sample Rate, and reinitializes. Audio must be stopped for this to work.
function SetCvOut1¶
Sets the output of CV out 1 to a value between 0-4095 that corresponds to 0-5V
function SetCvOut2¶
Sets the output of CV out 2 to a value between 0-4095 that corresponds to 0-5V
function StartAdc¶
Starts Transfering data from the ADC
function StartAudio [½]¶
Starts the callback
Parameters:
cb
Interleaved callback function
function StartAudio [2/2]¶
Starts the callback
Parameters:
cb
multichannel callback function
function StartDac¶
Turns on the built-in 12-bit DAC on the Daisy Seed This is now deprecated and does nothing. The polling use of the DACs now handles starting the tranmission.
function StopAdc¶
Stops Transfering data from the ADC
function StopAudio¶
Stops the audio if it is running.
function VegasMode¶
Light show, cycling through all LEDs, and OLED
function ~DaisyField¶
The documentation for this class was generated from the following file external-docs/libDaisy/src/daisy_field.h