main/alles.c
struct event default_event() {
    struct event e;
    e.status = EMPTY;
    e.time = 0;
    e.voice = 0;
    e.step = 0;
    e.substep = 0;
    e.sample = DOWN;
    e.patch = -1;
    e.wave = -1;
    e.phase = -1;
    e.duty = -1;
    e.feedback = -1;
    e.velocity = -1;
    e.midi_note = -1;
    e.amp = 1;
    e.freq = -1;
    e.volume = -1;
    e.filter_freq = -1;
    e.resonance = -1;

    e.lfo_source = -1;
    e.lfo_target = -1;
    e.adsr_target = -1;
    e.adsr_on_clock = -1;
    e.adsr_off_clock = -1;
    e.adsr_a = -1;
    e.adsr_d = -1;
    e.adsr_s = -1;
    e.adsr_r = -1;

    return e;
}
// Create a new default event -- mostly -1 or no change
Create a new default event -- mostly -1 or no change
Create a new default event -- mostly - 1 or no change
struct event default_event() {
    struct event e;
    e.status = EMPTY;
    e.time = 0;
    e.voice = 0;
    e.step = 0;
    e.substep = 0;
    e.sample = DOWN;
    e.patch = -1;
    e.wave = -1;
    e.phase = -1;
    e.duty = -1;
    e.feedback = -1;
    e.velocity = -1;
    e.midi_note = -1;
    e.amp = 1;
    e.freq = -1;
    e.volume = -1;
    e.filter_freq = -1;
    e.resonance = -1;
    e.lfo_source = -1;
    e.lfo_target = -1;
    e.adsr_target = -1;
    e.adsr_on_clock = -1;
    e.adsr_off_clock = -1;
    e.adsr_a = -1;
    e.adsr_d = -1;
    e.adsr_s = -1;
    e.adsr_r = -1;
    return e;
}
struct event default_event ( ) { struct event e ; e . status = EMPTY ; e . time = 0 ; e . voice = 0 ; e . step = 0 ; e . substep = 0 ; e . sample = DOWN ; e . patch = -1 ; e . wave = -1 ; e . phase = -1 ; e . duty = -1 ; e . feedback = -1 ; e . velocity = -1 ; e . midi_note = -1 ; e . amp = 1 ; e . freq = -1 ; e . volume = -1 ; e . filter_freq = -1 ; e . resonance = -1 ; e . lfo_source = -1 ; e . lfo_target = -1 ; e . adsr_target = -1 ; e . adsr_on_clock = -1 ; e . adsr_off_clock = -1 ; e . adsr_a = -1 ; e . adsr_d = -1 ; e . adsr_s = -1 ; e . adsr_r = -1 ; return e ; }
Create a new default event -- mostly -1 or no change
Create a new default event -- mostly - 1 or no change