|
uMIDI
The swiss army knife for quick and easy developement of MIDI applications.
|
Expression pedal API. More...
#include <stdint.h>

Go to the source code of this file.
Macros | |
| #define | MIDI_NOTE_ENABLE_WAH 42 |
| The MIDI note that represents uMIDI wah's enable / bypass state. More... | |
Functions | |
| bool | exec_cal (const char *command) |
| Handler for the serial command 'cal'. More... | |
| bool | exec_echo (const char *command) |
| Handler for the serial command 'echo'. More... | |
| bool | exec_mute (const char *command) |
| Handler for the serial command 'mute'. More... | |
| void | handle_enable_switch (void) |
| A background task that handles the enable switch. More... | |
| void | init_expression_module (void) |
| Initializes the expression module. More... | |
| void | update_expression_value (uint16_t new_value) |
| Updates the stored expression value. More... | |
| void | trigger_expression_conversion (void) |
| Triggers an ADC conversion of the expression pedal input. More... | |
Expression pedal API.
| #define MIDI_NOTE_ENABLE_WAH 42 |
The MIDI note that represents uMIDI wah's enable / bypass state.
| bool exec_cal | ( | const char * | command | ) |
Handler for the serial command 'cal'.
| bool exec_echo | ( | const char * | command | ) |
Handler for the serial command 'echo'.
| bool exec_mute | ( | const char * | command | ) |
Handler for the serial command 'mute'.
| void handle_enable_switch | ( | void | ) |
A background task that handles the enable switch.
This task polls the enable switch input. If the input changed, a MIDI note on / off message is transmitted.
| void init_expression_module | ( | void | ) |
Initializes the expression module.
Reads calibration values from EEPROM.
| void trigger_expression_conversion | ( | void | ) |
Triggers an ADC conversion of the expression pedal input.
| void update_expression_value | ( | uint16_t | new_value | ) |
Updates the stored expression value.
If the value changed, the new value is sent as a MIDI control change message for controller #69 (Waldorf Blofeld's F1 Cutoff).
1.8.13