I’ve been using cabbageGetValue to read groups of widget parameters at krate, but now that I would like to do that at irate, I find that there isn’t an equivalent opcode for irate.
Am I missing something? Is this possible to add?
I’ve been using cabbageGetValue to read groups of widget parameters at krate, but now that I would like to do that at irate, I find that there isn’t an equivalent opcode for irate.
Am I missing something? Is this possible to add?
According this there is an i-rate version:
"cabbageGetValue", "i", "S", csnd::thread::i
reads as opcode name, output parameters, input parameters, and method callback rate. So it should work Ok.
But you might also try
iSomething cabbageGet "channel", "value"
Huh, I didn’t get a chance to try it yet, as I had to leave for work. But there is nothing in the documentation. I was looking for…
iData[] cabbageGetValue SKeys
I’ll try it when I get home tonight. I should also mention that SKeys is defined as an array of the keys I’m looking for.
No widget holds an array of channel values you sure you want the widgets value and not another identifier?
Yes, I’m trying to collect all the irate parameters at the start of an event.
I’ve simulated what I need by writing my own loop to collect the parameters, I just wonder if it would be faster to pass cabbage the array of channel names.
I’m not sure, I guess try it out and see how it works? Cabbage collects the channel names in C++ so it should be faster.