Page 1 of 1
Posted: 10 Sep 2007, 17:04
by kara
I've just paid a license for Usine, so I hope I'll become a premium memeber soon here
Would it be difficult to build a 4 position switch that switches in function from a CC range received
example:
0-32 : position 1
33-64 : position 2
65-96 : position 3
96-128 : position 4
tia
k
Posted: 10 Sep 2007, 17:31
by kara
Looks a bit stupid to answer my own post :/
It seems that a combination of a Mapper value & a selector could do this
Right ?
k
Posted: 10 Sep 2007, 19:03
by senso
kara wrote:Looks a bit stupid to answer my own post
No, it means that you're not only waiting for someone to give you the answer, but still searching yourself! cool!
Would it be difficult to build a 4 position switch that switches in function from a CC range received
I'm not sure I understand what you really need. Could you explain a little more precisely?
Posted: 10 Sep 2007, 19:34
by kara
ok here is what I what
- I have a midi in
- the midi stream has to go to a swith with one midi in and 4 midi out
- to the four midi out will be connected a vsti to each out
now depending on the CC received the swich sends to midi stream to one of the vsti's
CC 0 - 32 : to vsti 1
CC 33- 64 ; to vsti 2
...
tia
k
Posted: 10 Sep 2007, 20:14
by senso
The best way is to deal with flows.
You need 4x the Modules/Event Control/pass Event Flow
and test the range of the CC with Modules/math/logical:
A>B
A<=B
A and B
some thing like
if A>0 and A<=32 then pass the Midi flow.
repeated 4x
Also, probably a Midi Filter module to process test only on CC.
To go faster, create a Sub Patch that you repeat 4x...
Posted: 10 Sep 2007, 20:25
by kara
thanks Olivier
hmm... only that the CC would only be send by the master keyboard if i want tochange the routing and not with every note. If I want to keep the routing I would need some kind of a switch too that keeps the state of the last received CC
no ?
k
Posted: 10 Sep 2007, 21:26
by senso
just after the midi input, and before the midi filter you can and a [stop event flow] module connected to a switch to activate the the CC dispatch?
Posted: 10 Sep 2007, 21:33
by kara
thanks, gonna work on this
k