Swadge ESP32-S2
APIs to develop for the Magfest Swadge
Toggle main menu visibility
Loading...
Searching...
No Matches
drums.h
Go to the documentation of this file.
1
#pragma once
2
#include "
midiPlayer.h
"
3
14
int8_t
defaultDrumkitFunc
(
percussionNote_t
drum, uint32_t idx,
bool
* done, uint32_t scratch[4],
void
* data);
15
28
int8_t
donutDrumkitFunc
(
percussionNote_t
drum, uint32_t idx,
bool
* done, uint32_t scratch[4],
void
* data);
29
30
const
char
*
getDrumName
(
percussionNote_t
n);
31
32
#ifdef BAKE_DRUMS
33
void
bakeDrums(
void
);
34
#endif
getDrumName
const char * getDrumName(percussionNote_t n)
Definition
drums.c:14
donutDrumkitFunc
int8_t donutDrumkitFunc(percussionNote_t drum, uint32_t idx, bool *done, uint32_t scratch[4], void *data)
Produces sounds for the drumkit that was included on the King Donut synth swadge.
Definition
drums.c:620
defaultDrumkitFunc
int8_t defaultDrumkitFunc(percussionNote_t drum, uint32_t idx, bool *done, uint32_t scratch[4], void *data)
Produces sounds for a standard drumkit according to the General MIDI standard.
Definition
drums.c:265
midiPlayer.h
percussionNote_t
percussionNote_t
Defines the MIDI note numbers mapped to by the General MIDI percussion note names.
Definition
midiPlayer.h:195
main
utils
midi
drums.h
Generated by
1.17.0