Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixing examples.c's algo_source use #136

Merged
merged 1 commit into from
Jul 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading