To change the sampling rate you need to run the command below in the console at the bottom of the IDE:
sed -i s/44100/32000/g /root/Bela/core/*_Codec.cpp
This will replace all occurrencies of 44100 in the audio codec files with 32000. You can select a different sampling rate if you wish instead of 32000. If you want to change this value later, you'll need to put after the first / the number that you want to replace and after the second one the number you want to replace it with.
For instance:
Go from 44100 to 32000:
sed -i s/44100/32000/g /root/Bela/core/*_Codec.cpp
go from 32000 to 38000:
sed -i s/32000/38000/g /root/Bela/core/*_Codec.cpp
go from 38000 to 44100:
sed -i s/38000/44100/g /root/Bela/core/*_Codec.cpp
Luca is my patch that complicated?
I don't know, I haven't seen it.