Script Oscilloscope Buffer Size
-
How can I increase the length of the buffer size of my oscilloscope inside of my scriptFX node?
I change the number and its good for a little while until it decides to change back to default value "8192" again. Can I script this in onInit somehow to be a larger size?

-
@Chazrox It's volatile, so you need to do set the ring buffer properties in script so it can be recalled at init/compile.
On the oscilloscope node, create an external display buffer
then in the script:
const var dbs = Synth.getDisplayBufferSource("ScriptFX/HardcodedFX name"); const var db = dbs.getDisplayBuffer(0); // # index of the external display buffer -1 db.setRingBufferProperties( { "BufferLength": 8192, "NumChannels": 1 });And it's dynamic, in the case you want to change it with slider/combobox/etc