jwkennedy651
Posts: 10
Joined: Wed Feb 25, 2015 4:29 am

Making a MIDI piano playing device!

Mon Jul 13, 2015 4:29 pm

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!
-Joe
"Teen Maker"
Interested in all things Pi
Raspberry Pi 2 Model B running Raspbian

fruitoftheloom
Posts: 19483
Joined: Tue Mar 25, 2014 12:40 pm
Location: Delightful Dorset

Re: Making a MIDI piano playing device!

Mon Jul 13, 2015 6:26 pm

This is a similar project which may give some pointers:

viewtopic.php?f=38&t=107622
adieu

My other Computer is an Asus CS10 ChromeBit running Chrome Operating System.
HP Envy 4500 Wireless Printer supported by HPLIP software in Raspbian Stretch.

jwkennedy651
Posts: 10
Joined: Wed Feb 25, 2015 4:29 am

Re: Making a MIDI piano playing device!

Tue Jul 14, 2015 4:44 am

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!
-Joe
"Teen Maker"
Interested in all things Pi
Raspberry Pi 2 Model B running Raspbian

gmeader
Posts: 4
Joined: Mon Aug 07, 2017 11:21 pm

Re: Making a MIDI piano playing device!

Wed May 15, 2019 7:58 pm

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/

Return to “Graphics, sound and multimedia”