Yes! works like a charm. I did a checkout of the following modules:
Code: Select all
# cvs -z3 -d:pserver:anonymous@cvs.linuxsampler.org:/var/cvs/linuxsampler co libgig
# cvs -z3 -d:pserver:anonymous@cvs.linuxsampler.org:/var/cvs/linuxsampler co linuxsampler
# cvs -z3 -d:pserver:anonymous@cvs.linuxsampler.org:/var/cvs/linuxsampler co gigedit
# cvs -z3 -d:pserver:anonymous@cvs.linuxsampler.org:/var/cvs/linuxsampler co jlscp
# cvs -z3 -d:pserver:anonymous@cvs.linuxsampler.org:/var/cvs/linuxsampler co jsampler
I then did the auto-tools dance within every subdir (for stuff that did not get copied or setup correctly I simply copied the relevant scripts from the stable version's tar.gz):
Code: Select all
# aclocal
# autoheader
# autoconf
# automake --add-missing
I then continued to ./configure; make; make install everything, in my case under /opt/linuxsampler. After succesfully building and installing the softwares, I made a little script to start fantasia with linuxsampler and a default.lscp script pre-loaded:
fantasia.sh:
Code: Select all
#!/bin/sh
export PATH=/opt/linuxsampler/bin:$PATH
/opt/linuxsampler/bin/linuxsampler &
sleep 2
cat /opt/linuxsampler/bin/default.lscp | socat - TCP4:localhost:8888
java -jar /opt/linuxsampler/lib/java/Fantasia-0.8a.jar
pkill linuxsampler
default.lscp:
Code: Select all
SET ECHO 1
CREATE AUDIO_OUTPUT_DEVICE JACK
SET AUDIO_OUTPUT_CHANNEL_PARAMETER 0 0 JACK_BINDINGS='alsa_pcm:playback_1'
SET AUDIO_OUTPUT_CHANNEL_PARAMETER 0 1 JACK_BINDINGS='alsa_pcm:playback_2'
CREATE MIDI_INPUT_DEVICE ALSA
#SET MIDI_INPUT_PORT_PARAMETER 0 0 ALSA_SEQ_BINDINGS='72:0'
ADD CHANNEL
LOAD ENGINE gig 0
SET CHANNEL AUDIO_OUTPUT_DEVICE 0 0
SET CHANNEL MIDI_INPUT_DEVICE 0 0
LOAD INSTRUMENT '/home/rubin/Music/LinuxSampler/maestro_concert_grand_v2.gig' 0 0
GET CHANNEL INFO 0
QUIT
When I want to fool around with linuxsampler, I simply start my jack setup with qjackctl, after that i fire up fantasia.sh and I can play music right away. Happiness!
Thanks for the pointers!
Rubin.