I've created a small application that uses the Godot game engine to display data from Bela's built-in oscilloscope (BelaScope->Websocket->GodotEngine). I collect frames (time base) via websocket to vertically combine them over time. This works so far and i am able to zoom waveforms in and out seamlessly.

Somehow I need to force BelaScope to send each frame with scope.trigger() and "triggerMode":2 in C++. Otherwise, the combination of frames does not match. It feels like the automatic trigger mode is cutting out parts or frames in between?

I want to extend my application further, but would like to use and lern SuperCollider. However, I can't find any similar function to trigger BelaScope in custom mode. Any ideas on this?
Thanks a lot.

that function is not available, however you can create a dummy channel just for the purpose of triggering:in the Scope GUI set Trigger to that channel at an amplitude of about 0.5, then from Sc, send 0 to it all the time except when you want to trigger and send 1 when you want to trigger.

Yes! This works. Thanks a lot!

I am now using a Synth with Pulse.ar(441.0, 0.5, 1.0, 0.0).belaScope(4); and settings "sampleRate":44100, "triggerLevel":0.5, "triggerMode":1 to trigger the BelaScope. This way i am receiving every frame via Websocket.