MIDI Synths and Arduinos: Difference between revisions

From NURDspace
No edit summary
No edit summary
Line 7: Line 7:
}}
}}
== What ==
== What ==
I've got some Arduino Pro Nano's and some DIN5 connectors from Adafruit, so let's do something with it. Yay [[MIDI]] \o/. Some ideas:
I've got some Arduino Pro Mini's and some DIN5 connectors from Adafruit, so let's do something with it. Yay [[MIDI]] \o/. Some ideas:
== MIDI enabled synth ==
== MIDI enabled synth ==
===  MIDI in ===
===  MIDI in ===
Line 24: Line 24:
== MIDI player / sequencer ==
== MIDI player / sequencer ==
Start with implementing MIDI out and go from there.
Start with implementing MIDI out and go from there.
== Some links ==
== Opto-isolation ==
It is good practice and part of the MIDI spec to use opto-isolation. I've seen examples without it, but I'm not taking any chances when it comes to connecting to other MIDI hardware. I've found a dual channel HCPL-2630 optocoupler which seems suitable.
* Pinout: http://media.digikey.com/pdf/Catalog%20Drawings/Optoelectronics/HCPL-2630.jpg
* Datasheet: https://www.fairchildsemi.com/datasheets/HC/HCPL2630.pdf
== Some other useful links ==
* http://arduinomidilib.fortyseveneffects.com/index.html
* http://arduinomidilib.fortyseveneffects.com/index.html
* https://github.com/FortySevenEffects/arduino_midi_library
* https://github.com/FortySevenEffects/arduino_midi_library
* http://www.instructables.com/id/Send-and-Receive-MIDI-with-Arduino/?ALLSTEPS
* http://www.instructables.com/id/Send-and-Receive-MIDI-with-Arduino/?ALLSTEPS
* http://acidotunismo.com/en/2013/10/arduino-trick-using-a-low-gain-opto-isolator-for-midi/
* http://acidotunismo.com/en/2013/10/arduino-trick-using-a-low-gain-opto-isolator-for-midi/

Revision as of 22:38, 18 November 2015

MIDI, Synths and Arduinos
NoPicture.png
Participants Dennis
Skills
Status Planning
Niche Electronics
Purpose Use in other project
Tool No
Location
Cost
Tool category

MIDI, Synths and Arduinos Property "Tool Image" (as page type) with input value "File:{{{Picture}}}" contains invalid characters or is incomplete and therefore can cause unexpected results during a query or annotation process. {{{Picture}}} {{#if:No | [[Tool Owner::{{{ProjectParticipants}}} | }} {{#if:No | [[Tool Cost::{{{Cost}}} | }}

What

I've got some Arduino Pro Mini's and some DIN5 connectors from Adafruit, so let's do something with it. Yay MIDI \o/. Some ideas:

MIDI enabled synth

MIDI in

Read the notes that are being transmitted from a keyboard or sequencer. Information about velocity and pitch bend would also be nice.

Sound output

Multiple possibilities here:

Arduino as synth

The Arduino is capable of producing sound on its own, so write/borrow some code and connect a jack connector to the Arduino and we're done.

Driving the Korg Monotron

I own a Korg Monotron and supposedly they are very easy to modify. It would be awesome to be able to play it with a decent keyboard.

Drive a sound chip

555
Yamaha OPL2 / OPL3

MIDI player / sequencer

Start with implementing MIDI out and go from there.

Opto-isolation

It is good practice and part of the MIDI spec to use opto-isolation. I've seen examples without it, but I'm not taking any chances when it comes to connecting to other MIDI hardware. I've found a dual channel HCPL-2630 optocoupler which seems suitable.

Some other useful links