Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
paper_bits:pb702_midi_synth [2020/03/20 19:54]
admin [Software]
paper_bits:pb702_midi_synth [2020/03/20 20:03]
admin [Software]
Line 61: Line 61:
 ==== Software ==== ==== Software ====
  
 +=== Mozzi ===
 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.\\ 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]]\\ 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]]\\ and install it like described here: [[https://​www.arduino.cc/​en/​Guide/​Libraries#​toc4]]\\
  
-There are differen ​mode for Mozzi. The MIDI Synth needs the AUDIO_MODE ​HIFI. To change that open in .../libraies/Mozzi_102 the mozzi_config.h file and comment the AUDIO_MODE STANDARD and comment out the AUDIO_MODE HIFI. It should look like that:\\+=== Mozzi Mode === 
 +There are three different ​mode for the Mozzi library. The MIDI Synth needs the HIFI mode. To change that open in ...sketchbook/libraries/Mozzi_102 the mozzi_config.h file and comment ​out the AUDIO_MODE STANDARD and uncomment ​the AUDIO_MODE HIFI. It should look like that:\\
  
    //#​define AUDIO_MODE STANDARD    //#​define AUDIO_MODE STANDARD
    //#​define AUDIO_MODE STANDARD_PLUS    //#​define AUDIO_MODE STANDARD_PLUS
    #​define AUDIO_MODE HIFI    #​define AUDIO_MODE HIFI
 +then save the file.
  
 +=== Mozzi Glitch ===
 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. 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/​]]\\ [[https://​www.instructables.com/​id/​Arduino-IDE-16x-compiler-optimisations-faster-code/​]]\\
Line 80: Line 83:
 \\ \\
  
 +=== Code ===
 Upload that code to your board (Arduino UNO):\\ Upload that code to your board (Arduino UNO):\\
 {{ :​paper_bits:​mozzi_midi_poli_12_1sec_limit.zip |}}\\ {{ :​paper_bits:​mozzi_midi_poli_12_1sec_limit.zip |}}\\