fbpx
Skip to main content

MIDI Forum

(Old Post - Dec 201...
 
Notifications
Clear all

(Old Post - Dec 2016) Hardware based MIDI decoding / synthesizing

5 Posts
4 Users
0 Reactions
11.1 K Views
Andy
 Andy
Posts: 2
New Member
Topic starter
 

I have a lot of old MIDI equipment that was recently given to me by a retired music teacher. I have a lot of interest in it, and would like to make a MIDI synth. It does not need to be high quality or sample based, but I want to know how to implement a MIDI decoder in hardware.
(By the way, I'm not asking you to build it for me; I just want to know where a good document is. I want to do this project on my own. Nothing more complex than simple logic IC's, so don't tell me about those MIDI generating IC's.I have chosen the 7400 series ICs. Such as 7400PC )
I know that MIDI is just digital signals representing instruments, so I'm thinking something like this.

Yeah, it's not a technical diagram. But basically, I want a really excellent guide to how MIDI works. What the signal contains and so on. I have an arduino ready to act as a PWM generator, and I have tested it. It just needs to generate simple waves (like square waves, NES/Famicom style).

Does anyone know a concise, easy to understand documentation for the MIDI standard? Something like what would be in "The Art of Electronics" (the textbook) if it talked about MIDI at all. Something that a beginner could understand, preferably. I mainly work in analog technology, so this has been a new experience for me.

Thank you.

 
Posted : 08/12/2016 12:47 am
Andy
 Andy
Posts: 2
New Member
Topic starter
 

Sorry about the image.I will repost the image.

 
Posted : 08/12/2016 12:52 am
Clemens Ladisch
Posts: 321
Reputable Member
 

The specification itself is freely available.

For a somewhat easier to understand documentation, see the archived copy of a mirror of Jeff Glatt's website at https://web.archive.org/web/20150906103303/http://www.blitter.com/~russtopia/MIDI/~jglatt/tech/miditech.htm .

As for your decoder: MIDI is too complex to be decoded by a bunch of logic ICs. You need a microcontroller (even a tiny 8-bit one would do). If you already have an Arduino, that is what you should use.

 
Posted : 08/12/2016 1:33 am
Jan Kučera
Posts: 17
Eminent Member
 

Maybe it would help to note that the MIDI is just a serial bus/UART. You can build UART with 74xx (see e.g. http://6502.org/users/dieter/uart/uart_0.htm) but I agree if you have Arduino in, just connect it to it's serial port.

 
Posted : 08/12/2016 11:01 am
Paul DeRocco
Posts: 3
Active Member
 

Clemens is right: do it in software on the Arduino. However, not all UARTs can be programmed for 31250bps, so you may have to add an external one. Or just buy a USB to MIDI converter and forget about hardware entirely.

 
Posted : 26/12/2016 9:38 pm
Share: