Building your own DIY MIDI controller - Very Simple

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

NerdCave

NerdCave

2 жыл бұрын

This project was a lot of fun to create, this is a MIDI Controller / Macro Keyboard so you can choose what you want it to be. I planned this project a month ago and due to the lockdown in Shanghai I am not able to receive the final version of a PCB that I have designed. I decided to use components and parts I have at home to create this which you should be able to make following along with this video.
If you have any questions let me know, and I appreciate your feedback as it helps me improve the content I put on the channel. Also thanks everyone for all the support.
Code + Files and Libraries:
github.com/Guitarman9119/Rasp...
If you are new to the Raspberry Pi Pico I have made a Getting started video:
• Raspberry Pi Pico Tuto...
Check out my channel for other videos on the Raspberry Pi Pico, as I will regularly upload tutorials and projects related to the Raspberry Pi Pico.

Пікірлер: 48
@armand9910
@armand9910 2 жыл бұрын
Very nice video, keep them coming :)
@monsieuran21ed
@monsieuran21ed 3 ай бұрын
Hello, I follow step by step and it works very good. I used the adafruit-circuitpython-raspberry_pi_pico-en_US-7.2.3.uf2 in the folder instead, and that fixes my problems. Now, I will try to temporise the button in order to make a second MIDI note when I will keep pushing it for few seconds. I'm building a looper RC-505 with ableton and ClyphX
@NerdCaveYT
@NerdCaveYT 3 ай бұрын
I would like to go back to this project but I had no idea how any of these ableton or similar programs work, I made a PCB and 3D printed the case is in my workshop just need to record and figure out the software side. I also noted that the new circuitpython caused my macrokeyboard not to work anymore and needed go downgrade the firmware
@altaylor2978
@altaylor2978 Жыл бұрын
New to the topic, but this was very useful. And I need to build one 🙂
@NerdCaveYT
@NerdCaveYT Жыл бұрын
Glad it was helpful!, version 2 is coming soon
@manuelr7121
@manuelr7121 Жыл бұрын
WOW THIS IS SO COOLLL!!!!!
@NerdCaveYT
@NerdCaveYT Жыл бұрын
Just wish I knew a bit more about music programs to make a cool song for the video
@retronicksprogrammingchann2337
@retronicksprogrammingchann2337 2 жыл бұрын
very nice!
@NerdCaveYT
@NerdCaveYT 2 жыл бұрын
Thanks!
@skatin_around
@skatin_around Жыл бұрын
Very informative, good job. Would you be able to route the MIDI output through to an actual MIDI cable? This way you could control a synthesizer with the pico. I have a USB to MIDI, but alas, the pico does not have a USB port for this cable.
@NerdCaveYT
@NerdCaveYT Жыл бұрын
You should be able to, I don't know so much about MIDI controllers but you should be able to output it to a MIDI output jack. I know someone who knows a bit more about this things which has electric piano etc. which I can ask that I can barrow and test, I know lookmumnocomputer did a midi controller with the arduino and to a midi output I will check that and come back to you
@swimfan313
@swimfan313 Жыл бұрын
Dis so 😎 dude.
@NerdCaveYT
@NerdCaveYT Жыл бұрын
Dankie
@igk1099
@igk1099 Жыл бұрын
hi! awsome video! can your code be used on a raspberry pi 3? I see that I probably should change the pin variables to match the ones present on raspberry pi 3. Also, is it possible to use this with pizeoelectrics instead of buttons? Using the capability of intensity that a piezoelectric provides, not only being a swith on-off thing
@NerdCaveYT
@NerdCaveYT Жыл бұрын
if you are using the raspberry pi 3 I would think you will have a python script that execute the midi and send it to specific software or you want to use the Pi along with a PC? I have not use the raspberry pi often so I might not be able to answer the questions accurate.
@igk1099
@igk1099 Жыл бұрын
@@NerdCaveYT actually I was thinking of having the pi output the sounds, I suppose I wont be able to use fl studio, but something else
@prat2609
@prat2609 Жыл бұрын
Nice video.... I was looking for an alternative to using Arduino Board with USB host and stuff to create a MIDI controller which sends MIDI over USB without the requirement of a host. Can this board do that without the use of a USB host?
@NerdCaveYT
@NerdCaveYT Жыл бұрын
You should be able to connect the pico to a midi output, I don't have any midi devices but I found this: diyelectromusic.wordpress.com/2021/04/05/raspberry-pi-pico-reversible-midi-out/ there are a few projects where instead of using the usb to pc you connect the tx and rx of the pico to send through a midi jack
@prat2609
@prat2609 Жыл бұрын
@@NerdCaveYTThanks for the suggestion, I will give that a look. So can we use the PICO as the MIDI device only when the code is running? Like can't the code be pushed to the PICO in any way and it will run the code when powered?
@NerdCaveYT
@NerdCaveYT Жыл бұрын
@@prat2609 in circuitpython if you save the script as code.py it will run when powered and in micropython it will be main.py so if you want to make changes to the code.py just open thonny and click stop to interrupt the code that is running automatically when plugged in
@soulslayer7105
@soulslayer7105 Жыл бұрын
Would it be possible to set this up as a sound board for streaming?
@NerdCaveYT
@NerdCaveYT Жыл бұрын
Yes definitely you would be able to, there are many free soundboard apps and virtual audio output, So I would rather instead of making this a MIDI make it a macro keyboard so the sounds you select is linked with the Macro key. Or if you keep it MIDI you DAW you can setup sounds to be map to each MIDI output and make the DAW output to be a separate channel which you will use with your streaming software. I don't have so much knowledge on DAW's but you can do it for sure.
@lilidai47
@lilidai47 2 жыл бұрын
Hello, can I ask what software you use to map the drums? Thanks!!
@NerdCaveYT
@NerdCaveYT 2 жыл бұрын
In FL studio once you set the CircuitPython as MIDI search FPC then you need to map the drums to your keys you used.
@lilidai47
@lilidai47 2 жыл бұрын
@@NerdCaveYT Thanks I will give it a try!
@NerdCaveYT
@NerdCaveYT 2 жыл бұрын
@@lilidai47 If you need more help, I have a discord server discord.gg/dk4hhwTf
@presagiometal
@presagiometal Жыл бұрын
Hi , How are you? : when executing the code in Th (with W10), it gives me an error when I want to install the code in the Raspberry pi pico: *Error: Traceback (most recent call last): File "", line 5, in ImportError: no module named 'board' --- how could i solve it?| Thank you !
@NerdCaveYT
@NerdCaveYT Жыл бұрын
Hello good and you? So based on the error it can be few things do you have CircuitPython on the pico the firmware and secondly in thonny did you set the compiler in bottom left corner to CircuitPython
@TheChobyter
@TheChobyter 2 жыл бұрын
@NerdCave is it possible to use piezo pads as input instead of these arcade buttons?
@NerdCaveYT
@NerdCaveYT 2 жыл бұрын
You should be able to yes, I have not worked with piezo before think it is analog but with some circuit should be able to make it digital input, I am planning on using a very cheap kid drum set and making it a MIDI controller with piezo sensors, so once I know more can get back to you.
@TheChobyter
@TheChobyter 2 жыл бұрын
@@NerdCaveYT most e-drums use piezo to generate sound, I'm building a DIY e-drumset at the moment that's based on piezoelectric pads
@NerdCaveYT
@NerdCaveYT 2 жыл бұрын
The Pico only has 3 ADC, so you going to either have to increase the number of AD channels or I guess use an op-amp with the piezo to trigger a digital input
@uzumakiruperto
@uzumakiruperto 2 жыл бұрын
@@NerdCaveYT and for cc and a potentiometer? i want a transport bar midi; play, stop, rewind, loop... etc.
@Weston_Guidero
@Weston_Guidero 9 ай бұрын
does this have velocity control too or just note on/off input?
@NerdCaveYT
@NerdCaveYT 9 ай бұрын
no velocity control it is set in code, I guess using a potentiometer added to this MIDI controller you can then adjust the code to change velocity. I actually do want to come back to this project. I need to spend more time in the software side how to make music since the electronics part is simple just have no mixing experience
@kenknight5983
@kenknight5983 Жыл бұрын
Do you know how to program a pitch bend?
@NerdCaveYT
@NerdCaveYT Жыл бұрын
So I would think you probably will want to do it with a pod or a resistor like a wheel to change it, to change pitch back and forth almost like a joystick. For that it will probably then change the value as you change the resistor value. It is a good question and definitely something I can revisit or make a short video on
@kenknight5983
@kenknight5983 Жыл бұрын
@@NerdCaveYT I'm going the opposite route and programming the actual number of centitones. Strange territory
@ethangilbody1912
@ethangilbody1912 Жыл бұрын
New to coding, I'm getting an error message that says: "Traceback (most recent call last): File "", line 10, in ImportError: no module named 'adafruit_midi'" Any ideas on a solution? thanks :)
@NerdCaveYT
@NerdCaveYT Жыл бұрын
Did you import the libraries to the pico? github.com/Guitarman9119/Raspberry-Pi-Pico-/tree/main/MIDI%20and%20Macropad%20Project/lib which is here. for the midi controller I am using the adafruit midi library
@ethangilbody1912
@ethangilbody1912 Жыл бұрын
@@NerdCaveYT Hey. i ended up realising i didn’t import them. thanks anyway :)
@shubhampatel8193
@shubhampatel8193 Жыл бұрын
How can we do it with Arduino nano pls make a tutorial...
@NerdCaveYT
@NerdCaveYT Жыл бұрын
it is not that simple because the nano does not have HID capabilities like the Pico but it is still possible to do it, there are a few videos if you search arduino midi controllers
@itslfas_
@itslfas_ Жыл бұрын
can this use rotary encoders too?
@NerdCaveYT
@NerdCaveYT Жыл бұрын
yes, you should be able to, I am just not sure how to work with those software but I did make a PCB with rotary encoders to give it a test, will mess around a bit in the software and check. I am hopefully back to making videos soon.
@itslfas_
@itslfas_ Жыл бұрын
@@NerdCaveYTcan I text you on Instagram too know what up?
@musicstatus3677
@musicstatus3677 9 ай бұрын
Please show me,,,,your code
@NerdCaveYT
@NerdCaveYT 9 ай бұрын
The link to the github is given, just look for the MIDI repository
Build a USB Midi Footswitch
26:56
Notes and Volts
Рет қаралды 47 М.
Raspberry Pi Pico PIO - Ep. 17 - MIDI for the Pico
23:32
Life with David
Рет қаралды 6 М.
ПРОВЕРИЛ АРБУЗЫ #shorts
00:34
Паша Осадчий
Рет қаралды 5 МЛН
Does size matter? BEACH EDITION
00:32
Mini Katana
Рет қаралды 19 МЛН
Эффект Карбонаро и нестандартная коробка
01:00
История одного вокалиста
Рет қаралды 8 МЛН
How to Build Arduino MIDI Controllers - The Complete Guide
1:16:47
Nerd Musician
Рет қаралды 77 М.
Raspberry Pi Pico - Bluetooth Controlled Car Project
4:37
NerdCave
Рет қаралды 13 М.
Arduino vs Pico - Which is the Best Microcontroller For You?
20:38
Gary Explains
Рет қаралды 287 М.
Building a MIDI Controller Using Arduino
15:41
Switch & Lever
Рет қаралды 627 М.
Raspberry Pi Pico MIDI Fighter
10:36
Blitz City DIY
Рет қаралды 13 М.
This is how you destroy Raspberry Pi
9:10
Jeff Geerling
Рет қаралды 382 М.
SUPER SIMPLE MIDI KEYBOARD DIY HOW TO
19:52
LOOK MUM NO COMPUTER
Рет қаралды 121 М.
Building a Minimalistic MIDI Controller
5:28
Leandro Linares
Рет қаралды 39 М.
What’s In This Box?
0:51
Clean Girl
Рет қаралды 24 МЛН
What did I eat? 🤪😂 LeoNata Best #shorts
0:19
LeoNata Best
Рет қаралды 9 МЛН
Ice Cream or $100?
0:26
Hungry FAM
Рет қаралды 3,7 МЛН
WHAT’S THAT?
0:27
Natan por Aí
Рет қаралды 12 МЛН