Bug 169 - EFFECT_INSTANCE: FX_SEND Outputs errors
Summary: EFFECT_INSTANCE: FX_SEND Outputs errors
Status: ASSIGNED
Alias: None
Product: LinuxSampler
Classification: Unclassified
Component: other (show other bugs)
Version: SVN Trunk
Hardware: PC Linux
: P5 normal
Assignee: Christian Schoenebeck
URL:
Depends on:
Blocks:
 
Reported: 2012-01-11 14:23 CET by Nicola Pandini
Modified: 2013-05-31 20:09 CEST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nicola Pandini 2012-01-11 14:23:21 CET
Hi,
If I set the outputs of an FX SEND (assigned to an EFFECT CHAIN) to outputs 2 and 3, I've got the following error:

Engine::RouteAudio() Error: invalid FX send (L) destination channel (0->2)



I'm using the following lscp script:

CREATE AUDIO_OUTPUT_DEVICE JACK ACTIVE=true CHANNELS=4 SAMPLERATE=44100 NAME='LinuxSampler'

SET AUDIO_OUTPUT_CHANNEL_PARAMETER 0 0 NAME='0'

SET AUDIO_OUTPUT_CHANNEL_PARAMETER 0 0 JACK_BINDINGS=NONE

SET AUDIO_OUTPUT_CHANNEL_PARAMETER 0 1 NAME='1'

SET AUDIO_OUTPUT_CHANNEL_PARAMETER 0 1 JACK_BINDINGS=NONE

SET AUDIO_OUTPUT_CHANNEL_PARAMETER 0 2 NAME='2'

SET AUDIO_OUTPUT_CHANNEL_PARAMETER 0 2 JACK_BINDINGS=NONE

SET AUDIO_OUTPUT_CHANNEL_PARAMETER 0 3 NAME='3'

SET AUDIO_OUTPUT_CHANNEL_PARAMETER 0 3 JACK_BINDINGS=NONE

ADD SEND_EFFECT_CHAIN 0

CREATE EFFECT_INSTANCE LADSPA '/usr/lib/ladspa/calf.so' 'Reverb'

APPEND SEND_EFFECT_CHAIN EFFECT 0 0 0



REMOVE MIDI_INSTRUMENT_MAP ALL



ADD CHANNEL

LOAD ENGINE SFZ 0

SET CHANNEL VOLUME 0 1.0

SET CHANNEL MIDI_INSTRUMENT_MAP 0 NONE

SET CHANNEL AUDIO_OUTPUT_DEVICE 0 0

SET CHANNEL AUDIO_OUTPUT_CHANNEL 0 0 0

SET CHANNEL AUDIO_OUTPUT_CHANNEL 0 1 1

LOAD INSTRUMENT NON_MODAL '/home/sfz_library/example.sfz' 0 0



CREATE FX_SEND 0 3 'New effect send'

SET FX_SEND LEVEL 0 0 1.0

SET FX_SEND AUDIO_OUTPUT_CHANNEL 0 0 0 2

SET FX_SEND AUDIO_OUTPUT_CHANNEL 0 0 1 3

SET FX_SEND EFFECT 0 0 0 0