Page 1 of 1

Can't Run LinuxSampler and Ardour at the Same Time

Posted: Tue Jul 26, 2011 6:52 am
by Tux Toledo
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

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

Posted: Tue Jul 26, 2011 9:13 am
by Tux Toledo
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?

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

Posted: Wed Jul 27, 2011 6:03 am
by Alex
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.

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

Posted: Thu Jul 28, 2011 2:35 am
by Tux Toledo
Rebuilt LS and that solved the problem. Thanks for the help.

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

Posted: Thu Jul 28, 2011 5:58 pm
by Alex
Tux Toledo wrote:Rebuilt LS and that solved the problem. Thanks for the help.
You're welcome.

Alex.