voice.h 229 Bytes
Newer Older
Jacob Vosmaer's avatar
Jacob Vosmaer committed
1 2 3 4 5 6 7 8 9 10 11 12 13
#ifndef voice_h
#define voice_h

#include <inttypes.h>

enum _voices {
	VOICE1,
	VOICE2,
	VOICE3,
	VOICE4,
	NUM_VOICES,
};

14 15 16
void voice_init(void);
uint8_t voice_acquire(uint8_t note);
uint8_t voice_release(uint8_t note);
Jacob Vosmaer's avatar
Jacob Vosmaer committed
17 18

#endif