Commit f68f0c42 authored by Jacob Vosmaer's avatar Jacob Vosmaer

Rename gate_on{,_legato}

parent 32aa7df8
......@@ -3,7 +3,7 @@
#include "gate.h"
void
gate_on(uint8_t v)
gate_on_legato(uint8_t v)
{
if (v > NUM_VOICES) {
return;
......
......@@ -3,7 +3,7 @@
#include <stdint.h>
void gate_on(uint8_t voice);
void gate_on_legato(uint8_t voice);
void gate_off(uint8_t voice);
#endif
......@@ -138,7 +138,7 @@ mono_update_gate(uint8_t delta)
gate_countdown = 0;
for_each_voice(v) {
gate_on(v);
gate_on_legato(v);
}
}
......
......@@ -32,7 +32,7 @@ poly_note_on(uint8_t note)
}
poly_set_pitch(v, note);
gate_on(v);
gate_on_legato(v);
notes[v] = note;
}
......
......@@ -84,7 +84,7 @@ poly2_update_playing(void)
}
poly2_set_pitch(v, j);
gate_on(v);
gate_on_legato(v);
playing[v] = j;
l_delete(avail, v);
}
......
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