Multiple data routing
I've got a problem, i'm not able to resolve:
I've got a data stream (for example 35, 42 and 47). They can arrive in my patch nearly at the same time. Each values are routed to a different data outlet ( for example 35 to out 1, 42 to out 2, 47 to out 3). No problem with this, i've been able to do it with a counter and a dispatch module...
But the same values arrive a second time, with a different order. How can i send these values to the same data output as the first ones?
I've got a data stream (for example 35, 42 and 47). They can arrive in my patch nearly at the same time. Each values are routed to a different data outlet ( for example 35 to out 1, 42 to out 2, 47 to out 3). No problem with this, i've been able to do it with a counter and a dispatch module...
But the same values arrive a second time, with a different order. How can i send these values to the same data output as the first ones?
Seb.Dub
put them in an array and try to use the 'sort-array' module?
Olivier Sens
www.brainmodular.com
www.brainmodular.com
I've tried to do it this way, and it didn't worked the way i wanted...I'm going to try again...
Seb.Dub
what about a
=
and a
pass event flow
ex :
if A = 35 , pass to out 1....
if B = 42 pass to out 2
?
=
and a
pass event flow
ex :
if A = 35 , pass to out 1....
if B = 42 pass to out 2
?
I've tried also nay-seven...
But i start to believe that it does not come from my subpatch
But i start to believe that it does not come from my subpatch
Seb.Dub
I forgot to say that i've got to different kind of data out...The first flows goes to the first set, and the second flow to the second set of data out.
Setting A=B with the block parameter on seems to solve the problem i was encountering.
Thanks for your help
When my patch will be ready, i will post a midisampler with polyphony.
Setting A=B with the block parameter on seems to solve the problem i was encountering.
Thanks for your help
When my patch will be ready, i will post a midisampler with polyphony.
Seb.Dub
I have not been able to solve the problem entirely. Here is a screenshot of the subpatch to be able to play the midi sample with polyphony:
One "midi filter" (up in this image) filters note on, and the other one note off.
This subpatch is linked to three piano roll (or more). The three "play" data outlet to the inlet "play" of each piano roll, and the same for the 3 "stop" outlet to the 3 "stop" inlet of the piano rolls. Pitch is treated outside of this patch with some "change scale module"....
I'm not able to play chords and i doesn't understand why!!! Do you see another way to do this?
One "midi filter" (up in this image) filters note on, and the other one note off.
This subpatch is linked to three piano roll (or more). The three "play" data outlet to the inlet "play" of each piano roll, and the same for the 3 "stop" outlet to the 3 "stop" inlet of the piano rolls. Pitch is treated outside of this patch with some "change scale module"....
I'm not able to play chords and i doesn't understand why!!! Do you see another way to do this?
Seb.Dub
I've found what's wrong...
The problem is coming either from the midi in or the midi filter module.
If you play a triad chord (i've put a counter to observe this):
- the outlet "send" from the midi filter module does not always send three "impulses".
-the outlet "receive" from the midi in seems to react in the same manner than the midi filter.
I have activated the unpack fonction but it did not solve the problem
I've set global speed to the lower settings possible in asio set up.
Do you encounter the same problem fellow usiners, or does it come from my midi hardware?
The problem is coming either from the midi in or the midi filter module.
If you play a triad chord (i've put a counter to observe this):
- the outlet "send" from the midi filter module does not always send three "impulses".
-the outlet "receive" from the midi in seems to react in the same manner than the midi filter.
I have activated the unpack fonction but it did not solve the problem
I've set global speed to the lower settings possible in asio set up.
Do you encounter the same problem fellow usiners, or does it come from my midi hardware?
Seb.Dub
... So Ive test for debugging:
sending trial chord from live , just simple midi in module, i can catch only 2 notes max.
tested as well unpack and lowest bloc calculation, seems to confirm the pb....
sending trial chord from live , just simple midi in module, i can catch only 2 notes max.
tested as well unpack and lowest bloc calculation, seems to confirm the pb....
Hi,
Maybe you shoulc try with the "midi dispatcher" script, to dispatch your polyphonic message into monophinic ones as soon as it enters the patch. Then you simply deal with each mono message to achieve what you want.
Hope it can help.
Regards,
B.
Maybe you shoulc try with the "midi dispatcher" script, to dispatch your polyphonic message into monophinic ones as soon as it enters the patch. Then you simply deal with each mono message to achieve what you want.
Hope it can help.
Regards,
B.
The midi dispatcher doesn't seem to work for my need 
thanks anyway Bmoussay
thanks anyway Bmoussay
Seb.Dub
Who is online
Users browsing this forum: No registered users and 19 guests
