SUPER SIMPLE MIDI KEYBOARD DIY HOW TO

preview_player
Показать описание
Making A DIY MIDI KEYBOARD. The super simple way.
Extra stuff like the backing track, extra vids on this project and if you'd like to support :) :-
it also makes @THIS MUSEUM IS (NOT) OBSOLETE get bigger and better
------------
TO SKIP CODE 15:30
------------
-------
List of Gear/Electronics I USE :-
THIS MUSEUM IS (NOT) OBSOLETE :-
------------
THANKUS HUMUNGOUSO to :-
CoFFeeTaBLesE
David Dolphin
casey
Miles Flavel
Scott Armstrong
worldofchris
Casey
MattFollowell (PDP-7)
Nicole LArett
-------------
if you want to donate to the electronic component fund! Paypal :-
-------------

#DIY #HOWTO #ELECTRONICS
Рекомендации по теме
Комментарии
Автор

I have been a programmer for 30 years, and this has to be the BEST coding tutorial I've ever seen! Even despite the need to yell "SEMICOLON" at the screen.

Glkkr
Автор

The fact that you do not know what a semi colon is, and yet still do what you do with such proficiency lights the way for a huge amount of people who feel they lack the intelligence or ability's due to poor education or life circumstance, keep it up and keep encouraging the people of the world, you are an inspiration.

Thetauconqure
Автор

I wish every coding tutorial was like this. You are the most engaging code teacher I have ever witnessed (and I've worked as a software engineer)

JuliaGarbe
Автор

For anyone planning on doing this, at 14:41 he says that there are better ways to do it and he's right! I'm making one right now, and I am restricted as I only have 8 buttons so i came up with a cool idea to share:

Use arrays! Have your buttons be stored in some array like int buttons = [ 0, 1, 2, 3, 4, 5, 6, 7] ( the pin numbers of your buttons). Then comes the magic. You can have separate arrays for each scale! so for instance you could do something like

int Phrygian = [whole/half tone steps away from base note];
int Locrian = [ same thing for locrian]
etc..
int Modes = [Phrygian, Locrian...]

Then have an array with the base notes:
int Keys = [midi for C, midi for D, midi for E... so on].

Now in your logic you can have a variable for what mode you are in, and what key you are in:
currentKey = 1;
currentMode = 2;

And now to send a note you can go through each button and if it is on, add the key youre in to the note on that mode!
for(int btn = 0; btn < 8; i++){
if(digitalRead(buttons[btn]) == HIGH){ midi.write( (Keys[currentKey] + Modes[currentMode][ btn ] ); }
}

Now you can have a knob or button to allow you to switch between keys and modes and your keyboard will only play in the key and mode selected!

[for any aspiring coders out here, if you find yourself rewriting alot of the same code, try to find a solution with functions and arrays. Notice how i took his 10 if/else statements and reduced them to just a small loop and a few arrays. And the best part is, if you want to change a note or key or something, you just have to change it in the array and not in each if statements :) ]

fanrco
Автор

They really did a great job with midi. It’s just been the same connector and data standard forever. Even the new mpe keyboard I got is still just midi over usb but using some extra channels for all the extra expression info.

Reliquancy
Автор

I've programed for too many years and this tutorial was pretty good
like the code was kinda ugly and he didn't know the name of a lot of the symbols, but he explained it really well and I was kinda blown away with how simple it was with the midi library

jonahsimmons
Автор

“They not hacker man.” Next level. As a long time hacker man, this really reminded me of how I first learned. Very lovely.

SimeonPilgrim
Автор

LOOK MUM A COMPUTER. Anyway very cool video for newbies in DIY. Arduino is probably best thing to happened for the DIY scene. Makes really hard IC controllers (most often in assembly-type language) programming a breeze. Keep up the good work.

Mchlos
Автор

I love your teaching style and how you consider all skill levels. Great video.

rasterop
Автор

Brilliant stuff, thanks for this - I can't believe MIDI is 40 years old! I often thought about doing something with a hand made MIDI controller but never realised how simple it is to do. Now I have a gazillion ideas rushing around my brain, can't wait to give this a try!

MrJozza
Автор

Some (a lot?) people find coding intimidating and it can be very intimidating. What you did here is awesome! You showed that it doesn't have to be hard. It doesn't need a huge amount of education (formal or otherwise). Who gives a poop if it's clean or "right". Literally JUST TRY IT! :) Nice work :)

stevebriggs
Автор

"Void, that's like a sad void like my heart". Love it. Will keep this in mind when programming in C.

afr
Автор

Thank you 🙏. Please make more simple DIY’s. I’ve been subscribed for a long time and have always drooled over the the idea of making my own creation!!! This is the start!

CollegeHustler
Автор

Gorgeous, you are giving 3 lectures at the same time. About programming, electronics and midi (and humour).

geevee
Автор

On one hand I’m shouting words like “library” and “function” at the screen, but honestly, this is a brilliant intro to MIDI on arduino and that’s something I’ve wanted to get around to for 3 or 4 years and not got round to it. Thanks Sam - great video and really well explained.

Skootavision
Автор

You got me at "dot squiggle" lol. As a C# dev, your code is copypasta, but good enough for someone new to get started like you said. Next step would be to put that repetitive code in a method and call it with parameters.

It's amazing how simple doing midi on Arduino is, and this video gives me motivation to give it a go myself.

zodberg
Автор

I like the way you showed the coding. When i was learning, it was a lot of. "Do this because i said so". you showed what the commands do and that the names of things don't matter, just that they match, and how the comments work.

piratetv
Автор

Thanks for explaining how to make a midi keyboard! I am a programmer and you did a good job explaining it. I didn't realize how approachable MIDI was, would love to make my own controller now.

unkowndata
Автор

This is PERFECT TIMING! I’ve been really keen to make an MPC arcade button controller, I was totally put off by the coding aspect. You’ve just changed my mind, thank you!

mightyheights
Автор

this is exactly the kind of tutorial i want for everything ! show whats important, explain what it does with as few words as possible but pack everything important into it and keep it practical and entertaining :D

mikestckl