Commit 02fd7d08 authored by Jacob Vosmaer's avatar Jacob Vosmaer

Use 5 voices

parent 231daf07
......@@ -24,7 +24,7 @@ struct {
.dac = {.channel = 6, .offset = 52, .scale = 8382}},
};
uint8_t voice_map[NUM_VOICES] = {4, 5, 6, 7};
uint8_t voice_map[NUM_VOICES] = {3, 4, 5, 6, 7};
struct gate *gate(uint8_t v) {
if (v >= NUM_VOICES) {
......
......@@ -5,7 +5,7 @@
enum { NUM_SEMITONES = 12 };
enum { NUM_VOICES = 4 }; // dual use: number of voices, but also the "not found"
enum { NUM_VOICES = 5 }; // dual use: number of voices, but also the "not found"
// or "empty" response
#define for_each_voice(var) for (uint8_t var = 0; var < NUM_VOICES; var++)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment