ArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArray
BrainModularBrainModular Users Forum2007-03-26T05:59:15+02:00https://brainmodular.fr/forums/app.php/feed/topic/2962007-03-26T05:59:15+02:002007-03-26T05:59:15+02:00https://brainmodular.fr/forums/viewtopic.php?t=296&p=1513#p1513 Stop events flow in a script is one thing. To stop them in the forums... well... I guess you now know how to do. It's very quiet those days!
Statistics: Posted by Guest — 26 Mar 2007, 05:59
]]>2007-03-12T09:39:49+02:002007-03-12T09:39:49+02:00https://brainmodular.fr/forums/viewtopic.php?t=296&p=1449#p1449The real audio engine is very small and simple.
]]>2007-03-11T19:13:41+02:002007-03-11T19:13:41+02:00https://brainmodular.fr/forums/viewtopic.php?t=296&p=1446#p1446Statistics: Posted by bsork — 11 Mar 2007, 18:13
]]>
2007-03-11T10:51:12+02:002007-03-11T10:51:12+02:00https://brainmodular.fr/forums/viewtopic.php?t=296&p=1444#p1444 bsork, you are right: SetDataArrayValue is for inlets/outlets arr := x is for internal array's (assigned with setArrayLength)
Each inlet/outlet has an associated event (which is an array) so. Let say inlet.EVENT. (not really accesible in the script) Its length can be something like inlet.EVENT.LEN
]]>2007-03-11T05:53:20+02:002007-03-11T05:53:20+02:00https://brainmodular.fr/forums/viewtopic.php?t=296&p=1442#p1442Very clever, that lovely Wait One Cycle... and you too, btw!
Statistics: Posted by Guest — 11 Mar 2007, 04:53
]]>2007-03-11T01:40:34+02:002007-03-11T01:40:34+02:00https://brainmodular.fr/forums/viewtopic.php?t=296&p=1441#p1441 By using the "wait one" before the freeze input, the patch gets to send what it's supposed to send before it freezes by the start of the next cycle.
]]>2007-03-11T01:33:34+02:002007-03-11T01:33:34+02:00https://brainmodular.fr/forums/viewtopic.php?t=296&p=1440#p1440 I thought it was strange that I could put for instance audio - a typical array type of data - through the separate inputs, and still get the whole lot from the output, not just the first element.
While we're on the subject of arrays (I just can't let you have some peace, can I?): Are there any real difference between setting a value using SetDataArrayValue and assigning the value with arr := x? I've been using the former method to assign values to output parameters, and the latter to assign values to arrays used internally in the scripts.
]]>2007-03-10T17:37:15+02:002007-03-10T17:37:15+02:00https://brainmodular.fr/forums/viewtopic.php?t=296&p=1437#p1437 Again thanks for your questions and answers! Very formative.
About Freeze Event Module: could you be very precise when you say that it returns "the last value"? It appears to me that it was sending the last value before the last one, I had trouble with it and gave up to use it!
Thanks.
Statistics: Posted by Guest — 10 Mar 2007, 16:37
]]>2007-03-10T14:15:16+02:002007-03-10T14:15:16+02:00https://brainmodular.fr/forums/viewtopic.php?t=296&p=1436#p1436Time to give a short explanation?
a VALUE is a 32bits float a MIDI code is a set of four bytes: chan,msg,data1,dat2 (total=32bits) an EVENT is an array of values or MIDI codes.
For example, -a fader value EVENT is stored as an array of just one value (length=1) -an audio flow is stored as an array of sample with a length equal to the Bloc size (see asio setup) -a MIDI event is an array of midi codes with a total size that corresponds to the polyphony (number of codes at the same time).
If a control receives an empty event (length=0) it does nothing. It's the princip of "stop event flow'.
You can try yourself to put any flow in the array module to how it looks like. I know that I should talk about this kind of things in the manual (for experts like you). I need time. do you know where I could buy some?
]]>2007-03-10T11:18:24+02:002007-03-10T11:18:24+02:00https://brainmodular.fr/forums/viewtopic.php?t=296&p=1435#p1435 I thought the SetLength procedure was for arrays only, obviously not...
]]>2007-03-09T14:10:54+02:002007-03-09T14:10:54+02:00https://brainmodular.fr/forums/viewtopic.php?t=296&p=1427#p1427 hope I'm not bugging you with all my questions, but is there a way to simulate "stop event flow" on the outputs from the script?
]]>BrainModularBrainModular Users Forum2007-03-26T05:59:15+02:00https://brainmodular.fr/forums/app.php/feed/topic/2962007-03-26T05:59:15+02:002007-03-26T05:59:15+02:00https://brainmodular.fr/forums/viewtopic.php?t=296&p=1513#p1513 Stop events flow in a script is one thing. To stop them in the forums... well... I guess you now know how to do. It's very quiet those days!
Statistics: Posted by Guest — 26 Mar 2007, 05:59
]]>2007-03-12T09:39:49+02:002007-03-12T09:39:49+02:00https://brainmodular.fr/forums/viewtopic.php?t=296&p=1449#p1449The real audio engine is very small and simple.
]]>2007-03-11T19:13:41+02:002007-03-11T19:13:41+02:00https://brainmodular.fr/forums/viewtopic.php?t=296&p=1446#p1446Statistics: Posted by bsork — 11 Mar 2007, 18:13
]]>2007-03-11T10:51:12+02:002007-03-11T10:51:12+02:00https://brainmodular.fr/forums/viewtopic.php?t=296&p=1444#p1444 bsork, you are right: SetDataArrayValue is for inlets/outlets arr := x is for internal array's (assigned with setArrayLength)
Each inlet/outlet has an associated event (which is an array) so. Let say inlet.EVENT. (not really accesible in the script) Its length can be something like inlet.EVENT.LEN
]]>2007-03-11T05:53:20+02:002007-03-11T05:53:20+02:00https://brainmodular.fr/forums/viewtopic.php?t=296&p=1442#p1442Very clever, that lovely Wait One Cycle... and you too, btw!
Statistics: Posted by Guest — 11 Mar 2007, 04:53
]]>2007-03-11T01:40:34+02:002007-03-11T01:40:34+02:00https://brainmodular.fr/forums/viewtopic.php?t=296&p=1441#p1441 By using the "wait one" before the freeze input, the patch gets to send what it's supposed to send before it freezes by the start of the next cycle.
]]>2007-03-11T01:33:34+02:002007-03-11T01:33:34+02:00https://brainmodular.fr/forums/viewtopic.php?t=296&p=1440#p1440 I thought it was strange that I could put for instance audio - a typical array type of data - through the separate inputs, and still get the whole lot from the output, not just the first element.
While we're on the subject of arrays (I just can't let you have some peace, can I?): Are there any real difference between setting a value using SetDataArrayValue and assigning the value with arr := x? I've been using the former method to assign values to output parameters, and the latter to assign values to arrays used internally in the scripts.
]]>2007-03-10T17:37:15+02:002007-03-10T17:37:15+02:00https://brainmodular.fr/forums/viewtopic.php?t=296&p=1437#p1437 Again thanks for your questions and answers! Very formative.
About Freeze Event Module: could you be very precise when you say that it returns "the last value"? It appears to me that it was sending the last value before the last one, I had trouble with it and gave up to use it!
Thanks.
Statistics: Posted by Guest — 10 Mar 2007, 16:37
]]>2007-03-10T14:15:16+02:002007-03-10T14:15:16+02:00https://brainmodular.fr/forums/viewtopic.php?t=296&p=1436#p1436Time to give a short explanation?
a VALUE is a 32bits float a MIDI code is a set of four bytes: chan,msg,data1,dat2 (total=32bits) an EVENT is an array of values or MIDI codes.
For example, -a fader value EVENT is stored as an array of just one value (length=1) -an audio flow is stored as an array of sample with a length equal to the Bloc size (see asio setup) -a MIDI event is an array of midi codes with a total size that corresponds to the polyphony (number of codes at the same time).
If a control receives an empty event (length=0) it does nothing. It's the princip of "stop event flow'.
You can try yourself to put any flow in the array module to how it looks like. I know that I should talk about this kind of things in the manual (for experts like you). I need time. do you know where I could buy some?
]]>2007-03-10T11:18:24+02:002007-03-10T11:18:24+02:00https://brainmodular.fr/forums/viewtopic.php?t=296&p=1435#p1435 I thought the SetLength procedure was for arrays only, obviously not...
]]>2007-03-09T14:10:54+02:002007-03-09T14:10:54+02:00https://brainmodular.fr/forums/viewtopic.php?t=296&p=1427#p1427 hope I'm not bugging you with all my questions, but is there a way to simulate "stop event flow" on the outputs from the script?