Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
paper_bits:pb702_midi_synth [2020/03/20 20:34] admin [PB702 MIDI Synthesizer] |
paper_bits:pb702_midi_synth [2020/06/11 22:13] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
===== PB702 MIDI Synthesizer ===== | ===== PB702 MIDI Synthesizer ===== | ||
- | 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.\\ | + | {{:paper_bits:pb702_midi_synth.jpg?600|}}\\ |
+ | |||
+ | The MIDI Synthesizer gives the possibility to connect your Paper Bits to any Midi Keyboard, such as the [[sound_boards:midi_keyboard|MIDI Keyboard]]. It is polyphonic up to six notes and has four different waveforms: square, triangle, saw tooth and sine.\\ | ||
It's basically an Arduino clone running a small program based on the wonderful [[http://sensorium.github.io/Mozzi/|Mozzi]] library.\\ | It's basically an Arduino clone running a small program based on the wonderful [[http://sensorium.github.io/Mozzi/|Mozzi]] library.\\ | ||
Line 55: | Line 57: | ||
---- | ---- | ||
==== Software ==== | ==== Software ==== | ||
+ | |||
+ | First of all one needs a bootloader on the Atmega chip. For burning the bootloader follow the [[avr_bootloader:avr_bootloader_main|AVR & Bootloader]] manual.\\ | ||
+ | For uploading the program one needs an USB to Serial adapter or an Arduino to mimic one: [[arduino_clones:serial_adapter|The Arduino as a Serial Adapter]]\\ | ||
+ | |||
=== Mozzi and MIDI === | === Mozzi and MIDI === | ||
Line 70: | Line 76: | ||
=== Mozzi Glitch === | === Mozzi Glitch === | ||
Unfortunately the latest version of Arduino is responsible for a timing glitch in the Mozzi library. Arduino changed the compiler from O2 to Os. Now the uploaded code is smaller but a timing problem appears, too. Here is an description about the problem here: | Unfortunately the latest version of Arduino is responsible for a timing glitch in the Mozzi library. Arduino changed the compiler from O2 to Os. Now the uploaded code is smaller but a timing problem appears, too. Here is an description about the problem here: | ||
- | [[https://www.instruc tables.com/id/Arduino-IDE-16x-compiler-optimisations-faster-code/]]\\ | + | [[https://www.instructables.com/id/Arduino-IDE-16x-compiler-optimisations-faster-code/]]\\ |
To fix the glitch one has to downgrade the compiler. Change in: arduino-x.x.x\hardware\arduino\avr\platform.txt the compiler from **-Os** into **-O2.**\\ | To fix the glitch one has to downgrade the compiler. Change in: arduino-x.x.x\hardware\arduino\avr\platform.txt the compiler from **-Os** into **-O2.**\\ | ||
Line 81: | Line 87: | ||
---- | ---- | ||
+ | ==== License ==== | ||
+ | The PB702 MIDI Synthesizer was designed by **Wolfgang Spahn**, 2017-20.\\ | ||
+ | It is licensed under a [[http://creativecommons.org/licenses/by-nc-sa/4.0/"|Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License]]. | ||
+ | |||
+ | <html> | ||
+ | <a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/4.0/"><img alt="Creative Commons License" style="border-width:0" src="https://i.creativecommons.org/l/by-nc-sa/4.0/88x31.png" /></a> | ||
+ | </html> | ||
+ | |||
+ | ---- | ||
+ |