Re: [Qtractor-devel] Can't get more than 1 LinuxSampler track to work in Qtractor
An Audio/MIDI multi-track sequencer
Brought to you by:
rncbc
From: Frank N. <bea...@we...> - 2016-12-12 21:26:22
|
Hi Rui and all, > > not sure who is at fault here (likely me :-), but maybe some from the Qtractor > > community can help..I am trying to set up a simple session with Qtractor and > > LinuxSampler: 2 MIDI tracks, each holding an instance of LinuxSampler (LV2) as a > > plugin. When I attempt to load an .sfz file into the 2nd instance, I get an error message: > > > > The audio output device 'Plugin' cannot be dropped from this sampler channel! > > The MIDI input port 'Plugin' cannot be altered on this sampler channel! > > > > Let me describe what I am doing, step by step: > > > > - Start QJackctl, start JACK, start Qtractor > > - Qtractor: Create new track, type MIDI, add plugin -> LV2 -> LinuxSampler, confirm with ok > > - Start QSampler, click on that track, "Setup channel", select SFZ engine and some .sfz file, confirm with ok > > MIDI Input Type is "Plugin", Device: MIDI Plugin Device 0 > > Audio Output Type is "Plugin", Device: Audio Plugin Device 0 > > - Qtractor: Connect MIDI keyboard to Qtractor, play into that track > > > > = all fine so far = > > > > - Qtractor: Create another track, again type MIDI, add plugin -> LV2 -> LinuxSampler, confirm with ok > > - In QSampler, click on that track, "Setup channel", select SFZ engine and some other .sfz file, confirm with ok > > -> at this point QSampler says "Channel 1 Some channel settings could not be set. Sorry." > > and in Qtractor's console I see: > > Starting disk thread...OK > > EQ support: no > > Stopping disk thread...OK > > Starting disk thread...OK > > EQ support: no > > The audio output device 'Plugin' cannot be dropped from this sampler channel! > > The MIDI input port 'Plugin' cannot be altered on this sampler channel! > > > > though it then continues to say: > > ... > > Instantiating LADSPA effect 'triplePara'. > > LADSPA effect 'triplePara' activated. > > Scheduling '/tmp/x/wa_synth_drums/drum kits/sfz/z_all percussion dissonant hits.sfz' (Index=0) to be loaded in background (if not loaded yet). > > Loading sfz file '/tmp/x/wa_synth_drums/drum kits/sfz/z_all percussion dissonant hits.sfz'...OK > > Loading sfz instrument ('/tmp/x/wa_synth_drums/drum kits/sfz/z_all percussion dissonant hits.sfz',0)...OK > > Caching initial samples...OK > > > > Net effect is still that on this new track no audio is being played out. The > > first track continues to work fine. > > > > Used versions: > > - Qtractor 0.8.0 (built from Git on Dec 6th) > > - libgig, liblscp, linuxsampler, qsampler built from today's svn state > > > > Have I misunderstood something about how tracks and channels of Linuxsampler > > are supposed to work from within Qtractor? Do I need to change something in > > Qsampler before confirming the properties of a new channel? > > > > you probably missed the little secret part that MIDI channel numbers > must match each other, between qtractor MIDI tracks and corresponding > linuxsampler sampler channels. > > from the above you say nothing about which MIDI channel you set up the > second linuxsampler channel, which by default gets to MIDI channel 1 > while a second MIDI track in qtractor, most probably, gets to number 2. Oops, sorry for not stating that info. Yes, you are right, I used the "default" in LinuxSampler/qsampler which is channel 1. However, even if I change it to the same channel number (2 in this case) of the corresponding Qtractor track, the error is still there: 22:21:46.876 Channel 1 setup... 22:22:21.677 Channel 1 lscp_set_channel_audio_device: The audio output device 'Plugin' cannot be dropped from this sampler channel! (errno=100) 22:22:21.682 Channel 1 lscp_set_channel_midi_device: The MIDI input port 'Plugin' cannot be altered on this sampler channel! (errno=100) 22:22:21.686 Channel 1 MIDI port: 0. 22:22:21.688 Channel 1 MIDI channel: 1. 22:22:21.746 Channel 1 Engine: SFZ. What's a little irritating is that above it still says "MIDI channel: 1." but I guess Qsampler/LinuxSampler is starting to count from 0 since channel 3 would appear as "2" there. However, still no luck so far :-\. Does this kind of setup work for you? Thanks, Frank |