@giuliomoro We have a Magnetic Resonator Piano equipped with optical reflectance sensors which is currently making use of a desktop running Mac OS applications: a legacy version of the TouchKeys software which generates OSC messages, and a specialized MRP application which parses the OSC and then generates audio and the necessary MIDI messages for use by the hardware which routes the signals to their corresponding resonators.
We are attempting to design an embedded system for control of the instrument, in order to eliminate the need for a desktop computer. We have a Bela, and have managed to use a MIDI controller with Bela and Pure Data to function as a polyphonic synthesizer which generates the audio and MIDI messages needed to produce sound on the instrument.
Our next hurdle is determining how to parse the data coming from the serial connection from the key sensor board. In the current implementation, it seems that the key sensor board is treated as a TouchKeys device, and the key position is simply interpreted as the X position of a TouchKey.
My question is, do you think we can use Bela to parse the data coming from a TouchKeys device directly from that device, without first going through the TouchKeys software?
I noticed that your github repository at this address: https://github.com/giuliomoro/bela-modular-touchkeys but this appears to just parse already generated MIDI, rather than the actual serial data. Any more information on this repo?
I am currently working on reverse engineering the source code for the legacy version of TouchKeys which is currently responsible for the parsing, but this is slow going, as you could imagine.
I would really appreciate hearing any thoughts you have, or anyone else has, on this matter, and if you had any resources you could point me in the direction of which might facilitate this projects development. Thanks in advance!