ArrayArrayArrayArrayArrayArrayArrayArray
BrainModularBrainModular Users Forum2010-05-09T19:33:49+02:00https://brainmodular.org/forums/app.php/feed/topic/21842010-05-09T19:33:49+02:002010-05-09T19:33:49+02:00https://brainmodular.org/forums/viewtopic.php?t=2184&p=13871#p13871i can get add or insert but not set/get...
]]>2010-05-09T08:19:50+02:002010-05-09T08:19:50+02:00https://brainmodular.org/forums/viewtopic.php?t=2184&p=13865#p13865 I couldn't figure that out either. The commands in the docs did not seem to work for me.
Statistics: Posted by woodslanding — 09 May 2010, 08:19
]]>2010-05-01T12:47:39+02:002010-05-01T12:47:39+02:00https://brainmodular.org/forums/viewtopic.php?t=2184&p=13733#p13733cool, will try now the setlength to 0 trick. still if anyone has exemple how to get/setItem on TstringList im taking!..
]]>2010-05-01T11:49:35+02:002010-05-01T11:49:35+02:00https://brainmodular.org/forums/viewtopic.php?t=2184&p=13732#p13732 effectively IML is ultra powerfull to set lots of values once, with low priority, while often changing values should better be dealed with wires, i start to catch when it worth or not (hehe i started to put scipt/iml combos everywhere, that's not always intelligent)
my pb here is that it's used to drive some captions to some usine panels, but can't pack captions in array, and also array will always pass the value on each output, unless we put a passif change on each of them, applying on whole array don't make output demultiplexed values pass only if changed. Gurulogic once emitted the sugg of geting one feature that would let ouput values only on chg, so a script could easily add this feature if setting all sizes to 0?, have to try that!
in fact my previous setup was using OSCreceive 64 set on "only on change" so that all captions out where passing only once. then i could easy reset all captions using IML. but i could deal all internally in one script.
Im just a bit lost of the most efficient way i should go for deal with that, maybe if you have ideas? basically id like to make a bidimentional array of captions where i could set some index (ie i receive track4,clip3,caption"bass") and implement some scroll on it.
while this seems relatively easy with float values, im a bit fighting with arrays/captions. Ive seen delphi seems to handdle "array of arrays of string" i didn't explore yet fully, as i was trying via Tstringlist . pb with TstingList is I could use add or insert fonction, but couldget the "setItem/getItem" feature working, if anyone has clues on that? also maybe dealing XY 2D "string"array would be simpler, but not sure we can "getStringArrayValue", at least this is not the fonction to use .. any tricks, advices?
]]>2010-05-01T11:23:19+02:002010-05-01T11:23:19+02:00https://brainmodular.org/forums/viewtopic.php?t=2184&p=13729#p13729 I can't say I'm sure of this, but I think that distributing data through a small number of buses and/or data in/outs also costs less CPU than one per data element, even though it will mean that those buses are updated more frequently. Senso might correct me on this though.
The IML is a strong tool, but has AFAIK low priority, which would account for the dropouts I presume. For real time, tight updates it's really not the way to go.
]]>2010-05-01T03:09:35+02:002010-05-01T03:09:35+02:00https://brainmodular.org/forums/viewtopic.php?t=2184&p=13721#p13721at some point i may have a high nb of outvalues(64) so thought would be better than 64xpassifchgd, iml is great for that cause it wireless sets the values, acting as a low cpu passif changed for all , but i get some pbs of latency/ dropouts if using two at same time somewhere in the patch, so back to some real outputs in some cases... but i imagine it can be complex (so the count trick in process?), well at least i know where to search if i really need it, thanks!
]]>2010-05-01T00:26:40+02:002010-05-01T00:26:40+02:00https://brainmodular.org/forums/viewtopic.php?t=2184&p=13717#p13717 Sometimes you can also end up with a lot of convulted code to keep track of changes and what outputs to update. Unless you have something very specific in mind, using the module might be the best way to go.
]]>2010-04-30T23:55:28+02:002010-04-30T23:55:28+02:00https://brainmodular.org/forums/viewtopic.php?t=2184&p=13716#p13716Statistics: Posted by 23fx23 — 30 Apr 2010, 23:55
]]>
BrainModularBrainModular Users Forum2010-05-09T19:33:49+02:00https://brainmodular.org/forums/app.php/feed/topic/21842010-05-09T19:33:49+02:002010-05-09T19:33:49+02:00https://brainmodular.org/forums/viewtopic.php?t=2184&p=13871#p13871i can get add or insert but not set/get...
]]>2010-05-09T08:19:50+02:002010-05-09T08:19:50+02:00https://brainmodular.org/forums/viewtopic.php?t=2184&p=13865#p13865 I couldn't figure that out either. The commands in the docs did not seem to work for me.
Statistics: Posted by woodslanding — 09 May 2010, 08:19
]]>2010-05-01T12:47:39+02:002010-05-01T12:47:39+02:00https://brainmodular.org/forums/viewtopic.php?t=2184&p=13733#p13733cool, will try now the setlength to 0 trick. still if anyone has exemple how to get/setItem on TstringList im taking!..
]]>2010-05-01T11:49:35+02:002010-05-01T11:49:35+02:00https://brainmodular.org/forums/viewtopic.php?t=2184&p=13732#p13732 effectively IML is ultra powerfull to set lots of values once, with low priority, while often changing values should better be dealed with wires, i start to catch when it worth or not (hehe i started to put scipt/iml combos everywhere, that's not always intelligent)
my pb here is that it's used to drive some captions to some usine panels, but can't pack captions in array, and also array will always pass the value on each output, unless we put a passif change on each of them, applying on whole array don't make output demultiplexed values pass only if changed. Gurulogic once emitted the sugg of geting one feature that would let ouput values only on chg, so a script could easily add this feature if setting all sizes to 0?, have to try that!
in fact my previous setup was using OSCreceive 64 set on "only on change" so that all captions out where passing only once. then i could easy reset all captions using IML. but i could deal all internally in one script.
Im just a bit lost of the most efficient way i should go for deal with that, maybe if you have ideas? basically id like to make a bidimentional array of captions where i could set some index (ie i receive track4,clip3,caption"bass") and implement some scroll on it.
while this seems relatively easy with float values, im a bit fighting with arrays/captions. Ive seen delphi seems to handdle "array of arrays of string" i didn't explore yet fully, as i was trying via Tstringlist . pb with TstingList is I could use add or insert fonction, but couldget the "setItem/getItem" feature working, if anyone has clues on that? also maybe dealing XY 2D "string"array would be simpler, but not sure we can "getStringArrayValue", at least this is not the fonction to use .. any tricks, advices?
]]>2010-05-01T11:23:19+02:002010-05-01T11:23:19+02:00https://brainmodular.org/forums/viewtopic.php?t=2184&p=13729#p13729 I can't say I'm sure of this, but I think that distributing data through a small number of buses and/or data in/outs also costs less CPU than one per data element, even though it will mean that those buses are updated more frequently. Senso might correct me on this though.
The IML is a strong tool, but has AFAIK low priority, which would account for the dropouts I presume. For real time, tight updates it's really not the way to go.
]]>2010-05-01T03:09:35+02:002010-05-01T03:09:35+02:00https://brainmodular.org/forums/viewtopic.php?t=2184&p=13721#p13721at some point i may have a high nb of outvalues(64) so thought would be better than 64xpassifchgd, iml is great for that cause it wireless sets the values, acting as a low cpu passif changed for all , but i get some pbs of latency/ dropouts if using two at same time somewhere in the patch, so back to some real outputs in some cases... but i imagine it can be complex (so the count trick in process?), well at least i know where to search if i really need it, thanks!
]]>2010-05-01T00:26:40+02:002010-05-01T00:26:40+02:00https://brainmodular.org/forums/viewtopic.php?t=2184&p=13717#p13717 Sometimes you can also end up with a lot of convulted code to keep track of changes and what outputs to update. Unless you have something very specific in mind, using the module might be the best way to go.