if I wanted to use two trill bars in the following fashion:
1) as a multi-touch 'keyboard' segmented into 4 areas (on each bar), where the touch/location of one or more fingers would be used as trigger, and touch size of each area would be used to control parameters such as envelop shape or velocity
2) as an expressive cross-fader/amplitude modulation device between 8 outputs - with 4 assigned on each bar (where location dictates the channel output and touch size the levels) - I could ultimately do this in rnbo by setting up 4 different 'windows' from the sensor readings (0.-0.25. ; 0.25-0.5; 0.5-0.75;0.75-1.00), and assign each of them to a channel with some smooth interpolation
both of these examples do require the same indices - and multi touch could ultimately be used in both cases.
I also did notice the LEDs for position feedback example does exactly that https://github.com/BelaPlatform/Bela/blob/master/examples/Trill/bar-led/render.cpp
so my question is the following, what would I need to do in order to retrieve the touch (and respective size) of one or more fingers located on defined areas of two trill bars new Trill(1, Trill::BAR, 0x20),
new Trill(1, Trill::BAR, 0x21),
and thereafter map these indices to rnbo parameters - in the render.cpp file