ArrayArrayArray BrainModular BrainModular Users Forum 2019-01-09T22:36:59+02:00 https://brainmodular.com/forums/app.php/feed/topic/6374 2019-01-09T22:36:59+02:00 2019-01-09T22:36:59+02:00 https://brainmodular.com/forums/viewtopic.php?t=6374&p=40687#p40687 <![CDATA['Get number of current voices' from midi input notes]]> so can use =144 to create an array that will look here like 1,1,1. a sum array out of that give you 3 notes on currently received. (144 beeing not on code)
if say messages receive where 144,128,144, would return you 2.
if need to track over time which note have been on/off, that quite more complex. not sur a script exist currently..

Statistics: Posted by 23fx23 — 09 Jan 2019, 21:36


]]>
2019-01-09T22:28:07+02:00 2019-01-09T22:28:07+02:00 https://brainmodular.com/forums/viewtopic.php?t=6374&p=40686#p40686 <![CDATA['Get number of current voices' from midi input notes]]>
Midi In (code1) -> Array Queue (Gets reset on Note Off) -> Get Size Arr = Actual number of voices played right now.

It's a bit shaky and not ideal but might work for now.
If anyone has a better idea, please let me know...

Statistics: Posted by lytz1 — 09 Jan 2019, 21:28


]]>
2019-01-09T22:09:34+02:00 2019-01-09T22:09:34+02:00 https://brainmodular.com/forums/viewtopic.php?t=6374&p=40684#p40684 <![CDATA['Get number of current voices' from midi input notes]]>

I am sorry, have another one here where I could use some help.

There might be already a script or module for that outthere
or another workadound. If so please point me there.

On midi input: I need to get number of voices that are played
as a simple integer data number, so when a three note chord is played,
I get a 3 as result. I need that number to dynamically set the size of several arrays.

I couldn't find anything yet that does that but this seems to be so basic that
I might have overlooked something.

Any ideas?

Thanks,
tL.

Statistics: Posted by lytz1 — 09 Jan 2019, 21:09


]]>
BrainModular BrainModular Users Forum 2019-01-09T22:36:59+02:00 https://brainmodular.com/forums/app.php/feed/topic/6374 2019-01-09T22:36:59+02:00 2019-01-09T22:36:59+02:00 https://brainmodular.com/forums/viewtopic.php?t=6374&p=40687#p40687 <![CDATA['Get number of current voices' from midi input notes]]> so can use =144 to create an array that will look here like 1,1,1. a sum array out of that give you 3 notes on currently received. (144 beeing not on code)
if say messages receive where 144,128,144, would return you 2.
if need to track over time which note have been on/off, that quite more complex. not sur a script exist currently..

Statistics: Posted by 23fx23 — 09 Jan 2019, 21:36


]]>
2019-01-09T22:28:07+02:00 2019-01-09T22:28:07+02:00 https://brainmodular.com/forums/viewtopic.php?t=6374&p=40686#p40686 <![CDATA['Get number of current voices' from midi input notes]]>
Midi In (code1) -> Array Queue (Gets reset on Note Off) -> Get Size Arr = Actual number of voices played right now.

It's a bit shaky and not ideal but might work for now.
If anyone has a better idea, please let me know...

Statistics: Posted by lytz1 — 09 Jan 2019, 21:28


]]>
2019-01-09T22:09:34+02:00 2019-01-09T22:09:34+02:00 https://brainmodular.com/forums/viewtopic.php?t=6374&p=40684#p40684 <![CDATA['Get number of current voices' from midi input notes]]>

I am sorry, have another one here where I could use some help.

There might be already a script or module for that outthere
or another workadound. If so please point me there.

On midi input: I need to get number of voices that are played
as a simple integer data number, so when a three note chord is played,
I get a 3 as result. I need that number to dynamically set the size of several arrays.

I couldn't find anything yet that does that but this seems to be so basic that
I might have overlooked something.

Any ideas?

Thanks,
tL.

Statistics: Posted by lytz1 — 09 Jan 2019, 21:09


]]>