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
Previous revision
Next revision Both sides next revision
paper_bits:pb702_midi_synth [2019/11/01 09:34]
admin
paper_bits:pb702_midi_synth [2020/03/20 16:44]
admin [Software]
Line 1: Line 1:
 ===== PB702 MIDI Synthesizer ===== ===== PB702 MIDI Synthesizer =====
  
-The MIDI Synthesizer gives the possiblility ​to connect your Paper Bits to your Keyboard. It is polyphonic up to six notes and has three different waveforms: square, triangle and sine.\\ +The MIDI Synthesizer gives the possibility ​to connect your Paper Bits to a Midi Keyboard ​like the[[sound_boards:​midi_keyboard|MIDI Keyboard]]. It is polyphonic up to six notes and has three different waveforms: square, triangle and sine.\\ 
-It'​s ​basicaly ​an Arduino ​klone running a small program based on the wonderfull ​[[http://​sensorium.github.io/​Mozzi/​|Mozzi]] ​librarie.\\+It'​s ​basically ​an Arduino ​clone running a small program based on the wonderful ​[[http://​sensorium.github.io/​Mozzi/​|Mozzi]] ​library.\\
  
 For burning the bootloader look here:\\ For burning the bootloader look here:\\
Line 25: Line 25:
   * 1x 3.3 KOhm   * 1x 3.3 KOhm
   * 1x 3.9 KOhm   * 1x 3.9 KOhm
-  * 1x 8.2 KOhm+  * 2x 8.2 KOhm
   * 1x 10 KOhm   * 1x 10 KOhm
-  * 1x 47 KOhm+  * 2x 47 KOhm
   * 1x 100 KOhm   * 1x 100 KOhm
   * 1x 220 KOhm   * 1x 220 KOhm
Line 34: Line 34:
   * 2x 22 pF   * 2x 22 pF
   * 2x 1 nF   * 2x 1 nF
 +  * 1x 4.7 nF
   * 3x 100 nF   * 3x 100 nF
   * 1x 150 nF   * 1x 150 nF
Line 59: 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 library: [[https://​sensorium.github.io/​Mozzi/​download/​]]\\
 +And install ZIP library like described here: [[https://​www.arduino.cc/​en/​Guide/​Libraries#​toc4]]\\
 +
 +Unfortunately there is a glitch in Mozzi. Arduino change he compiler so the uploaded code is smaller now, but also a timing problem appeared. 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/​]]\\
 +Here is an explanation about the problem.
 +[[https://​www.instructables.com/​id/​Arduino-IDE-16x-compiler-optimisations-faster-code/​]]\\
 +\\
 +
 +Code:\\
 {{ :​paper_bits:​mozzi_midi_poli_12_1sec_limit.zip |}}\\ {{ :​paper_bits:​mozzi_midi_poli_12_1sec_limit.zip |}}\\
  
 ---- ----