Christian,

I just tried the internal effects stuff a bit. The test was "can I 
create a working effect without reading the manual?" :). The test 
unfortunately ended with an infinite stream of error messages from LS.

I started by creating devices:

CREATE AUDIO_OUTPUT_DEVICE JACK
CREATE MIDI_INPUT_DEVICE JACK

and a channel:

ADD CHANNEL
LOAD ENGINE gig 0
SET CHANNEL AUDIO_OUTPUT_DEVICE 0 0
SET CHANNEL MIDI_INPUT_DEVICE 0 0

I tested the get info functions, which worked fine, and found a delay at 
position 5. I created an instance of it:

CREATE EFFECT_INSTANCE 5

I guess I need an effect chain to put that instance in:

ADD SEND_EFFECT_CHAIN 0
APPEND SEND_EFFECT_CHAIN EFFECT 0 0 0

I then tried to use the effect from my sampler channel:

SET FX_SEND EFFECT 0 0 0 0

but I got an error:

ERR:0:There is no FxSend with that ID on the given sampler channel

Unsure what to do about it, I used the old command for FX send:

CREATE FX_SEND 0 91

and then, again:

SET FX_SEND EFFECT 0 0 0 0

This gave me OK back, but LS started to print errors:

Error: invalid FX send (R) destination channel 
(1->1)Engine::RouteAudio() Error: invalid FX send (R) destination 
channel (1->1)Engine::RouteAudio() Error: invalid FX send (R) 
destination channel (1->1)Engine::RouteAudio() Error: invalid FX send 
(R) destination channel (1->1)...


So, I missed something on how the fx are supposed to work, and/or 
there's something missing in the error handling - can't the error be 
detected when the faulty lscp command is executed instead of from the 
audio loop?

/Andreas

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Linuxsampler-devel mailing list
Linuxsampler-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxsampler-devel

Reply via email to