Pitch to MIDI
Ever
wanted to hum or whistle a tune and have a
complete orchestral sound backing you? Well this
project consists of the hardware and software to
implement a pitch to MIDI converter which
will allow the digital playing of MIDI data on a
MIDI synthesiser/module, controlled by any acoustic
instrument or voice via a microphone, or by a
guitar via an electromagnetic pick-up.
The Pitch to MIDI Unit utilizes:
- A Printed Circuit Board (PCB),
- A pre-programmed 16F877 PIC,
- A 4-way DIL switch to select MIDI channel 1-16, see
Table 1
- A 9 volt battery connector
- A MIDI 5-pin DIN output socket
- A screw terminal connector for an external 9-12 volts DC supply and associated power-on LED,
- Screw terminal connectors for connecting the external pre-amplifiers
The Pitch to MIDI Unit requires:
- A 9v battery or equivalent DC power source
- Associated pre-amplifier circuit
The Pitch to MIDI Facilities are:
- A pre-amplifier to amplify, rectify and convert a low-level microphone signal,
- The unit transmits on MIDI channel 1-16
- The midi velocity byte is dependent on the loudness of the applied
sound,
- The midi note on/off byte is dependent on the pitch/frequency of the applied
sound,
|
DIP Switch Selections |
MIDI Channel |
| 4 |
3 |
2 |
1 |
| on |
on |
on |
on |
1 |
| on |
on |
on |
off |
2 |
| on |
on |
off |
on |
3 |
| on |
on |
off |
off |
4 |
| on |
off |
on |
on |
5 |
| on |
off |
on |
off |
6 |
| on |
off |
off |
on |
7 |
| on |
off |
off |
off |
8 |
| off |
on |
on |
on |
9 |
| off |
on |
on |
off |
10 |
| off |
on |
off |
on |
11 |
| off |
on |
off |
off |
12 |
| off |
off |
on |
on |
13 |
| off |
off |
on |
off |
14 |
| off |
off |
off |
on |
15 |
| off |
off |
off |
off |
16 |
|
Table 1 MIDI Channel |
The Pitch to MIDI unit involves:
|