this bug while I'm trying run the simple code. what's the problem please?
mode switches detected on the audio thread!
sorry I left this behind. I can reproduce the issue, let me see what I broke this time! What version of Supercollider are you running? (it would say that earlier in the console)
Ok fixed.
I assume you got your current release from here https://github.com/BelaPlatform/supercollider/releases/ .
Get the latest one from there and it should fix this issue.
Is there any manual how to install the supercolldier on Bela board? thanks.
- Edited
Normally it would just be a matter of updating your Bela board using the regular code updating procedure. However, the latest version of Sc is not available there yet, therefore you'd have to do the following:
- download the deb package from the URL above
- open a terminal on your computer. On Mac/Linux it's straightforward. Not so much on Windows.
- in the terminal, run:
scp /PATH/TO/Supercollider-v3.11.2-bela.deb root@bela.local: # reply yes if it's the first time you do this ssh root@bela.local dpkg -r supercollider-bela-xenomai-3 # uninstall the old incompatible version dpkg -i Supercollider-v3.11.2-bela.deb # install the new version
unfortunatelly, I run on Windows and the uninstall command doesn't work. Is there any other way how can I uninstall the old version?
- Edited
that's fine, it's just slightly more complicated.
- download the two deb packages (sc3-plugins-3.11.2-Bela.deb
and Supercollider-v3.11.2-bela.deb) from the latest release (the one at the top) at the URL above - open the Bela IDE
- open the side tab, go to the project explorer (top icon)
- click the "upload file" button, select one of the deb packages and upload it ( if you get an error "cannot open binary files in the IDE", just ignore it)
- click the "upload file" button (again), select the other deb package and upload it
- in the console at the bottom of the IDE, run the following commands, but replace
PROJECTNAME
with the name of the project that is currently opendpkg -r supercollider-bela-xenomai-3 dpkg -i projects/PROJECTNAME/*deb
- once the above step successfully installed the packages, you can delete the
.deb
files from the current project.
you also need to update your Bela core code to the latest dev
branch. See instructions for that here
Update of supercollider is done. But other error has appeared. see the screenshot.
hmmm this would indicate that you managed to remove the old one successfully but installing the new one didn't work.
I see you have a very old version of the IDE, this means that the code on your board is at least 18 months old. Could you run this command in the console and report its outcome?
grep v0 /etc/motd
If the version is below 0.3.6b, you should probably reflash the image and you definitely should if it's below 0.3. If it's above that, then before continuing do the upgrade of the Bela core code as I mentioned above.
then come back to this and run the dpkg -i projects/PROJECTNAME/*deb
step again and send over the output that you get when running that command.
Bela image, v0.3.6b, 23 October 2018
good so now it is installed properly. If you update to dev
as explained here, the last remaining error should go away (and you get a much nicer looking IDE).
another error
gulesz Bela image, v0.3.6b, 23 October 2018
sorry, didn't see this. You cannot update the IDE via the browser with this image. You either need a terminal (e.g.: Putty or mingw should work OK on Windows) or you should reflash the image. If you have an SD card at hand, the latter could be a better solution.
- Edited
could you send me please the more instructions, how to do it? I use the WinScp, should be similar as putty.
- Edited
you could use WinScp
to copy this file to the board. You will have to use the address 192.168.6.2 and username root
and no password.
Once the file is on the board (I assume it will go in the home folder /root/
?) you can do the following in the console bottom of the IDE:
ls /root/
(verify it shows Bela-dev.zip
in there)
then
rm -rf /root/Bela/updates
mkdir -p /root/Bela/updates
mv /root/Bela-dev.zip /root/Bela/updates
make checkupdate
wait for this to finish and ensure it doesn't print any errors. Then do
make update
do not touch the IDE until it says "Update successful" (or fails, in which case please show us the error).
Sorry you have to go through this lengthy procedure: the image you have is an unlucky one.
Ok that's unexpected but hopefully it's fine. Wait a few more minutes