How to Make Arduino Instruments that Play MIDI Songs!

  Рет қаралды 9,426

Johnny Devine

Johnny Devine

Күн бұрын

Code, download links, and more details on my website:
www.devinejohnny.com/
This video describes how I turned a Music Maker lap harp and xylophone that play MIDI songs with Arduino.
The instruments are mounted with laser cut plywood and 3D printed parts. The design for these parts was done in Autodesk Fusion 360. I used a BOSS laser and Prusa MK3s printer. The notes on each instruments are struck by 5V solenoids purchased from Digikey.com. The instruments are run with Arduino boards (an Uno for the harp and Mega for the xylophone).
MIDI signals are sent to the Arduino boards over USB from a connected computer. The computer has a digital audio workstation (LMMS in this case) playing MIDI songs. Software on the computer (called loopMIDI) creates virtual ports so these signals can be passed to another piece of software (called Hairless MIDI) that creates a serial bridge to the Arduinos.

Пікірлер: 28
@customerservicerobot454
@customerservicerobot454 Жыл бұрын
i've been looking for this exact thing forv so long, thank you so much!!!!
@miha220
@miha220 2 жыл бұрын
This presentation is great! Thanx
@TheJavaSync
@TheJavaSync 2 жыл бұрын
Nice presentation!! Thank You I searched this video for a long time
@MisterDevine
@MisterDevine 2 жыл бұрын
Thanks, always happy to help!
@robotricks_labs
@robotricks_labs 4 жыл бұрын
Cool video!
@grgr3519
@grgr3519 Жыл бұрын
Thats great!!!
@AppliedCryogenics
@AppliedCryogenics Жыл бұрын
Nice work! There are N-channel MOSFETs that can be directly controlled by gpio lines from the Arduino. This could eliminate the 12v supply and relay clicks.
@MisterDevine
@MisterDevine Жыл бұрын
Thanks! I took that approach with a later, better build: www.devinejohnny.com/projectgallery/midi-arduino-glockenspiel-with-tip120-transistors I also flash hiduino firmware to the Arduino in that build, which eliminated all that extra in between software; just plug in the USB and I pops up as a midi instrument. I also did a build with ULN2004 transistor arrays, which really slimmed down the electronics. Didn’t document it, but here’s some more about those chips: en.m.wikipedia.org/wiki/ULN2003A
@sjk44
@sjk44 4 жыл бұрын
heck yah!
@mirko124
@mirko124 Ай бұрын
very cool! is it possibly with solenoids to also have different intensities of hitting? to have soft or loud tones and everything inbetween...
@MisterDevine
@MisterDevine Ай бұрын
If you used transistors to control the solenoids, you can vary the amount of current they receive. With the relays, you can vary the amount of time they are closed (I used 8ms in this project, so a smaller time would be a less intense hit). The problem with this is that even subtle differences between solenoids (their internal friction, distance from the surface, etc.) means that some might not reach the keys at all while others do. In this project I had modes that did both (transistors and varied time), but also had a felt covered damping bar that could be pressed into the keys with varying pressure using servos. www.devinejohnny.com/projectgallery/midi-arduino-glockenspiel-with-tip120-transistors
@magmagth4346
@magmagth4346 Жыл бұрын
Hi, if a midi file was stored in smartphone not in laptop, how can xylophone play midi song over Bluetooth? thank you
@anuragbarhoriya3284
@anuragbarhoriya3284 2 жыл бұрын
how muro box work ? The music box which operate by mobile app . I want to see inside of muro box . The concept is same but your is bulky and complex hardware .
@Mate2Frio
@Mate2Frio 3 жыл бұрын
Do you sell or have plans published for the solenoid holders?
@MisterDevine
@MisterDevine 3 жыл бұрын
Here's a link to an OBJ file: drive.google.com/file/d/12gwYgVF03RM6FXDwvpDPlw4yuGbG_UVL/view?usp=sharing I also put it on my project page: www.devinejohnny.com/projectdetails/midi-xylophone-with-arduino-mega If a different file type would be better for you, let me know.
@clydebermingham121
@clydebermingham121 Жыл бұрын
Would a set up like that work with Apple’s GarageBand or Logic Pro X DAW’s ?
@MisterDevine
@MisterDevine Жыл бұрын
Yes, I imagine so. It just needs something sending MIDI signals. I really need to do another video and write up on my website, but all my instruments after the ones in this video use hiduino, which re-flashes the USB chip on the Arduino so that when you plug it into something it is recognized natively as a MIDI device. That means you could plug a keyboard straight into the instrument and play it. No need for a DAW, hairless MIDI, loopMIDI, or any of that jazz. It's pretty cool.
@andrestruus5475
@andrestruus5475 11 ай бұрын
@@MisterDevine Looking forward to learn how did you achieved all that! Really neat job!
@Qwanders
@Qwanders Ай бұрын
Have you tried to use Solid State Relays instead of the electromechanical ones? Then you won't get the clicking from the Relays..?
@MisterDevine
@MisterDevine Ай бұрын
Yeah, I used TIP120 transistors in this project. www.devinejohnny.com/projectgallery/midi-arduino-glockenspiel-with-tip120-transistors
@Qwanders
@Qwanders Ай бұрын
@@MisterDevine it is very very cool! You are doing really good and it is inspiring.
@JTranDung
@JTranDung 2 жыл бұрын
can i know that relay type!? and the name. i want to make a hummer to hit the clock bells
@MisterDevine
@MisterDevine 2 жыл бұрын
I think this link will take you to what I bought on Amazon. They are relay modules made by ELEGOO, but there are numerous similar brands that would work as well. ELEGOO 8 Channel DC 5V Relay Module with Optocoupler Compatible with Arduino UNO R3 MEGA 1280 DSP ARM PIC AVR STM32 Raspberry Pi www.amazon.com/dp/B01HCFJC0Y/ref=cm_sw_r_cp_api_glt_fabc_C8G96KYR6HAHVXHRN5SY?_encoding=UTF8&psc=1
@MisterDevine
@MisterDevine 2 жыл бұрын
Also, if you didn’t see it already, I’ve got more details on my blog: www.devinejohnny.com/projectdetails/midi-xylophone-with-arduino-mega
@JTranDung
@JTranDung 2 жыл бұрын
thanks, i love u guy.
@thedombtech
@thedombtech Жыл бұрын
Ughh! You stole my idea 2 years before I had it! Great video though! This came out great!
@MisterDevine
@MisterDevine Жыл бұрын
Thanks! You should still give it a go, though. I would recommend some changes if you give it a try. I think the software mentioned in this video is no longer supported, but there is something called Hiduino, which is really cool. With a second Arduino acting as an ISP device, you can re-flash the firmware for the USB chip on your Arduino so that is acts as a native MIDI device. That means once you plug in the instrument to your computer, boom, it just shows up in your DAW and is ready to play. I've done that with some more recent instruments, but don't have a full write up on my website yet: www.devinejohnny.com/projectdetails/m7jy1wa0aukmz9ory546gcr8xu0wa5
@JosephAnterola
@JosephAnterola 2 жыл бұрын
Please SHUT UP AND TAKE MY MONEY!!!! seriously how much would you charge to build one of these setups?
Can the ARDUINO NANO handle 64 potentiometers?
26:55
Notes and Volts
Рет қаралды 14 М.
Arduino Glockenspiel
5:37
Leon van den Beukel
Рет қаралды 125 М.
Best father #shorts by Secret Vlog
00:18
Secret Vlog
Рет қаралды 22 МЛН
THEY WANTED TO TAKE ALL HIS GOODIES 🍫🥤🍟😂
00:17
OKUNJATA
Рет қаралды 24 МЛН
THE POLICE TAKES ME! feat @PANDAGIRLOFFICIAL #shorts
00:31
PANDA BOI
Рет қаралды 25 МЛН
56 | Figuring Out Arduino Midi
21:17
ellejohara
Рет қаралды 3,7 М.
Making A $2000 Synth For $99
8:31
Edward Wang
Рет қаралды 251 М.
MIDI In/Out/Thru Interface for Arduino
12:53
Gadget Reboot
Рет қаралды 6 М.
I Modified My Piano To Play Itself! (DIY Build)
9:00
Brandon Switzer
Рет қаралды 66 М.
MIDI Keyboard mod: Nektar SE61 to wood harpsichord
40:41
Aaron Andrew Hunt
Рет қаралды 9 М.
Making things move musically - Control a servo with USB MIDI
12:54
one hacker band
Рет қаралды 4,4 М.
How to Build Arduino MIDI Controllers - The Complete Guide
1:16:47
Nerd Musician
Рет қаралды 77 М.
Why build an entire computer on breadboards?
28:43
Ben Eater
Рет қаралды 3,1 МЛН
Mallets Bot DIY Instrument V1.0 [Ardunio, MIDI]
8:37
bitluni
Рет қаралды 21 М.
ОБСЛУЖИЛИ САМЫЙ ГРЯЗНЫЙ ПК
1:00
VA-PC
Рет қаралды 2 МЛН
1$ vs 500$ ВИРТУАЛЬНАЯ РЕАЛЬНОСТЬ !
23:20
GoldenBurst
Рет қаралды 1,7 МЛН
WATERPROOF RATED IP-69🌧️#oppo #oppof27pro#oppoindia
0:10
Fivestar Mobile
Рет қаралды 19 МЛН
Здесь упор в процессор
18:02
Рома, Просто Рома
Рет қаралды 346 М.
$1 vs $100,000 Slow Motion Camera!
0:44
Hafu Go
Рет қаралды 23 МЛН
После ввода кода - протирайте панель
0:18
Up Your Brains
Рет қаралды 1,3 МЛН
😱Хакер взломал зашифрованный ноутбук.
0:54
Последний Оплот Безопасности
Рет қаралды 757 М.