From ecbd7540a61df10e05b4f0c77eea0ef97d66a61f Mon Sep 17 00:00:00 2001 From: Brian Whitman Date: Fri, 12 Jul 2024 11:13:30 -0700 Subject: [PATCH] fixing examples.c's algo_source use --- src/amy-example.c | 4 ++-- src/examples.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/amy-example.c b/src/amy-example.c index 2e6c433..eaabd3e 100644 --- a/src/amy-example.c +++ b/src/amy-example.c @@ -79,9 +79,9 @@ int main(int argc, char ** argv) { amy_reset_oscs(); - example_voice_chord(0, 128); + //example_voice_chord(0, 128); //example_drums(0, 4); - //example_fm(0); + example_fm(0); // Now just spin for 10s while(amy_sysclock() - start < 5000) { diff --git a/src/examples.c b/src/examples.c index 380f440..81e471b 100644 --- a/src/examples.c +++ b/src/examples.c @@ -310,7 +310,7 @@ void example_fm(uint32_t start) { e.osc = 2; e.wave = ALGO; e.algorithm = 1; // algo 1 has op 2 driving op 1 driving output (plus a second chain for ops 6,5,4,3). - strcpy(e.algo_source, "-1,-1,-1,-1,1,0"); + strcpy(e.algo_source, ",,,,1,0"); amy_add_event(e); // Add a note on event.