Theremin Granular Sound Synthetizer (sort of).
*Adapted from Auduino, the Lo-Fi granular synthesiser
by Peter Knight, [Tinker.it](http://tinker.it)*
More about Granular Synthesis on [wikipedia](https://en.wikipedia.org/wiki/Granular_synthesis)
**Hardware:**
- Arduino Pro Mini board
- USBASP programmer
- 4 potentiometers and one infrared distance sensor are connected to Analog (0-5) pins on the Arduino board (real mapping must be determined)
- MIDI input using RxD signal form serial interface (making the serial interface and arduino bootloader not usable for programming)
- Audio output on Digital pin 3 (1-bit DAC/8-bits PWM/31.25kHz)
- one spin plate sensor from a hard drive motor + plates (unused)
- Amplifier + speaker module / housing
**Software:**
- Two voices granular Synthetizer
- Controls: Synchronization, and Freq (pitch) & Decay for each voice (5 controls)
**Sound mappings:**
- linear
- logarithmic
- major pentatonic
- pentatonic
- minor pentatonic
- major diatonic
- minor diatonic
Embed This Sketch
Use the following HTML code to embed the sketch code above in your blog or website.
<iframe style="height: 510px; width: 100%; margin: 10px 0 10px;" allowTransparency="true" src="https://codebender.cc/embed/sketch:355168" frameborder="0"></iframe>
Embed The Serial Monitor
You can also embed the Serial Monitor section! Just use this HTML code.
<iframe style="height: 510px; width: 100%; margin: 10px 0 10px;" allowTransparency="true" src="https://codebender.cc/embed/serialmonitor" frameborder="0"></iframe>