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

Trill Bar GUI

New GUI fuctionality for Bela!

This project showcases an example of how to communicate with the Trill Bar sensor using the Trill library and visualise position of different touches in real time via the integrated Bela p5.js GUI.

The Trill sensor is scanned in an AuxiliaryTask running in parallel with the audio thread and the number of active touches, their position and size are stored in global variables.

A p5.js sketch is included in this example with a p5 class representation of the Trill Bar sensor and the different touches. Touch position and size are displayed in the sketch.