How can I run a basic MIDI sampler on Raspberry Pi?

Discussion of all things Raspberry Pi / Raspberry Pi 2 related

Moderators: khz, MattKingUSA

User avatar
KuraVilu
Posts: 2
Joined: Sun Aug 12, 2018 9:11 pm
Contact:

How can I run a basic MIDI sampler on Raspberry Pi?

Postby KuraVilu » Sun Aug 12, 2018 9:50 pm

Greetings everybody! I am very new to the Pi (and Linux) and am in need of a very basic setup for live performances. There's a lot of information on the Internet for complex audio production software (and it's a bit confusing to me) but I want something extremely basic, I just don't have the "know how" and figure I would give this a shot.

I am currently using a Raspberry Pi 3 B+ running the latest version of Raspbian and have a USB M-Audio KeyRig 49 MIDI controller. I do have a Windows laptop capable of running Ableton Live but it's too bulky for me to carry around from gig to gig when I could just throw the Pi in my guitar case and love life.

Now, to the point: During our live set we play intros and a few samples in some of our songs. I want to be able to play them with my MIDI controller. What I need is simply to trigger, let's say, intro_1.wav when I press the C note on the keyboard, play intro_2.wav when I press the D note and so on. Hopefully running within Raspbian. Is there a simple program that would do that? Can I run some basic code for the same purpose?

I will be eternally grateful if you have any suggestions or can point me in the right direction.

Cheers! :D

Frank Carvalho
Establlshed Member
Posts: 356
Joined: Sat Nov 17, 2012 3:36 pm

Re: How can I run a basic MIDI sampler on Raspberry Pi?

Postby Frank Carvalho » Mon Aug 13, 2018 1:20 pm

One possibility is to prepare the samples as a soundfont, with the different samples assigned to individual keys, then start whatever version of Carla is available on the Pi and open the soundfont (which will load an instance of fluidsynth - a sample playback program). In Carla you can also route MIDI in to Fluidsyth.
The Pi is very DIY and you have to get the software. You can try Autostatics repository, if it is still available, otherwise you may have to compile some Things to get it running. And you need a sound Card with MIDI.
Vox, Selmer, Yamaha and Leslie amplifiers. Rickenbacker, Epiphone, Ibanez, Washburn, Segovia, Yamaha and Fender guitars. Hammond, Moog, Roland, Korg, Yamaha, Crumar, Ensoniq and Mellotron keyboards. Xubuntu+KXStudio recording setup.

User avatar
KuraVilu
Posts: 2
Joined: Sun Aug 12, 2018 9:11 pm
Contact:

Re: How can I run a basic MIDI sampler on Raspberry Pi?

Postby KuraVilu » Tue Aug 14, 2018 11:04 am

Thanks for the recommendation so far. I'm not familiar with any of the terms used, but I will explore. Lol

I will post here my results. Thanks again.

User avatar
bluebell
Establlshed Member
Posts: 727
Joined: Sat Sep 15, 2012 11:44 am
Location: Saarland & Frankfurt, Germany

Re: How can I run a basic MIDI sampler on Raspberry Pi?

Postby bluebell » Sat Aug 18, 2018 8:02 am

Frank Carvalho wrote:And you need a sound Card with MIDI.


Since most MIDI-Keyboards have USB-MIDI you don't need a MIDI port in your interface.


Return to “Raspberry Pi”

Who is online

Users browsing this forum: No registered users and 0 guests