ArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArray BrainModular BrainModular Users Forum 2010-09-24T18:01:25+02:00 https://www.brainmodular.com/forums/app.php/feed/topic/2451 2010-09-24T18:01:25+02:00 2010-09-24T18:01:25+02:00 https://www.brainmodular.com/forums/viewtopic.php?t=2451&p=16025#p16025 <![CDATA[hold event]]> Statistics: Posted by 23fx23 — 24 Sep 2010, 18:01


]]>
2010-09-24T17:52:43+02:00 2010-09-24T17:52:43+02:00 https://www.brainmodular.com/forums/viewtopic.php?t=2451&p=16024#p16024 <![CDATA[hold event]]>
"Ho ! My God ! "

This 5.3 are dream !

Best

Statistics: Posted by multiphone — 24 Sep 2010, 17:52


]]>
2010-09-24T16:59:17+02:00 2010-09-24T16:59:17+02:00 https://www.brainmodular.com/forums/viewtopic.php?t=2451&p=16023#p16023 <![CDATA[hold event]]>
More efficient?!? Wow - things have changed more than I thought!
Yes especially if most of the code is in the Callback procedure.
Actually there is a bottle neck, in multicore CPU: only one script can be executed at the same time. but will disappear in the 5.30

Statistics: Posted by senso — 24 Sep 2010, 16:59


]]>
2010-09-24T14:12:16+02:00 2010-09-24T14:12:16+02:00 https://www.brainmodular.com/forums/viewtopic.php?t=2451&p=16021#p16021 <![CDATA[hold event]]>
The movement are quite interesting and unexpected.

Image

Not to bad

Best...

Statistics: Posted by multiphone — 24 Sep 2010, 14:12


]]>
2010-09-24T00:02:04+02:00 2010-09-24T00:02:04+02:00 https://www.brainmodular.com/forums/viewtopic.php?t=2451&p=16011#p16011 <![CDATA[hold event]]> More efficient?!? Wow - things have changed more than I thought!

Statistics: Posted by bsork — 24 Sep 2010, 00:02


]]>
2010-09-23T23:08:06+02:00 2010-09-23T23:08:06+02:00 https://www.brainmodular.com/forums/viewtopic.php?t=2451&p=16010#p16010 <![CDATA[hold event]]> Statistics: Posted by 23fx23 — 23 Sep 2010, 23:08


]]>
2010-09-23T22:31:34+02:00 2010-09-23T22:31:34+02:00 https://www.brainmodular.com/forums/viewtopic.php?t=2451&p=16008#p16008 <![CDATA[hold event]]> the main drawback of scrips is that it generally take more memory than it should.
That's why I prepare the concept of 'compiled script'. It will be a script but without any possible modification. Much more light...

Statistics: Posted by senso — 23 Sep 2010, 22:31


]]>
2010-09-23T22:08:49+02:00 2010-09-23T22:08:49+02:00 https://www.brainmodular.com/forums/viewtopic.php?t=2451&p=16005#p16005 <![CDATA[hold event]]> Statistics: Posted by bsork — 23 Sep 2010, 22:08


]]>
2010-09-23T21:24:19+02:00 2010-09-23T21:24:19+02:00 https://www.brainmodular.com/forums/viewtopic.php?t=2451&p=16001#p16001 <![CDATA[hold event]]>
for info the 'math/variable' and 'math/multipleVariable' are kind of 'hold event' but without time management.

Statistics: Posted by senso — 23 Sep 2010, 21:24


]]>
2010-09-23T21:07:16+02:00 2010-09-23T21:07:16+02:00 https://www.brainmodular.com/forums/viewtopic.php?t=2451&p=15999#p15999 <![CDATA[hold event]]>
Maybe i'had read the first guru message too fast :rolleyes:

Anyway, may be usefull, thanks!

Statistics: Posted by ethnix73 — 23 Sep 2010, 21:07


]]>
2010-09-23T00:13:58+02:00 2010-09-23T00:13:58+02:00 https://www.brainmodular.com/forums/viewtopic.php?t=2451&p=15983#p15983 <![CDATA[hold event]]>

Statistics: Posted by 23fx23 — 23 Sep 2010, 00:13


]]>
2010-09-22T23:35:18+02:00 2010-09-22T23:35:18+02:00 https://www.brainmodular.com/forums/viewtopic.php?t=2451&p=15981#p15981 <![CDATA[hold event]]> Lets see.... how about modulating individual step durations or creating random evolving value mutations...?

Generally I see being able to hold values open in a 'gate' fashion as a utilty kind of thing.
One example that I have put into immediate use is that when I send Usine a SAVE_PATCH command, I need to ensure the patch is saved with a audio bus names that aren't in use when the patch loads, so when I press save, the bus names change to 'x', the patch saves and then after the set duration the bus names are set back to normal. If I like I could use the reset value to trigger the next patch to save using the same conditions... Probably coulda patched this some other way but this was nice n' easy.

Statistics: Posted by gurulogic — 22 Sep 2010, 23:35


]]>
2010-09-22T16:53:24+02:00 2010-09-22T16:53:24+02:00 https://www.brainmodular.com/forums/viewtopic.php?t=2451&p=15973#p15973 <![CDATA[hold event]]> othewise yes a pass with clock would do about the same, btw more handy on on only one module.
curious about guru and ethnix uses also...i guess they were after the reset value too, but what for??

Statistics: Posted by 23fx23 — 22 Sep 2010, 16:53


]]>
2010-09-22T16:45:57+02:00 2010-09-22T16:45:57+02:00 https://www.brainmodular.com/forums/viewtopic.php?t=2451&p=15972#p15972 <![CDATA[hold event]]> Statistics: Posted by noise2sine — 22 Sep 2010, 16:45


]]>
2010-09-22T15:54:34+02:00 2010-09-22T15:54:34+02:00 https://www.brainmodular.com/forums/viewtopic.php?t=2451&p=15970#p15970 <![CDATA[hold event]]> a slow random generator for drone or pads..

Image

Statistics: Posted by nay-seven — 22 Sep 2010, 15:54


]]>
2010-09-22T13:25:29+02:00 2010-09-22T13:25:29+02:00 https://www.brainmodular.com/forums/viewtopic.php?t=2451&p=15965#p15965 <![CDATA[hold event]]>

Enlighten us!

Statistics: Posted by bsork — 22 Sep 2010, 13:25


]]>
2010-09-22T12:56:04+02:00 2010-09-22T12:56:04+02:00 https://www.brainmodular.com/forums/viewtopic.php?t=2451&p=15963#p15963 <![CDATA[hold event]]>
but just by curiosity, any exemple application?

Statistics: Posted by 23fx23 — 22 Sep 2010, 12:56


]]>
2010-09-22T12:48:58+02:00 2010-09-22T12:48:58+02:00 https://www.brainmodular.com/forums/viewtopic.php?t=2451&p=15961#p15961 <![CDATA[hold event]]> I've yet found utility to this one too !

Statistics: Posted by nay-seven — 22 Sep 2010, 12:48


]]>
2010-09-22T11:44:11+02:00 2010-09-22T11:44:11+02:00 https://www.brainmodular.com/forums/viewtopic.php?t=2451&p=15956#p15956 <![CDATA[hold event]]> I think the above script should definately be bundled with the next usine update. So very usefull!!!

Statistics: Posted by gurulogic — 22 Sep 2010, 11:44


]]>
2010-09-22T11:36:06+02:00 2010-09-22T11:36:06+02:00 https://www.brainmodular.com/forums/viewtopic.php?t=2451&p=15955#p15955 <![CDATA[hold event]]> Statistics: Posted by bsork — 22 Sep 2010, 11:36


]]>
2010-09-22T11:24:53+02:00 2010-09-22T11:24:53+02:00 https://www.brainmodular.com/forums/viewtopic.php?t=2451&p=15954#p15954 <![CDATA[hold event]]> Not to look a gift horse in the mouth but would a version that worked with midi be too hard to adapt from this? I presume the reset value would be a midi note off for the current note out, or alternativly a 'stop' outlet that could trigger a create midi module.

Either way, this is going in my 'very usefull' folder ~:>)

Statistics: Posted by gurulogic — 22 Sep 2010, 11:24


]]>
2010-09-22T10:59:59+02:00 2010-09-22T10:59:59+02:00 https://www.brainmodular.com/forums/viewtopic.php?t=2451&p=15953#p15953 <![CDATA[hold event]]>

CODE:

VAR pInValue, pOutValue, pResetValue, pHoldTime, pIgnoreWhileHold &#58; tParameter;VAR lastTime &#58; Single;VAR holding &#58; Boolean;PROCEDURE Init;BEGIN   pInValue &#58;= CreateParam&#40;'value in', ptDataField&#41;; SetIsOutput&#40;pInValue, FALSE&#41;;   pOutValue &#58;= CreateParam&#40;'value out', ptDataField&#41;; SetIsInput&#40;pOutValue, FALSE&#41;;   pResetValue &#58;= CreateParam&#40;'reset value', ptDataField&#41;; SetIsOutput&#40;pResetValue, FALSE&#41;;      pHoldTime &#58;= CreateParam&#40;'hold time', ptDataFader&#41;; SetIsOutput&#40;pHoldTime, FALSE&#41;;   SetSymbol&#40;pHoldTime, 'ms'&#41;;   SetMin&#40;pHoldTime, 0&#41;; SetMax&#40;pHoldTime, 10000&#41;;   pIgnoreWhileHold &#58;= CreateParam&#40;'ignore new', ptSwitch&#41;; SetIsOutput&#40;pIgnoreWhileHold, FALSE&#41;;   holding &#58;= FALSE;END; // InitPROCEDURE Callback&#40;n &#58; Integer&#41;;BEGIN   IF &#40;n = pInvalue&#41; THEN BEGIN      IF &#40;&#40;GetValue&#40;pIgnoreWhileHold&#41; = 0&#41; OR &#40;NOT holding&#41;&#41; THEN BEGIN         SetValue&#40;pOutValue, GetValue&#40;pInValue&#41;&#41;;         lastTime &#58;= TimeMs;         holding &#58;= TRUE;      END;   END;END; // CallbackPROCEDURE Process;BEGIN   IF &#40;&#40;holding&#41; AND &#40;&#40;TimeMs - lastTime&#41; >= GetValue&#40;pHoldTime&#41;&#41;&#41; THEN BEGIN      SetValue&#40;pOutValue, GetValue&#40;pResetValue&#41;&#41;;      holding &#58;= FALSE;   END;END; // Process

Statistics: Posted by bsork — 22 Sep 2010, 10:59


]]>
2010-09-22T10:07:08+02:00 2010-09-22T10:07:08+02:00 https://www.brainmodular.com/forums/viewtopic.php?t=2451&p=15950#p15950 <![CDATA[hold event]]>
This would be really useful gurulogic, agree with you...for myself, It's the main difficulty with monome and launchpad.

Statistics: Posted by ethnix73 — 22 Sep 2010, 10:07


]]>
2010-09-22T09:39:39+02:00 2010-09-22T09:39:39+02:00 https://www.brainmodular.com/forums/viewtopic.php?t=2451&p=15948#p15948 <![CDATA[hold event]]> ) )

Statistics: Posted by nay-seven — 22 Sep 2010, 09:39


]]>
2010-09-22T09:28:24+02:00 2010-09-22T09:28:24+02:00 https://www.brainmodular.com/forums/viewtopic.php?t=2451&p=15946#p15946 <![CDATA[hold event]]>
One more option for the module could be to reset the timer every time a new value was received or else play the entire 'last value', ignoring any new input values untill timed out.

I'm sure this is patchable but I think this function in a single module would be very usefull.

Statistics: Posted by gurulogic — 22 Sep 2010, 09:28


]]>
BrainModular BrainModular Users Forum 2010-09-24T18:01:25+02:00 https://www.brainmodular.com/forums/app.php/feed/topic/2451 2010-09-24T18:01:25+02:00 2010-09-24T18:01:25+02:00 https://www.brainmodular.com/forums/viewtopic.php?t=2451&p=16025#p16025 <![CDATA[hold event]]> Statistics: Posted by 23fx23 — 24 Sep 2010, 18:01


]]>
2010-09-24T17:52:43+02:00 2010-09-24T17:52:43+02:00 https://www.brainmodular.com/forums/viewtopic.php?t=2451&p=16024#p16024 <![CDATA[hold event]]>
"Ho ! My God ! "

This 5.3 are dream !

Best

Statistics: Posted by multiphone — 24 Sep 2010, 17:52


]]>
2010-09-24T16:59:17+02:00 2010-09-24T16:59:17+02:00 https://www.brainmodular.com/forums/viewtopic.php?t=2451&p=16023#p16023 <![CDATA[hold event]]>
More efficient?!? Wow - things have changed more than I thought!
Yes especially if most of the code is in the Callback procedure.
Actually there is a bottle neck, in multicore CPU: only one script can be executed at the same time. but will disappear in the 5.30

Statistics: Posted by senso — 24 Sep 2010, 16:59


]]>
2010-09-24T14:12:16+02:00 2010-09-24T14:12:16+02:00 https://www.brainmodular.com/forums/viewtopic.php?t=2451&p=16021#p16021 <![CDATA[hold event]]>
The movement are quite interesting and unexpected.

Image

Not to bad

Best...

Statistics: Posted by multiphone — 24 Sep 2010, 14:12


]]>
2010-09-24T00:02:04+02:00 2010-09-24T00:02:04+02:00 https://www.brainmodular.com/forums/viewtopic.php?t=2451&p=16011#p16011 <![CDATA[hold event]]> More efficient?!? Wow - things have changed more than I thought!

Statistics: Posted by bsork — 24 Sep 2010, 00:02


]]>
2010-09-23T23:08:06+02:00 2010-09-23T23:08:06+02:00 https://www.brainmodular.com/forums/viewtopic.php?t=2451&p=16010#p16010 <![CDATA[hold event]]> Statistics: Posted by 23fx23 — 23 Sep 2010, 23:08


]]>
2010-09-23T22:31:34+02:00 2010-09-23T22:31:34+02:00 https://www.brainmodular.com/forums/viewtopic.php?t=2451&p=16008#p16008 <![CDATA[hold event]]> the main drawback of scrips is that it generally take more memory than it should.
That's why I prepare the concept of 'compiled script'. It will be a script but without any possible modification. Much more light...

Statistics: Posted by senso — 23 Sep 2010, 22:31


]]>
2010-09-23T22:08:49+02:00 2010-09-23T22:08:49+02:00 https://www.brainmodular.com/forums/viewtopic.php?t=2451&p=16005#p16005 <![CDATA[hold event]]> Statistics: Posted by bsork — 23 Sep 2010, 22:08


]]>
2010-09-23T21:24:19+02:00 2010-09-23T21:24:19+02:00 https://www.brainmodular.com/forums/viewtopic.php?t=2451&p=16001#p16001 <![CDATA[hold event]]>
for info the 'math/variable' and 'math/multipleVariable' are kind of 'hold event' but without time management.

Statistics: Posted by senso — 23 Sep 2010, 21:24


]]>
2010-09-23T21:07:16+02:00 2010-09-23T21:07:16+02:00 https://www.brainmodular.com/forums/viewtopic.php?t=2451&p=15999#p15999 <![CDATA[hold event]]>
Maybe i'had read the first guru message too fast :rolleyes:

Anyway, may be usefull, thanks!

Statistics: Posted by ethnix73 — 23 Sep 2010, 21:07


]]>
2010-09-23T00:13:58+02:00 2010-09-23T00:13:58+02:00 https://www.brainmodular.com/forums/viewtopic.php?t=2451&p=15983#p15983 <![CDATA[hold event]]>

Statistics: Posted by 23fx23 — 23 Sep 2010, 00:13


]]>
2010-09-22T23:35:18+02:00 2010-09-22T23:35:18+02:00 https://www.brainmodular.com/forums/viewtopic.php?t=2451&p=15981#p15981 <![CDATA[hold event]]> Lets see.... how about modulating individual step durations or creating random evolving value mutations...?

Generally I see being able to hold values open in a 'gate' fashion as a utilty kind of thing.
One example that I have put into immediate use is that when I send Usine a SAVE_PATCH command, I need to ensure the patch is saved with a audio bus names that aren't in use when the patch loads, so when I press save, the bus names change to 'x', the patch saves and then after the set duration the bus names are set back to normal. If I like I could use the reset value to trigger the next patch to save using the same conditions... Probably coulda patched this some other way but this was nice n' easy.

Statistics: Posted by gurulogic — 22 Sep 2010, 23:35


]]>
2010-09-22T16:53:24+02:00 2010-09-22T16:53:24+02:00 https://www.brainmodular.com/forums/viewtopic.php?t=2451&p=15973#p15973 <![CDATA[hold event]]> othewise yes a pass with clock would do about the same, btw more handy on on only one module.
curious about guru and ethnix uses also...i guess they were after the reset value too, but what for??

Statistics: Posted by 23fx23 — 22 Sep 2010, 16:53


]]>
2010-09-22T16:45:57+02:00 2010-09-22T16:45:57+02:00 https://www.brainmodular.com/forums/viewtopic.php?t=2451&p=15972#p15972 <![CDATA[hold event]]> Statistics: Posted by noise2sine — 22 Sep 2010, 16:45


]]>
2010-09-22T15:54:34+02:00 2010-09-22T15:54:34+02:00 https://www.brainmodular.com/forums/viewtopic.php?t=2451&p=15970#p15970 <![CDATA[hold event]]> a slow random generator for drone or pads..

Image

Statistics: Posted by nay-seven — 22 Sep 2010, 15:54


]]>
2010-09-22T13:25:29+02:00 2010-09-22T13:25:29+02:00 https://www.brainmodular.com/forums/viewtopic.php?t=2451&p=15965#p15965 <![CDATA[hold event]]>

Enlighten us!

Statistics: Posted by bsork — 22 Sep 2010, 13:25


]]>
2010-09-22T12:56:04+02:00 2010-09-22T12:56:04+02:00 https://www.brainmodular.com/forums/viewtopic.php?t=2451&p=15963#p15963 <![CDATA[hold event]]>
but just by curiosity, any exemple application?

Statistics: Posted by 23fx23 — 22 Sep 2010, 12:56


]]>
2010-09-22T12:48:58+02:00 2010-09-22T12:48:58+02:00 https://www.brainmodular.com/forums/viewtopic.php?t=2451&p=15961#p15961 <![CDATA[hold event]]> I've yet found utility to this one too !

Statistics: Posted by nay-seven — 22 Sep 2010, 12:48


]]>
2010-09-22T11:44:11+02:00 2010-09-22T11:44:11+02:00 https://www.brainmodular.com/forums/viewtopic.php?t=2451&p=15956#p15956 <![CDATA[hold event]]> I think the above script should definately be bundled with the next usine update. So very usefull!!!

Statistics: Posted by gurulogic — 22 Sep 2010, 11:44


]]>
2010-09-22T11:36:06+02:00 2010-09-22T11:36:06+02:00 https://www.brainmodular.com/forums/viewtopic.php?t=2451&p=15955#p15955 <![CDATA[hold event]]> Statistics: Posted by bsork — 22 Sep 2010, 11:36


]]>
2010-09-22T11:24:53+02:00 2010-09-22T11:24:53+02:00 https://www.brainmodular.com/forums/viewtopic.php?t=2451&p=15954#p15954 <![CDATA[hold event]]> Not to look a gift horse in the mouth but would a version that worked with midi be too hard to adapt from this? I presume the reset value would be a midi note off for the current note out, or alternativly a 'stop' outlet that could trigger a create midi module.

Either way, this is going in my 'very usefull' folder ~:>)

Statistics: Posted by gurulogic — 22 Sep 2010, 11:24


]]>
2010-09-22T10:59:59+02:00 2010-09-22T10:59:59+02:00 https://www.brainmodular.com/forums/viewtopic.php?t=2451&p=15953#p15953 <![CDATA[hold event]]>

CODE:

VAR pInValue, pOutValue, pResetValue, pHoldTime, pIgnoreWhileHold &#58; tParameter;VAR lastTime &#58; Single;VAR holding &#58; Boolean;PROCEDURE Init;BEGIN   pInValue &#58;= CreateParam&#40;'value in', ptDataField&#41;; SetIsOutput&#40;pInValue, FALSE&#41;;   pOutValue &#58;= CreateParam&#40;'value out', ptDataField&#41;; SetIsInput&#40;pOutValue, FALSE&#41;;   pResetValue &#58;= CreateParam&#40;'reset value', ptDataField&#41;; SetIsOutput&#40;pResetValue, FALSE&#41;;      pHoldTime &#58;= CreateParam&#40;'hold time', ptDataFader&#41;; SetIsOutput&#40;pHoldTime, FALSE&#41;;   SetSymbol&#40;pHoldTime, 'ms'&#41;;   SetMin&#40;pHoldTime, 0&#41;; SetMax&#40;pHoldTime, 10000&#41;;   pIgnoreWhileHold &#58;= CreateParam&#40;'ignore new', ptSwitch&#41;; SetIsOutput&#40;pIgnoreWhileHold, FALSE&#41;;   holding &#58;= FALSE;END; // InitPROCEDURE Callback&#40;n &#58; Integer&#41;;BEGIN   IF &#40;n = pInvalue&#41; THEN BEGIN      IF &#40;&#40;GetValue&#40;pIgnoreWhileHold&#41; = 0&#41; OR &#40;NOT holding&#41;&#41; THEN BEGIN         SetValue&#40;pOutValue, GetValue&#40;pInValue&#41;&#41;;         lastTime &#58;= TimeMs;         holding &#58;= TRUE;      END;   END;END; // CallbackPROCEDURE Process;BEGIN   IF &#40;&#40;holding&#41; AND &#40;&#40;TimeMs - lastTime&#41; >= GetValue&#40;pHoldTime&#41;&#41;&#41; THEN BEGIN      SetValue&#40;pOutValue, GetValue&#40;pResetValue&#41;&#41;;      holding &#58;= FALSE;   END;END; // Process

Statistics: Posted by bsork — 22 Sep 2010, 10:59


]]>
2010-09-22T10:07:08+02:00 2010-09-22T10:07:08+02:00 https://www.brainmodular.com/forums/viewtopic.php?t=2451&p=15950#p15950 <![CDATA[hold event]]>
This would be really useful gurulogic, agree with you...for myself, It's the main difficulty with monome and launchpad.

Statistics: Posted by ethnix73 — 22 Sep 2010, 10:07


]]>
2010-09-22T09:39:39+02:00 2010-09-22T09:39:39+02:00 https://www.brainmodular.com/forums/viewtopic.php?t=2451&p=15948#p15948 <![CDATA[hold event]]> ) )

Statistics: Posted by nay-seven — 22 Sep 2010, 09:39


]]>
2010-09-22T09:28:24+02:00 2010-09-22T09:28:24+02:00 https://www.brainmodular.com/forums/viewtopic.php?t=2451&p=15946#p15946 <![CDATA[hold event]]>
One more option for the module could be to reset the timer every time a new value was received or else play the entire 'last value', ignoring any new input values untill timed out.

I'm sure this is patchable but I think this function in a single module would be very usefull.

Statistics: Posted by gurulogic — 22 Sep 2010, 09:28


]]>