Swadge 2024 2.0.0
APIs to develop games for the Magfest Swadge
Loading...
Searching...
No Matches
drums.h
Go to the documentation of this file.
1#pragma once
2#include "midiPlayer.h"
3
14int8_t defaultDrumkitFunc(percussionNote_t drum, uint32_t idx, bool* done, uint32_t scratch[4], void* data);
15
28int8_t donutDrumkitFunc(percussionNote_t drum, uint32_t idx, bool* done, uint32_t scratch[4], void* data);
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:513
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:192
percussionNote_t
Defines the MIDI note numbers mapped to by the General MIDI percussion note names.
Definition midiPlayer.h:158