Questions tagged [midi]

Musical Instrument Digital Interface

MIDI stands for Musical Instrument Digital Interface. The MIDI standard defines the communication protocol and connectors used to connect electronic music instruments. This allows for storage and transmission of music in the form of a compact series of instructions.

124 questions
38
votes
4 answers

Make a custom plastic case

I have worked on many electronic DIY projects like MIDIbox (http://www.ucapps.de/), it always was fun and working but at the end, the problem was that I ended with a cool gear, but in a poor casing, for example : wood very roughly cut (by…
Basj
  • 1,856
  • 4
  • 27
  • 48
17
votes
9 answers

Reading a huge number of analog sensors in real time

I'm trying to build a MIDI-like controller that has a neck like a guitar. On that neck, there is a huge matrix of pressure sensors. The controller will emulate 3 strings. The way this works is: There are 3 long strips of double sided copper tape…
d.oelert
  • 319
  • 2
  • 7
11
votes
4 answers

MIDI sequencer timing accuracy using the Arduino

I build these music sequencers. Only it's not exactly a sequencer, it's a physical interface for a sequencer. The sequencer is an application that runs on a laptop that the sequencer connects to, this thing lets the user make drum loops on the fly.…
Steve Cooley
  • 1,485
  • 1
  • 11
  • 16
10
votes
1 answer

MIDI IN : many circuits

I'm building a MIDI IN to serial port RX cicruit (for Raspberry Pi, or Arduino, or anything else...) using a 6N138 optoisolator. But I find many different circuits, I don't know why there are so different, and which one to choose: Are these…
Basj
  • 1,856
  • 4
  • 27
  • 48
10
votes
2 answers

Is there any reason why using a baud rate of 31250 on an Arduino MIDI project could cause problems?

I have a 600 pulse per revolution optical encoder (and some other stuff) connected to an Arduino Uno (tried it on r2 and r3) through the interrupt pins 2 and 3. While waiting for a my MIDI jack to arrive in the mail, I tried connecting my setup to…
The Phil Lee
  • 201
  • 1
  • 2
  • 5
9
votes
4 answers

Is this DIN connector suited for MIDI devices?

I'm having difficulties to find PCB mount "MIDI" connectors by a supplier like Farnell, no search with the keyword "MIDI" succeeds. I know a MIDI connector is a DIN5 connector, but there seems to be many variations of "DIN5". For example, do you…
Basj
  • 1,856
  • 4
  • 27
  • 48
8
votes
4 answers

Pressure/Force sensor

One of my students are planning to make a simple musical keyboard with PIC microcontrolers, using MIDI output. The main problem now is about the pressure/force sensor. I've found a good alternative in this question about flexiforce. I'm wondering if…
RMAAlmeida
  • 1,997
  • 15
  • 24
8
votes
1 answer

Arduino serial communication protocol design

I make a drum sequencer interface for electronic music. It uses an arduino mega as it's microprocessor, and currently it interfaces to a Processing program that I wrote for serial communication. From there, OSC messages are sent out to a Max/MSP…
Steve Cooley
  • 1,485
  • 1
  • 11
  • 16
8
votes
2 answers

How to identify bits on an electric signal

I am trying to read a MIDI signal. I have used a logic analyzer to look at the signal: The upper picure is the note-on signal that should read 0x90 0x3C 0x7F. The lower picture is the note-off signal that should read 0x80 0x3C 0x0 . In binary I…
John Am
  • 749
  • 9
  • 25
8
votes
3 answers

±12V protection for MIDI output

TLDR; how to make a MIDI output withstand shorting it to \$\pm12\$V? I'm designing a MIDI output in a eurorack modular synth module on a TRS jack (this is a semi-standard non-standard way to save space), where it's quite possible for the user to…
Timo
  • 1,179
  • 1
  • 12
  • 30
8
votes
5 answers

How do I hook up an LED across the tx pin on my Atmega328?

I've built a standalone Arduino and upload sketches via this method From Arduino to a Microcontroller on a Breadboard. I would like to hook up an LED across TX like on the Arduino board, so I simply wired it to the TX pin with a resistor going to…
ZackB
  • 149
  • 2
  • 2
  • 8
7
votes
5 answers

Are these MIDI circuits equivalent?

I've been creating a MIDI Thru box project and was trying to avoid having so many resistors. Points A-G may (or may not) have a load connected to them. Are these equivalent, or do I really need to include a resistor on each branch? Here's the…
Pete
  • 173
  • 8
6
votes
9 answers

How can I connect multiple potentiometers (~20) to my Arduino without having to have 20 analogue pins?

I'm trying to build a MIDI controller and I'm looking for a clever way of using 20 potentiometers without having to have 20 analogue ports on the Arduino. So far all the functionality I need is for every potentiometer to print its current value on…
6
votes
4 answers

4N35 opto-isolator for MIDI input does not work?

I have the following circuit which I would like to use to connect a MIDI enabled device. I am not getting any signal on pin 5, could it be because the resistor from the base to ground in too small? I am not sure how to calculate it from the…
user34920
  • 1,872
  • 2
  • 22
  • 44
5
votes
2 answers

±12V protection for MIDI input

TLDR; how to make a MIDI input withstand shorting to \$\pm12V\$? This is a counterpart to this question, I'm asking this as I was inspired by the great answer I got there. I'm designing a MIDI input in a eurorack modular synth module on a TRS jack…
Timo
  • 1,179
  • 1
  • 12
  • 30
1
2 3
8 9