Can't Run LinuxSampler and Ardour at the Same Time

You're new to the LinuxSampler world? You don't know where to start and nothing works? Here's the place to ask for help.
Post Reply
Tux Toledo
Newbie
Posts: 5
Joined: Tue Jul 26, 2011 6:50 am

Can't Run LinuxSampler and Ardour at the Same Time

Post by Tux Toledo » Tue Jul 26, 2011 6:52 am

I'm trying to use LinuxSampler with Ardour and here's the situation I'm running into:

Environment:
Ardour 2.8
UbuntuStudio: 10.4
linuxsampler: 1.0.0
Fantasia 0.9

1. I start JSampler Fantasia from /home/david/LinuxSampler. I have Fantasia set up to start linuxsamper.
2. I create MIDI and Audio devices in Fantasia
3. I load the instrument.
4. At this point I can use Fantasia's virtual keyboard to play the instrument.

Now, I'd like to use linuxsampler in Ardour. So, with Fantasia still running (I'm assuming I need to keep it running so it shows up in JACK's connection manager, I start Ardour from the launch menu and get the message that Ardour could not start JACK. linuxsampler still has the hardware device (hw:0). If I reverse the procedure and start Ardour first, then I cannot create an Audio Device in Fantasia because Ardour has the device.

Also, Fantasia does not let me select JACK as the driver when I create an Audio Device, it only allows ALSA.

How can I get Ardour and linuxsampler to co-exist?

Thanks

Tux Toledo
Newbie
Posts: 5
Joined: Tue Jul 26, 2011 6:50 am

Re: Can't Run LinuxSampler and Ardour at the Same Time

Post by Tux Toledo » Tue Jul 26, 2011 9:13 am

Another piece of information - I ran LIST AVAILABLE_AUDIO_OUTPUT_DRIVERS and it returned only ALSA, not JACK. How do I get linuxsampler to recognize JACK? Could JACK have been installed incorrectly?

Alex
Moderator
Posts: 316
Joined: Wed Jan 23, 2008 9:08 pm

Re: Can't Run LinuxSampler and Ardour at the Same Time

Post by Alex » Wed Jul 27, 2011 6:03 am

Sounds like you've built LS without jack support.

If LS is only built with alsa, then it will grab the HW device, which is normal alsa behaviour, for any alsa app.

Try rebuilding LS with both jack and alsa.

Alex.

Tux Toledo
Newbie
Posts: 5
Joined: Tue Jul 26, 2011 6:50 am

Re: Can't Run LinuxSampler and Ardour at the Same Time

Post by Tux Toledo » Thu Jul 28, 2011 2:35 am

Rebuilt LS and that solved the problem. Thanks for the help.

Alex
Moderator
Posts: 316
Joined: Wed Jan 23, 2008 9:08 pm

Re: Can't Run LinuxSampler and Ardour at the Same Time

Post by Alex » Thu Jul 28, 2011 5:58 pm

Tux Toledo wrote:Rebuilt LS and that solved the problem. Thanks for the help.
You're welcome.

Alex.

Post Reply