Currently on Bela sclang
is started with the -l /tmp/sclang.yaml
flag. This should mean that if you edit that file and you add
includePaths:
- /root/Bela/projects/PROJECTNAME
excludePaths:
[]
postInlineWarnings: false
then it should look for .sc
files in the PROJECTNAME
project's folder. This file will get deleted every time the board is rebooted, but it should be a good starting point for testing. We can then look into changing that so that it includes a yaml file inside the project instead or a global one that doesn't get deleted every time at reboot.
As to how to edit that file, you can either ssh
onto the board to edit it with your favourite editor, or you can create a symlink to it from your project so you can edit it in the Bela IDE. To do the latter, in the console at the bottom of the Bela IDE, run
ln -s /tmp/sclang.yaml /root/Bela/PROJECTNAME/sclang.yaml
(after replacing PROJECTNAME
with the name of your current project)