On Monday 10 February 2014 14:34:23 Christian Schoenebeck wrote:
> On Monday 10 February 2014 15:15:23 you wrote:
> > What i want to use LSCP for is to mute and unmute a single sampler
> > channel by a program change..
> > 
> > How program changes works:
> > *192* 2 - change the program (sound) on MIDI channel 1 to program #2
> > and
> > *192* 1 - change the program (sound) on MIDI channel 1 to program #1
> > 
> > So what i wanted to do is the folowing:
> > 
> > when i recive
> > "192 2" : "SET CHANNEL MUTE 0 1"
> > "192 1" : "SET CHANNEL MUTE 0 0"
> > 
> > do you know if there is a better way (with higher priority to do so)..
> 
> Sounds a bit odd. Can you elaborate the intended use case for this? So far,
> if I got it correctly, you simply want to switch MIDI input from one
> sampler part to another sampler part. If so, why don't you do "REMOVE
> CHANNEL MIDI_INPUT", "ADD CHANNEL MIDI_INPUT"?

And also note: you can define a "load strategy" for sounds. So you can i.e.
keep certain sounds always cached, even if not used by any sampler part ATM,
which allows you to do program changes on a sampler part immediately, without
having to wait for load gaps. Have a look at this section:

http://www.linuxsampler.org/api/draft-linuxsampler-protocol.html#MIDI%20Instrument%20Mapping

My guess is that this is what you actually intended to approach.

CU
Christian

------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk
_______________________________________________
Linuxsampler-devel mailing list
Linuxsampler-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxsampler-devel

Reply via email to