Bela
Real-time, ultra-low-latency audio and sensor processing system for BeagleBone Black
 All Classes Files Functions Variables Typedefs Macros Groups
Gui/simple

GUI simple

New GUI fuctionality for Bela!

Is this project you can find a sketch.js file which is a p5.js file that is rendered in a browser tab. Click the GUI button (next to the Scope button) in the IDE to see the rendering of this file.

This example sends a buffer of data from the Bela render to the browser via a web socket every few milliseconds containing the value of a sinewave LFO: gui.sendBuffer(0, sineValue);

The p5.js file displays the position of the sinewave in two different ways.

If you want to edit sketch.js you can do so in the browser but must write your p5.js code in instance mode.