Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
paper_bits:pb702_midi_synth [2020/03/20 16:35] admin [Parts] |
paper_bits:pb702_midi_synth [2020/03/20 16:47] admin [Software] |
||
---|---|---|---|
Line 60: | Line 60: | ||
---- | ---- | ||
==== Software ==== | ==== Software ==== | ||
+ | |||
+ | The synthesizer program is based on the [[https://sensorium.github.io/Mozzi/|Mozzi Library]], have a look at the [[https://sensorium.github.io/Mozzi/doc/html/index.html|Mozzi Dokumentation]] to learn more about it.\\ | ||
+ | For the installation download the [[https://sensorium.github.io/Mozzi/download/|library]]\\ | ||
+ | and install it like described here: [[https://www.arduino.cc/en/Guide/Libraries#toc4]]\\ | ||
+ | |||
+ | Unfortunately there is nowadays a glitch in the Mozzi library. Arduino change the compiler. Now the uploaded code is smaller but a timing problem appeared, too. Here is an description about the problem. | ||
+ | [[https://www.instructables.com/id/Arduino-IDE-16x-compiler-optimisations-faster-code/]]\\ | ||
+ | |||
+ | To fix the glitch follow these steps:\\ | ||
+ | **In: arduino-x.x.x\hardware\arduino\avr\platform.txt change -O2 to -Os.**\\ | ||
+ | [[https://sensorium.github.io/Mozzi/fixes/updates/howto-for-arduino-1-dot-6-11/]]\\ | ||
+ | \\ | ||
+ | |||
+ | Code:\\ | ||
{{ :paper_bits:mozzi_midi_poli_12_1sec_limit.zip |}}\\ | {{ :paper_bits:mozzi_midi_poli_12_1sec_limit.zip |}}\\ | ||
---- | ---- |