Page 1 of 1

Making a MIDI piano playing device!

Posted: Mon Jul 13, 2015 4:29 pm
by jwkennedy651
Hello,

I'm looking to create a device with the pi where I can plug in my midi keyboard controller (mine plugs in via a USB cable, not the standard midi plug), attach a set of speakers to the pi, and instantly have a way to play live piano without the need for a bulky computer and a DAW. I found a project called the Samplerbox > http://www.samplerbox.org/ that does basically the same thing, but I want something a lot simpler and cheaper to suit my needs:

-I would like to use the pi's native usb ports to plug in the keyboard, as well as the regular audio jack or usb ports for audio output (if this is all possible).
-I know most about python so I was hoping to write a script in that language.
-A regular grand piano sound for the keys is really all I need.

If you have any guidance or advice on how to do this, could you drop a comment for me? It would sure help me out, thanks!

Re: Making a MIDI piano playing device!

Posted: Mon Jul 13, 2015 6:26 pm
by fruitoftheloom
This is a similar project which may give some pointers:

viewtopic.php?f=38&t=107622

Re: Making a MIDI piano playing device!

Posted: Tue Jul 14, 2015 4:44 am
by jwkennedy651
fruitoftheloom wrote:This is a similar project which may give some pointers:

viewtopic.php?f=38&t=107622
Found some good info on your forum link on how to get midi data to display. Thanks, this may help me at some point in the project!

Re: Making a MIDI piano playing device!

Posted: Wed May 15, 2019 7:58 pm
by gmeader
samplerbox (http://samplerbox.org) does not actually require any hardware besides a Pi and a MIDI keyboard. (and headphone/speaker)
The display and switches are optional. A USB audio device is optional, but recommended, as the Pi's built-in audio is poor.

You can run the samplerbox program from a Terminal and see what is going on.
It is just a Python program, so if you know basic Python, you can customize it however you like.

Here's more info on DIY musical instruments made with Raspberry Pi http://chromakinetics.com/MIDI/