Welcome to %s forums

BrainModular Users Forum

Login Register

CC switch ?

I need help on a Patch
Post Reply
kara
Member
Posts: 106
Location: France - Bretagne
Contact:

Unread post by kara » 10 Sep 2007, 17:04

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
Free samples-vsti's-artist hosting at www.kara-moon.com
Music forum at www.kara-moon.com/forum

Did I mention how great Usine is ?

kara
Member
Posts: 106
Location: France - Bretagne
Contact:

Unread post by kara » 10 Sep 2007, 17:31

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
Free samples-vsti's-artist hosting at www.kara-moon.com
Music forum at www.kara-moon.com/forum

Did I mention how great Usine is ?

User avatar
senso
Site Admin
Posts: 4424
Location: France
Contact:

Unread post by senso » 10 Sep 2007, 19:03

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?

kara
Member
Posts: 106
Location: France - Bretagne
Contact:

Unread post by kara » 10 Sep 2007, 19:34

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
Free samples-vsti's-artist hosting at www.kara-moon.com
Music forum at www.kara-moon.com/forum

Did I mention how great Usine is ?

User avatar
senso
Site Admin
Posts: 4424
Location: France
Contact:

Unread post by senso » 10 Sep 2007, 20:14

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...

kara
Member
Posts: 106
Location: France - Bretagne
Contact:

Unread post by kara » 10 Sep 2007, 20:25

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
Free samples-vsti's-artist hosting at www.kara-moon.com
Music forum at www.kara-moon.com/forum

Did I mention how great Usine is ?

User avatar
senso
Site Admin
Posts: 4424
Location: France
Contact:

Unread post by senso » 10 Sep 2007, 21:26

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?

kara
Member
Posts: 106
Location: France - Bretagne
Contact:

Unread post by kara » 10 Sep 2007, 21:33

thanks, gonna work on this

k
Free samples-vsti's-artist hosting at www.kara-moon.com
Music forum at www.kara-moon.com/forum

Did I mention how great Usine is ?

Post Reply

Who is online

Users browsing this forum: No registered users and 32 guests