This is a
MIDI wind controller. The Trumpet interface
design uses a pressure sensor, suitable
amplifier and 5 switches to produce an
output which is translated into velocity
sensitive MIDI Note ON data. The mapping
of the 5 switches (representing the
trumpet valves) is available. The breath
pressure sensor should have the full voltage range
(0-5V) to use for volume. Other switch
mapping settings are available on request.
The MIDI Channel can be selected with a 4-way DIP switch.
 |
MIDI TRUMPET ITEM#: MIDITRUMPET
PRICE: €35.00
|
| |
The MIDI Trumpet interface utilizes:
- A Miduino kit including a
suitable pre-programmed Atmega168,
- A 2.1mm power socket, and associated LED,
- A 4-way DIP switch, which selects the MIDI channel, shown
in table 1
- A MIDI 5-pin DIN output socket,
- A MIDI activity associated LED,
- 5 off 0.1" pin-terminal switch inputs,
- The circuit schematic is available,
The MIDI Trumpet interface requires:
- A 9 Volt battery or equivalent 9 Volt DC power source,
- 5 momentary action (SPST) switches,
- A Breath pressure sensor plus interface amplifier
Circuit Schematic:
A circuit schematic of the
MIDI Trumpet interface shows the Input Switch connections.
You can obtain a separate Breath pressure sensor
and build an interface amplifier.
This is the breath pressure sensor used in
the Akai Electronic Wind Instrument
(EWI).
Assembly:
The kit
includes all parts necessary, the assembly is straightforward and
well documented.
MIDI Wiring:
The MIDI OUT connection use 5-Pin 180 degree DIN
sockets. Note that the MIDI IN/OUT wiring
is polarised and the correct pins should be used.
Programming:
Note, because the MIDI IN Opto-coupler shares the same serial
input as the USB interface, when programming the Miduino the
MIDI IN connection has to be disconnected. This design does not include a USB chip, it is
designed to use a FTDI
USB 232-TTL cable to program the microcontroller. However since the cable plugs
directly into
the Miduino, you can use one cable for multiple Miduinos.
Download:
Open the source
code file and copy and paste it into the Arduino programme and
save it as a .PDE file. The MIDI Start Note, ON threshold, OFF
threshold and delay time are all defined at the start of the
program:
#define startNote 48 // Start note of C#define ON_Threshold 100 // Set noise threshold level before switching ON#define OFF_Threshold 100 // Set LOW level to switch OFF#define ON_Delay 10 // Set Delay after ON-Threshold is reached, to measure velocity (max volume) of note">
#define startNote 48 // Start note of C
#define ON_Threshold 100 // Set noise threshold level before switching ON
#define OFF_Threshold 100 // Set LOW level to switch OFF
#define ON_Delay 10 // Set Delay after ON-Threshold is reached, to measure velocity (max volume) of note
|
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 |