I have posted some questions here about pedals. I have made a lot of progress very quickly
I have made this little programme call
/usr/modep/scripts/modep-ctrl.py to change the pedal board that is loaded.
The problem I am having is the latency between depressing the pedal and the pedal board changing. About half a second. It needs to be more like 10ms.
I have experimented in the past with adjusting
mod-host via port
5555, with out much problem with latency.
I think the latency is the
python interpreter starting up. I need to read the data and control
mod-host directlt form my
C without loading the
python interpreter every time.
To that end I thought I would ask here: Has any body done this? Is there any example code (in C, C++, Rust, Go, and compiled language) for reading the data that
modep writes (
in /var/modep/pedalboards/) and driving
mod-host to set up the
lv2 effects and the
Perhaps some one can convince me I am barking up the wrong tree…