View Code? Open in Web Editor
NEW
This project forked from roboschmied/mihdi
Touchless sound generator. MIDI device that outputs notes (relative to distance) over USB to synthesizer.
Shell 2.52%
C++ 84.81%
C 12.68%
midi-usb's Introduction
MihDi - touchless sound generator
- MIDI device that outputs notes (relative to distance) over USB to synthesizer or other sound engines.
- confirmed working on
- powered over USB
- enhanced accuracy and frequency in distance measurement utilizing interrupt routines
- created in summer 2017
![image of MihDi System](docs/MihDi01.jpg)
- 1 Arduino pro micro (microprocessor board)
- 1 US-015 (ultra sonic distance sensor)
- 6 Potentiometer 10kOhm (change settings)
- 3 2-state-Switches (change settings)
- 4 LED 5V (show status and frequency)
- 1 (micro)-USB cable (connect to synthesizer or programmer)
Pin |
Device |
Usage |
D2 |
ECHO US-015 |
distance sensor receives ultrasonic pulse echo |
D3 |
TRIG US-015 |
trigger distance sensor to send ultrasonic pulse |
D5 |
Switch1 |
hold or repeat note on same distance |
D9 |
Switch3 |
set/unset a minimal distance you need to move to produce a new note |
D14 |
LED1 |
show frequency of distance measurement |
D15 |
Switch2 |
change output range between half notes and all notes |
D16 |
LED2 |
light on sound output |
|
|
|
A0 |
Pot1 |
volume |
A1 |
Pot2 |
distance max (1-7 meter) |
A2 |
Pot3 |
sound duration |
A3 |
Pot4 |
frequency |
A6 |
Pot5 |
note height near |
A7 |
Pot6 |
note height far |
5V |
LED3,4 |
show power state |
- MIDI output channel is
1
, you can change it in code.
- Coding style is not state of the art, feel free to clean it up.
- You can ask about the project at
MihDi[at]roboschmie.de
- Report Bugs and Issues
midi-usb's People
Contributors