| commit | 1ef9cf16288789c54a65a772e6f694b8e6ae64b7 | [log] [tgz] |
|---|---|---|
| author | Phil Howard <phil@gadgetoid.com> | Mon Sep 13 16:39:45 2021 +0100 |
| committer | Phil Howard <phil@gadgetoid.com> | Mon Sep 13 16:39:45 2021 +0100 |
| tree | 8b0d4ab9dea611a0f580f3b0455790771debe6fa | |
| parent | bc6fa8911fcb39dcfd100f352e2d193b7eff7e6b [diff] |
piano: add square wave for PicoSystem beepy audio
diff --git a/examples/piano/piano.cpp b/examples/piano/piano.cpp index 8df5994..f39396a 100644 --- a/examples/piano/piano.cpp +++ b/examples/piano/piano.cpp
@@ -36,7 +36,7 @@ // configure voices // melody track - channels[0].waveforms = Waveform::TRIANGLE; + channels[0].waveforms = Waveform::SQUARE; channels[0].attack_ms = 10; channels[0].decay_ms = 350; channels[0].sustain = 0;