Skip to content

Commit

Permalink
fixing examples.c's algo_source use
Browse files Browse the repository at this point in the history
  • Loading branch information
bwhitman committed Jul 12, 2024
1 parent a714b3a commit ecbd754
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/amy-example.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
2 changes: 1 addition & 1 deletion src/examples.c
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit ecbd754

Please sign in to comment.