Getting started with LinuxSampler

Submitted by donnek on Fri, 03/07/2008 - 09:44

by Kevin Donnelly

Install LinuxSampler (package linuxsampler) and the frontend Qsampler (package qsampler). Download and unrar (package rar - rar -e rarball.rar) Mats Helgesson's Maestro Concert Grand piano sample from the LinuxSampler site - It's a 337Mb download, and unrars to 939Mb! Start JACK, and then Qsampler, which will also start LinuxSampler itself.

Go to View -> Instruments and click the New Instrument icon. Browse to the location of the Maestro sample and load it (it will go into Program 1). Close the Instrument dialogue by clicking the x in the corner.

Go to View -> Devices. Click on Audio Devices in the left-hand panel, choose JACK as the driver from the drop-down in the right-hand panel, and then click Create. A new entry, Audio JACK device 0, should appear under Audio Devices. The MIDI Devices entry can be left alone, since it shows only ALSA as the driver.

In QJackCtl, go to the Connections window. In the Audio tab, connect the LinuxSampler entry to alsa_pcm. In the MIDI tab, connect Rosegarden to LinuxSampler. Connect your input keyboard to both Rosegarden and LinuxSampler.

In Rosegarden, select the track to be recorded onto. In the Playback parameters drop-down of the Track Parameters section of the left-hand pane, select the proper entry for LinuxSampler from the Device drop-down. It may be labelled as something like "out 4 - MIDI output system device", but once you have the right one, it will show up as something like "132:0 LinuxSampler: Port 0" in the Instrument Parameters section. Press the red Record button, and play something on the keyboard.


5 comments posted
virtual keyboard possibility
Hi, * Is it possible to use virtual keyboard with qsampler/ linuxsampler? How should I set up this? * How do I have to load timidity? - newbie question about sampling: Is a the same principle of making music as working with midi but with different soundfiles, samples (gig) and not midi?
Posted by alidh on Sun, 03/09/2008 - 16:19
Yes - install vkeybd, and
Yes - install vkeybd, and use JACK to connect it to RG and LS just the way you would a real keyboard. As far as I know, samplers use MIDI to trigger actual recordings of the instruments, instead of synthesising the instruments in a processor. See also:
Posted by donnek on Wed, 03/12/2008 - 22:36
Sorry, I missed that question. I don't think it's possible to use Timidity with LS - Timidity is a sound synthesiser (ie it tries to imitate a real instrument), whereas samplers use snippets of sound recorded from a real instrument. Download the piano sample as outlined in the howto, and use that instead - it has a really excellent sound.
Posted by donnek on Thu, 03/13/2008 - 11:17
Linuxsampler gig file help
I had a user help me with this part here is what he emailed to me below, I am going this for friend so he can try Linux as a pro audio production system. He is not a big band just himself. I am a newbie when it comes to music production so any help would be great even a guild to using this would be nice start qjackclt $linuxsampler java -jar fantasia-0.9.jar new terminal $a2jmidid dave In Fantasia open the unpacked maestro gig file Create audio device and midi device in Fantasia (right) connect vkeybd to linuxsampler and linuxsample to system playback Google for linuxsampler and linuxjournal for more info I always get audio device can not be created
Posted by dave67 on Mon, 12/14/2009 - 14:56
try using kxstudio-team's
try using kxstudio-team's ppa (sudo add-apt-repository ppa:kxstudio-team/ppa). There's a version of linuxsampler in there that I know has JACK support wireless technoloy. If Fantasia doesn't have the option, try JSampler (also in that ppa) audio device.
Posted by Davidjames on Fri, 07/20/2012 - 12:21