diff options
-rw-r--r-- | examples/seq.c | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/examples/seq.c b/examples/seq.c index 492c53b..76d3cf9 100644 --- a/examples/seq.c +++ b/examples/seq.c @@ -148,6 +148,12 @@ int main(int argc, char **argv) { { { 11, 0 }, 42, 220, XAS_SYNTH_SINE, XAS_SYNTH_SINE }, { { 13, 0 }, 210, 69, XAS_SYNTH_SINE, XAS_SYNTH_SINE }, { { 0, 0 }, 0, 0, XAS_SYNTH_SINE, XAS_SYNTH_SINE } + }, ending[] = { + { { 5, 0 }, 69, 210, XAS_SYNTH_SINE, XAS_SYNTH_SINE }, + { { 3, 0 }, 200, 69, XAS_SYNTH_SINE, XAS_SYNTH_SINE }, + { { 4, 0 }, 42, 220, XAS_SYNTH_SINE, XAS_SYNTH_SINE }, + { { 3, 0 }, 210, 69, XAS_SYNTH_SINE, XAS_SYNTH_SINE }, + { { 0, 0 }, 0, 0, XAS_SYNTH_SINE, XAS_SYNTH_SINE } }; struct sequence sequences[] = { @@ -263,10 +269,10 @@ int main(int argc, char **argv) { } if (xas_drone_chamber_seq_intervals(chamber, - sequences[3].intervals, - seq, - 8, - &cur) < 0) { + ending, + seq, + 4, + &cur) < 0) { goto error_seq; } |