Raspberry Pi Pico - Guitar To MIDI

  Рет қаралды 27,062

Philip Karlsson Gisslow

Philip Karlsson Gisslow

Күн бұрын

#raspberry #pi #pico #guitar #midi #guitartomidi
In this video I am demoing my Raspberry Pi Pico based Guitar To MIDI converter. I am quite blown away by the results as I would not have expected this 4$ micro controller to perform this task. The latency is lower than any other controller I have tried. If you enjoyed this video. Please leave a thumbs up and subscribe for more fun projects.
Link to the repository: github.com/rip...
Link to MiGiC: migic.com/

Пікірлер: 107
@rbartsch
@rbartsch 2 жыл бұрын
Awesome project! For polyphony I suggest to use an ESP32 with a hexaphonic pickup (e.g. Roland GK3 Internal Pickup Kit) instead of a Raspberry Pi Pico (not enough ADC channels). With the ESP32 you can use FortySevenEffects/arduino_midi_library to implement MIDI-over-USB/-Bluetooth/-WiFi and a webserver serving ADC/GPIO configuration like number of strings and additional MIDI controls like volume/tone/tremolo/vibrato/...-potentiometers (which are missing on my Fishman TriplePlay Connect) and even a decimal pad or rotary encoder to select instrument banks.
@rowancant3071
@rowancant3071 2 жыл бұрын
Oh man, I got so excited by this.. bought a pico, started wiring it all up and then realised that it's not the whole code... gutted! Any updates? I'm super keen to have a go at making one. You'll always have an audience for buying these, but for us DIYers, sharing that full code wold make you a superstar. Even if you make it for real and make your money first. Otherwise, any other people on here keen to have a crack at making something similar and sharing their code?
@CasualCheetah
@CasualCheetah Жыл бұрын
I've just run into the same surprising problem. Just out of curiosity, have you managed to find any functionally similar alternatives in your time since trying out this project?
@rowancant3071
@rowancant3071 Жыл бұрын
@@CasualCheetah I've been asking GPT for some code ideas, but I haven't tried them yet. :)
@CasualCheetah
@CasualCheetah Жыл бұрын
@@rowancant3071 Hmmm, interesting idea.
@TooSlowTube
@TooSlowTube Жыл бұрын
@@CasualCheetah If you just want an off the shelf guitar to MIDI converter, the Sonuus G2M is pretty good. I have the version 3. They all respond faster to higher notes, so it's generally better to play on the thinner strings, and set the synth or VSTi to transpose down, if you need to.
@benbenson7300
@benbenson7300 3 жыл бұрын
Simply Awesome! Loved the drum solo also.
@paulpvhl1930
@paulpvhl1930 3 жыл бұрын
Just tried the Windows demo version of your SW -- amazing stuff, really well done.
@skinnyTheCat
@skinnyTheCat 3 жыл бұрын
Wow! You are a Genius ! Just incredible ! Thanks for great video!
@suitandtieguy
@suitandtieguy 2 жыл бұрын
This is incredible work. Thank you
@kaisersozeh7845
@kaisersozeh7845 3 жыл бұрын
Firstly, I wanted to applaud the achievement. Nice one! Regarding polyphony, I wanted to draw your attention to a technique I saw in a 'look mum no computer' post. While he was just using the pickup of a bass to drive a pitch to midi converter, the project that had inspired him had used 4 piezo speakers, cut with scissors, a strip of the diaphragm wedged between the string and the bridge - and it worked!!! That at least could provide a 'hexaphonic' input, do you think a lone pico and six of the adc channels could provide usable results? I was thinking, you have another processor, you could customise the each adc channel to a range of pitches relevant to the string, the sampling frequencies of the analog inputs are multiples of the sample rates of audio signals, so you could rotate buffers around sources? Even sync three, or six picos, if they'd need syncing ? I don't know, you are, clearly, the expert, but i thought i'd mention the lofi piezo hex pickup solution in case you'd dismissed a cheap hardware solution. Good luck, great work! Edit- editing an error, a further thought - could you covert a pitch directly to a 12v per octave control voltage, via an amp, from the pico? Don't know if it's any quicker than using a midi to cv... Can I ask if you're also producing any data like an envelope follower, and would a factor relating to the timbre of the note be achievable? Like a multiband envelope follower, I suppose. Not a vocoder, just loudness curves for a high and low band..I am waffling
@PATRIK67KALLBACK
@PATRIK67KALLBACK 2 жыл бұрын
Cool project!
@mikaelwallin3468
@mikaelwallin3468 3 жыл бұрын
Really cool. Great job!
@philipkarlssongisslow9955
@philipkarlssongisslow9955 3 жыл бұрын
Thank you very much Mikael! Hope that all is well :)
@trapOrdoom
@trapOrdoom 2 жыл бұрын
Are you fucking kidding me?!? Do you know how long I’ve wanted this?!? And in an RPi omg. Wow.
@hamishpain7589
@hamishpain7589 3 жыл бұрын
I love the vertical keyboard that you just glossed over! I've been making something similar but designed around chorded typing (so I can type multiple letters in one go), and am enthused to see others have gone in a similar direction. Good luck and keep up the hacking!
@freeelectron8261
@freeelectron8261 2 жыл бұрын
Amazing - well done!
@trippyyfpv9611
@trippyyfpv9611 3 жыл бұрын
Thats insane, great job!
@philipkarlssongisslow9955
@philipkarlssongisslow9955 3 жыл бұрын
Thx man! Much appreciated!
@JeffGeerling
@JeffGeerling 3 жыл бұрын
Love it! Are you considering making a custom PCB for it so you can have a tidier little setup?
@philipkarlssongisslow9955
@philipkarlssongisslow9955 3 жыл бұрын
Thanks man! Yes I am, would be nice to make use of the new headers to solder it in a neat way :)
@James_Dawes
@James_Dawes 3 жыл бұрын
@@philipkarlssongisslow9955 It'd be awesome if they were available to buy aswell!
@PrisonLaParis
@PrisonLaParis 8 ай бұрын
I need this!
@-Fritz
@-Fritz 3 жыл бұрын
I vote for a custom PCB with everything included, Gr-55 tooo expensive. Damn this is a cool project.
@philipkarlssongisslow9955
@philipkarlssongisslow9955 3 жыл бұрын
Its in the making! I have drawn the schematic and the PCB will try to order a few prototypes soon :) thanks man
@NoahWexler84
@NoahWexler84 3 жыл бұрын
Super awesome! I would love to try to replicate!
@philipkarlssongisslow9955
@philipkarlssongisslow9955 3 жыл бұрын
Thank you very much man! Give it a go, its loads of fun!! :)
@markhammer643
@markhammer643 3 жыл бұрын
1) Nice! 2) Speedy fingers! 3) Is the unit monophonic or is it capable of polyphony? If monophonic, I recently decided to try my Casio MIDI guitar with a Korg NTS-1. A delightful and compact-yet-powerful combination. The only problem was that the guitar dates back some 35 years, and the latency is quite noticeable. Faster MIDI encoding would be wonderful; especially if a divided pickup is not required. 4) Would simple rectification of the guitar signal ahead of the note detection allow for further reduction of the latency, by doubling the (resulting) frequency of the guitar note, especially for the lower strings?
@philipkarlssongisslow9955
@philipkarlssongisslow9955 3 жыл бұрын
Thank you very much. It is currently monophonic. Regarding 4) very much :)
@DrNo-hj7nm
@DrNo-hj7nm 2 жыл бұрын
Krass ... not bad not bad ... nice
@andreasnygren4770
@andreasnygren4770 3 жыл бұрын
Cool Stuff
@philipkarlssongisslow9955
@philipkarlssongisslow9955 3 жыл бұрын
Thx man!
@andreasnygren4770
@andreasnygren4770 3 жыл бұрын
@@philipkarlssongisslow9955 This looks awesome! Where can I buy one?
@philipkarlssongisslow9955
@philipkarlssongisslow9955 3 жыл бұрын
@@andreasnygren4770 I am currently not selling any devices but you can buy the software solution at migic.com cheers
@justinrice6046
@justinrice6046 Жыл бұрын
Hi, awesome project. Do you think pico software will ever be available to the public? Also have you plans to make a linux version of migic? Thank you!
@JoediyLab
@JoediyLab 3 жыл бұрын
Awesome Philip, Only one KZbin video? you need to do more. I want to build the USB interface, other than your schematic shown in the video is there any other hardware needed? Are you using the pico's usb port to the Mac or other USB interface, I could not tell from the video? Also If I purchase MiGiC will that come with libMiGiC? In order to build the USB interface, without MiGiC Synth, do I need libMiGiC? Thanks so much.
@leonalalejandrosalasmora6812
@leonalalejandrosalasmora6812 4 ай бұрын
lograste responder tus dudas??? estoy haciendo el mismo proyecto pero no consigo muchas respuestas
@forbiddenera
@forbiddenera 2 жыл бұрын
Sick
@MrVipulLal
@MrVipulLal 3 жыл бұрын
Great
@MikeLeed
@MikeLeed 2 жыл бұрын
Let us know when this is available, I would definitely buy it!
@nc7577
@nc7577 3 жыл бұрын
This is amazing! Is there any way you can detail out the hardware used here? I want to try this out for myself. Mainly the guitar input jack is what confuses me. I'm not an electronics superstar but I can fumble my way around understanding the schematics :)
@philipkarlssongisslow9955
@philipkarlssongisslow9955 3 жыл бұрын
Thans man, I guess I can do a short follow up video. The guitar input jack is just a regular 6.1mm female. I only showed off the pedal EVB as it is useful when I am designing other stuff such as guitar pedals. Cheers
@soekma_aoeliea
@soekma_aoeliea 3 жыл бұрын
Awesome! You should use Cortex-M4 at minimum for multiple strings
@philipkarlssongisslow9955
@philipkarlssongisslow9955 3 жыл бұрын
Thanks man ! I am using a Cortex-M4 MCU on the new PCB :)
@soekma_aoeliea
@soekma_aoeliea 3 жыл бұрын
@@philipkarlssongisslow9955 nice! FPU helps very much, you could also using hexaphonic pickups 😁
@JeremyCook
@JeremyCook Жыл бұрын
So sort of the opposite of a keytar, one might say? 😅 Nicely done!
@user-dd6fm2tf2v
@user-dd6fm2tf2v Жыл бұрын
This is really really awesome!! 🎉 Question here: how would the midi converter react to multiple notes playing simultaneously? Say I strum a G chord. Do you think it will function accurately?
@ArielAr
@ArielAr Жыл бұрын
Impressing ! Are there schematics available so that anyone can build this monophonic guitar to midi ? And what about a polyphonic one ?
@flammodo
@flammodo Жыл бұрын
Hi! Really like your Project! I am planning on doing a compilation video of the coolest Raspberry Pi Pico based projects out there. Am I allowed to showcase your project and use some footage from this video? Of cause I would give credit to your video.
@philipkarlssongisslow9955
@philipkarlssongisslow9955 Жыл бұрын
Hi thank you very much I would be honoured! Please send me a link when it's done :) cheers!
@flammodo
@flammodo Жыл бұрын
@@philipkarlssongisslow9955 Thanks man, really appreciate that. I will do that of cause. Have a nice day!
@granolakitti8521
@granolakitti8521 Жыл бұрын
This project is amazing! Can it detect more than one string at the time?
@andrewmclellan2918
@andrewmclellan2918 3 жыл бұрын
This is great! Had question though -- is the Migic software running on the pico? Then you can use this for any DAW or standalone synth that can be controlled with a USB MIDI connection with all the code on the github? Or do I have to buy the Migic software on the PC for this project to work?
@philipkarlssongisslow9955
@philipkarlssongisslow9955 3 жыл бұрын
Thx man! There is actually a ported version of the MiGiC running on the Pico. There is no MiGiC what so ever running on the PC, all calculations are done on the Pico. I am still trying to figure out if/how I can release a binary exclusive to the Pico that prevents it from being used on other devices if I can release it. Because right now only the platform (ADC, DMA, USB MIDI) is open source. You could still use the platform to build something similar but you would have to code your own pitch recognition if you use the source from Github. I am open for any tips or suggestions :)
@SideProjexts
@SideProjexts 2 жыл бұрын
@@philipkarlssongisslow9955 Hello, any updates on whether you could provide the pitch recognition binary for the pico?
@JDubbs_805
@JDubbs_805 3 жыл бұрын
Why would anybody downvote this?!
@cprogrck
@cprogrck 3 жыл бұрын
He won't release the software for it. There's no download for the embedded libraries even if you buy the license.
@MikeontheMandolin
@MikeontheMandolin 3 жыл бұрын
Ooooh I want :)
@philipkarlssongisslow9955
@philipkarlssongisslow9955 3 жыл бұрын
Cool, I am working on making it more accessible
@MikeontheMandolin
@MikeontheMandolin 3 жыл бұрын
@@philipkarlssongisslow9955 this is the start of my Pico based guitar pedal. It’d be cool to put a synth on the board and add mix with a live signal.
@philipkarlssongisslow9955
@philipkarlssongisslow9955 3 жыл бұрын
@@MikeontheMandolin Cool! Let me know when you have something I can test 😎
@MikeontheMandolin
@MikeontheMandolin 3 жыл бұрын
@@philipkarlssongisslow9955 will do. I’m just waiting on an audio dac to work on v2.
@Javier-qk7ms
@Javier-qk7ms 2 жыл бұрын
Amazing. Is it polyphonic too?
@kratanuva725
@kratanuva725 Жыл бұрын
Hi, I'm curious if this supports sending midi pitch bend signals based on the exact pitch of the notes played, or if this is limited to 12 tone equal temperament. So for instance, if you bend, can you get "in-between" notes, assuming the midi instrument supports pitch bends? I have a microtonal guitar, and I'm curious if that would work with this, or if it would be quantized to 12.
@rowancant3071
@rowancant3071 2 жыл бұрын
Also, any plans for Migic on IOS? MIDI guitar holds that space and do polyphony, but they are way more expensive.
@frontier9
@frontier9 2 жыл бұрын
Now make a divided pickup so you can do 6 in parallel and you are on your way to VG8 tech
@gregorybeard92
@gregorybeard92 3 жыл бұрын
Soooo when are you gonna start making rack mounted and table top versions of this?
@davidianmusic4869
@davidianmusic4869 3 жыл бұрын
I'll second that
@philipkarlssongisslow9955
@philipkarlssongisslow9955 3 жыл бұрын
I will start drawing the schematics during the next few weeks ;)
@gregorybeard92
@gregorybeard92 3 жыл бұрын
@@philipkarlssongisslow9955 good!!! Does it track cords too?
@philipkarlssongisslow9955
@philipkarlssongisslow9955 3 жыл бұрын
@@gregorybeard92 Not currently, its a LOT more math to track chords but you never now in the future :)
@gregorybeard92
@gregorybeard92 3 жыл бұрын
@@philipkarlssongisslow9955 not mad at it... Hell a monophonic version isn't a bad situation.
@figueroalabs
@figueroalabs 3 жыл бұрын
If I buy MiGiC on the store, will this include your libMiGiC for the rp2040? Great project, btw.
@philipkarlssongisslow9955
@philipkarlssongisslow9955 3 жыл бұрын
Thanks man! Not currently I am trying to figure out a way to make this happen. I am also consider making a custom PCB with everything included would you be interested? Cheers
@figueroalabs
@figueroalabs 3 жыл бұрын
@@philipkarlssongisslow9955 More interested in the firmware. Maybe you can distribute the compiled .bin firmware?
@jpl9148
@jpl9148 3 жыл бұрын
@@philipkarlssongisslow9955 Shut up and take my money!
@AnthonyHigham
@AnthonyHigham Жыл бұрын
I suppose chords could be possible.. have to process the combination of notes.
@welshtechie6832
@welshtechie6832 3 жыл бұрын
My brother has a Focusrite Scarlett 2i2 audio interface. I assume that would be far better than direct to a PC. I have a Pico too mind you but more powerful PCs of course!
@philipkarlssongisslow9955
@philipkarlssongisslow9955 3 жыл бұрын
I have a Scarlett myself and this setup is actaually quicker since all the SW runs 100% uninterrupted on the Pico. I will upstream these changes to the MiGiC PC code as well so that it can benefit from the improvements I did while completing the port.
@cristianoufo
@cristianoufo 3 жыл бұрын
amazing project It is possible to replace mcp6002 by module Max9814 ?
@MakoAoyama
@MakoAoyama 3 жыл бұрын
Is the circuit with the opamp necessary? Or could you theoretically also use a regular guitar amp on clean with a signal out to the Pico? I could build the circuit if needed, but if the result is the same, I already have a guitar amp with a output that I use to record with.
@jsonslim
@jsonslim 11 ай бұрын
Amazing! But what about latency? How much is it ?
@jsonslim
@jsonslim 11 ай бұрын
12-15 ms?
@figueroalabs
@figueroalabs 3 жыл бұрын
Sorry to insist, buy why not a binary release of this project? When you compile in arduino, a short bit before the board is uploaded with the firmware, there is a .bin file that you could distribute, and this will allow people to replicate this cool project, without having to wait and wait+more shipping waiting.. Note: To watch the path were the .bin file is located, enable debuging on the arduino IDE, and it will show it on the logs where it compiles and uploads.
@philipkarlssongisslow9955
@philipkarlssongisslow9955 3 жыл бұрын
I want to secure that it does not end up in something else than a Pico, say a commercial product. Therefore I want to make sure that it will only run on the Pico first. I am very much aware of what a .bin is :)
@distorson
@distorson 7 ай бұрын
Do you have any plans on turning this project into a product?
@MatthewKanwisher
@MatthewKanwisher 2 жыл бұрын
Would it be possible to reuse this for other string based instruments that look like guitars but not exactly the same ? We have some local guitar variants in Thailand called Phin
@Javier-qk7ms
@Javier-qk7ms 2 жыл бұрын
I have a question, can the pico be used as a MIDI host? I would like to try it as a MIDI controler over USB to change presets in my Zoom 70CDR.
@eduardorojas8825
@eduardorojas8825 2 жыл бұрын
great, do you have velocity control?
@chrisw1462
@chrisw1462 3 жыл бұрын
So you said you aren't posting the libMiGiC code.. That means no one without your coding experience can make this. Do you plan to sell the code, or a pre-programmed Pico??
@jpl9148
@jpl9148 3 жыл бұрын
Can you play 6 notes simultaneously? Or I need one of each per string?
@gregsinibaldi
@gregsinibaldi 3 жыл бұрын
Could something similar work with a saxophone?
@philipkarlssongisslow9955
@philipkarlssongisslow9955 3 жыл бұрын
For sure! I have tried the PC version with saxophone and it works great so the pico should be happy too
@gregsinibaldi
@gregsinibaldi 3 жыл бұрын
@@philipkarlssongisslow9955 Can it convert breath sensitivity to CC#2 midi breath control?
@joeynuggetz
@joeynuggetz 2 жыл бұрын
Is there any way to build pressure sensitive pads or mpe type controllers?
@leecyrille
@leecyrille 2 жыл бұрын
Do you think this will work for microphone input on drumset?
@BlueClefto
@BlueClefto 2 жыл бұрын
Sooooo how do I upload the code to the pico? Only did that before with arduinos and its IDE
@zerstaerker
@zerstaerker 5 ай бұрын
Does this work on a pico without having to buy MiGiC?
@navidmuhamedkhan5005
@navidmuhamedkhan5005 11 ай бұрын
Hello sir will you make this project open source?
@echodelta9
@echodelta9 3 жыл бұрын
Does it let a bend or slide get encoded?
@philipkarlssongisslow9955
@philipkarlssongisslow9955 3 жыл бұрын
The algorithm does that very well but I have not optimized it enough to be able to run on the Pico yet. Have a look here migic.com/ to see it in action on the PC. I think bends/vibrato is where MiGiC really shines.
@chrissguitarchannel
@chrissguitarchannel 3 жыл бұрын
How does it do with chords?
@philipkarlssongisslow9955
@philipkarlssongisslow9955 3 жыл бұрын
Currently it is monophonic
@stormeporm
@stormeporm 3 жыл бұрын
Could I build it if I buy migic?
@philipkarlssongisslow9955
@philipkarlssongisslow9955 3 жыл бұрын
Hi, not currently. This is a highly optimized unreleased ARM version of a part of MiGiC. I am looking in to if/how to secure a binary release specifically for the makers (Pico)
@stormeporm
@stormeporm 3 жыл бұрын
@@philipkarlssongisslow9955 thanks I'll keep checking if there is a aupdate
Hacking my garage door with the Raspberry Pi Pico W
11:50
Jeff Geerling
Рет қаралды 338 М.
Raspberry Pi Pico PIO - Ep. 17 - MIDI for the Pico
23:32
Life with David
Рет қаралды 6 М.
Meet the one boy from the Ronaldo edit in India
00:30
Younes Zarou
Рет қаралды 15 МЛН
SPILLED CHOCKY MILK PRANK ON BROTHER 😂 #shorts
00:12
Savage Vlogs
Рет қаралды 46 МЛН
Harley Quinn lost the Joker forever!!!#Harley Quinn #joker
00:19
Harley Quinn with the Joker
Рет қаралды 28 МЛН
Please Help Barry Choose His Real Son
00:23
Garri Creative
Рет қаралды 21 МЛН
Headless Raspberry Pi Synthesizer Update
13:36
The White Tornado
Рет қаралды 47 М.
What is VGA and How to Use it With a Raspberry Pi Pico
18:28
Gary Explains
Рет қаралды 53 М.
I couldn’t do my job without this. - PiKVM
9:57
Linus Tech Tips
Рет қаралды 1,7 МЛН
The Recovery Effects Ghost Writer - Guitar to Midi Pedal
12:59
Sean Daniel
Рет қаралды 26 М.
Raspberry Pi Pico Clone with 16MB Flash, USB-C, Neopixel, and More!
8:31
PicoMite: Running BASIC on a Raspberry Pi Pico
19:29
ExplainingComputers
Рет қаралды 145 М.
How to ARDUINO MOD a Clone Hero Controller
22:47
Pixelholic
Рет қаралды 32 М.
Samsung Galaxy S24 Ultra Vs Iphone 15 Pro Max
0:56
Roanet Tech
Рет қаралды 8 МЛН
ПС 110/10. Кто то подключил "левак" 110000 вольт!?
0:34
Советы электрика
Рет қаралды 1,2 МЛН
Запрещенный Гаджет для Авто с aliexpress 2
0:50
Тимур Сидельников
Рет қаралды 1,8 МЛН
Самый дорогой телефон 2000х
0:54
МАДНЕСС
Рет қаралды 1,8 МЛН
САМЫЙ КРЕПКИЙ ТЕЛЕФОН #shorts
0:27
Паша Осадчий
Рет қаралды 2 МЛН
when foldable cellphones follow the trend#shorts
0:11
amazing populer
Рет қаралды 13 МЛН