|
Swadge ESP32-S2
2.0.0
APIs to develop for the Magfest Swadge
|
Data Fields | |
| struct { | |
| uint16_t | waveIndex |
| The index of this timbre's wave in the table, when type is WAVETABLE. | |
| waveFunc_t | waveFunc |
| The function to use to retrieve wavetable samples. | |
| } | |
| timbreSample_t | sample |
| struct { | |
| const noteSampleMap_t * | map |
| A map of different samples to use. | |
| size_t | count |
| The length of the sample map. | |
| } | multiSample |
| struct { | |
| percussionFunc_t | func |
| A callback to call for drum data. | |
| void * | data |
| User data to pass to the drumkit. | |
| } | playFunc |
| oscillatorShape_t | shape |
| The shape of this wave, when type is RAW_WAVE. | |
The shape of this wave, when type is RAW_WAVE.