giuliomoro @nescivi @jonathan @Adampultz :
I do have another question and topic subthread regarding adding a restart button on the Bela sc code. (I added some people that might be interested to know about this topics 🙂)
I noticed the need for the cellists to have a restart button on their Knurls, I designed to possible approaches for it:
1) They can press the white restart button at Bela
2) They can press a button design a the TouchOSC Patch designed for Knurl , where the system send a OSC messages that asks Bela to reboot its system.
For the first option I found a way to make the Bela reboot and by running this code:
ServerQuit.add({ s.reboot; s.waitForBoot({("_main.scd".load)}) });
For the second option, It didn’t seemed to work using the same code, but it was working when TOUCHOSC sends by the click of the button this specific message:
/knurl/reset 1
to this specific OSCdef to run it:
OSCdef.new(\virusreset, { arg msg,time,addr,port;
var state = msg[1];
~reset = state;
if(~reset == 1 ) {
"reset".postln;
s.reboot;
};
}, '/knurl/reset');
However, all the Knurl players have notice that the TouchOSC Patch stops to receive information from the instrument after sometime. I did some tests recently and I believe it is causing a break of protocol or on the order of booting things on Bela. I can get messages such as :
A BelaSeverOptions
A BelaSeverOptions
A BelaSeverOptions
Bela disconnected from the system
I wonder if you would have a suggestion how to make this second one works as well, since it is quite handy to have this feature.