I wondered if someone has already created a help-video, or might be interested in creating one to guide the less experienced SC-programmer, like myself, to create a Standalone app. I appreciate this will be a different process depending on platform (Mac, Windows, Linux). The instructions and code in the SC Help take some digesting, and a video could be very useful to the community of SC users.
not what youâre asking for but:
If youâre on osx this might help GitHub - dathinaios/sc_osx_standalone: A minimal SuperCollider standalone template for macOS.
on Linux GitHub - miguel-negrao/scStandalone: A template for a sclang based SuperCollider standalone
Thanks for this - Iâm on MacOS, so will take a look at the first resource, which seems to be based around using Platypus to create a standalone.
the project gives you a working standalone in the form of a shell script. Platypus bundles the resources into a more familiar Mac App which is nice but it works fine even without Platypus.
Thanks for your help with this. Iâve made some progress with the method to create a mac Standalone, described at GitHub - dathinaios/sc_osx_standalone: A minimal SuperCollider standalone template for macOS.. However, Iâve obtained the error messages below. Can anyone advise how to put this right? Thanks in advance!
paulrhys@Pauls-MBP-2 sc_osx_standalone-master % sh run.sh
readlink: illegal option â f
usage: readlink [-n] [file âŚ]
compiling class libraryâŚ
Found 855 primitives.
Compiling directory â/Users/paulrhys/Documents/Supercollider/Standalone App Creation/sc_osx_standalone-master/Resources/SCClassLibraryâ
Compiling directory âSystemOverwritesâ
Compiling directory âSCClassLibraryâ
WARNING: Could not open directory: âpluginsâ
To resolve this, either create the directory or remove it from your compilation paths.
inside the Resources folder there should be a folder called âpluginsâ. youâll need to copy this from Library/Application Support/Supercollider/Extensions
moreover anything you want in the way of Extensions would to copied as well - Downloaded Quarks folder etc
you can check the contents of your slang_conf.yaml file to see which quarks you are currently loading.
Thanks again for your help. Iâve advanced quite a bit further, but now hit a new error whe executing run.sh (âexception in GraphDef_Recv: UGen âControlâ not installedâ). See below. Any ideas how to sort this out?
compiling class libraryâŚ
Found 855 primitives.
Compiling directory â/Users/paulrhys/Documents/Supercollider/Standalone App Creation/sc_osx_standalone-master/Resources/SCClassLibraryâ
Compiling directory âSystemOverwritesâ
Compiling directory âSCClassLibraryâ
Compiling directory âpluginsâ
numentries = 834570 / 12202144 = 0.068
5428 method selectors, 2248 classes
method table size 13289448 bytes, big table size 97617152
Number of Symbols 12164
Byte Code Size 364675
compiled 328 files in 0.57 secondsInfo: 2 methods are currently overwritten by extensions. To see which, execute:
MethodOverride.printAllcompile done
localhost : setting clientID to 0.
internal : setting clientID to 0.
Class tree inited in 0.01 seconds*** Welcome to SuperCollider 3.12.2. *** For help type cmd-d.
Booting server âlocalhostâ on address 127.0.0.1:57110.
Number of Devices: 5
0 : âExternal Headphonesâ
1 : âMacBook Pro Microphoneâ
2 : âMacBook Pro Speakersâ
3 : âMicrosoft Teams Audioâ
4 : âZoomAudioDââMacBook Pro Microphoneâ Input Device
Streams: 1
0 channels 1âExternal Headphonesâ Output Device
Streams: 1
0 channels 2SC_AudioDriver: sample rate = 48000.000000, driverâs block size = 512
SuperCollider 3 server ready.
Requested notification messages from server âlocalhostâ
localhost: server processâs maxLogins (1) matches with my options.
localhost: keeping clientID (0) as confirmed by server process.
exception in GraphDef_Recv: UGen âControlâ not installed.
exception in GraphDef_Recv: UGen âControlâ not installed.
exception in GraphDef_Recv: UGen âControlâ not installed.
hmm I fear I may have steered you wrong regarding copying the plugin folder
I notice in the vanilla project gives the âplugin folder not found errorâ but does play the sound in init.scd even so.
looking around I see that âpluginsâ does already exist in resources.
Your version has the line âCompiling directory âpluginsââ
that suggests that the plugins directory is not in the right place -
I think the folder heirarchy should be
Resources
- plugins
- Extensions
SCClassLibrary
is that what your seeing??
Hello
The plugin
folder is already included. Not sure why it gave you that error. Can you delete everything and re-download the last release to try again? Also can you share which OS you are currently on?
Hi Dionysis - Iâm back once again, trying to create a standalone on Mac OS 11.6.7 Big Sur, using your code on Github dated 1st June. After a fresh download of your code bundle from Github, I need to reassure Mac OS that sclang and scsynth are not security risks. Having done this, I obtain the following output on Terminal. Very grateful for your advice and help. (Is the standalone creation completely insulated from the normal Supercollider resources that I am running on my laptop? If not, could there be some problem here?) Thanks again - Paul
Last login: Thu Aug 4 16:16:08 on ttys000
paulrhys@Pauls-MBP-2 ~ % cd /Users/paulrhys/Documents/Supercollider/Standalone_App_Creation/sc_osx_standalone-master
paulrhys@Pauls-MBP-2 sc_osx_standalone-master % ls
Frameworks Resources init.scd
QT_PlugIns SCClassLibrary langconf.yaml
README.md SystemOverwrites run.sh
paulrhys@Pauls-MBP-2 sc_osx_standalone-master % sh run.sh
readlink: illegal option -- f
usage: readlink [-n] [file ...]
compiling class library...
Found 855 primitives.
Compiling directory '/Users/paulrhys/Documents/Supercollider/Standalone_App_Creation/sc_osx_standalone-master/Resources/SCClassLibrary'
Compiling directory 'SystemOverwrites'
Compiling directory 'SCClassLibrary'
WARNING: Could not open directory: 'plugins'
To resolve this, either create the directory or remove it from your compilation paths.
numentries = 834570 / 12202144 = 0.068
5428 method selectors, 2248 classes
method table size 13289448 bytes, big table size 97617152
Number of Symbols 12164
Byte Code Size 364675
compiled 328 files in 1.91 seconds
Info: 2 methods are currently overwritten by extensions. To see which, execute:
MethodOverride.printAll
compile done
localhost : setting clientID to 0.
internal : setting clientID to 0.
Class tree inited in 0.01 seconds
*** Welcome to SuperCollider 3.12.2. *** For help type cmd-d.
Booting server 'localhost' on address 127.0.0.1:57110.
*** ERROR: dlopen './Resources/plugins/UIUGens.scx' err 'dlopen(./Resources/plugins/UIUGens.scx, 2): no suitable image found. Did find:
file system relative paths not allowed in hardened programs'
*** ERROR: dlopen './Resources/plugins/GrainUGens.scx' err 'dlopen(./Resources/plugins/GrainUGens.scx, 2): no suitable image found. Did find:
file system relative paths not allowed in hardened programs'
*** ERROR: dlopen './Resources/plugins/PanUGens.scx' err 'dlopen(./Resources/plugins/PanUGens.scx, 2): no suitable image found. Did find:
file system relative paths not allowed in hardened programs'
*** ERROR: dlopen './Resources/plugins/DynNoiseUGens.scx' err 'dlopen(./Resources/plugins/DynNoiseUGens.scx, 2): no suitable image found. Did find:
file system relative paths not allowed in hardened programs'
*** ERROR: dlopen './Resources/plugins/DelayUGens.scx' err 'dlopen(./Resources/plugins/DelayUGens.scx, 2): no suitable image found. Did find:
file system relative paths not allowed in hardened programs'
*** ERROR: dlopen './Resources/plugins/MulAddUGens.scx' err 'dlopen(./Resources/plugins/MulAddUGens.scx, 2): no suitable image found. Did find:
file system relative paths not allowed in hardened programs'
*** ERROR: dlopen './Resources/plugins/DemandUGens.scx' err 'dlopen(./Resources/plugins/DemandUGens.scx, 2): no suitable image found. Did find:
file system relative paths not allowed in hardened programs'
*** ERROR: dlopen './Resources/plugins/PhysicalModelingUGens.scx' err 'dlopen(./Resources/plugins/PhysicalModelingUGens.scx, 2): no suitable image found. Did find:
file system relative paths not allowed in hardened programs'
*** ERROR: dlopen './Resources/plugins/FFT_UGens.scx' err 'dlopen(./Resources/plugins/FFT_UGens.scx, 2): no suitable image found. Did find:
file system relative paths not allowed in hardened programs'
*** ERROR: dlopen './Resources/plugins/FilterUGens.scx' err 'dlopen(./Resources/plugins/FilterUGens.scx, 2): no suitable image found. Did find:
file system relative paths not allowed in hardened programs'
*** ERROR: dlopen './Resources/plugins/ML_UGens.scx' err 'dlopen(./Resources/plugins/ML_UGens.scx, 2): no suitable image found. Did find:
file system relative paths not allowed in hardened programs'
*** ERROR: dlopen './Resources/plugins/ChaosUGens.scx' err 'dlopen(./Resources/plugins/ChaosUGens.scx, 2): no suitable image found. Did find:
file system relative paths not allowed in hardened programs'
*** ERROR: dlopen './Resources/plugins/DiskIO_UGens.scx' err 'dlopen(./Resources/plugins/DiskIO_UGens.scx, 2): no suitable image found. Did find:
file system relative paths not allowed in hardened programs'
*** ERROR: dlopen './Resources/plugins/TestUGens.scx' err 'dlopen(./Resources/plugins/TestUGens.scx, 2): no suitable image found. Did find:
file system relative paths not allowed in hardened programs'
*** ERROR: dlopen './Resources/plugins/UnaryOpUGens.scx' err 'dlopen(./Resources/plugins/UnaryOpUGens.scx, 2): no suitable image found. Did find:
file system relative paths not allowed in hardened programs'
*** ERROR: dlopen './Resources/plugins/LFUGens.scx' err 'dlopen(./Resources/plugins/LFUGens.scx, 2): no suitable image found. Did find:
file system relative paths not allowed in hardened programs'
*** ERROR: dlopen './Resources/plugins/UnpackFFTUGens.scx' err 'dlopen(./Resources/plugins/UnpackFFTUGens.scx, 2): no suitable image found. Did find:
file system relative paths not allowed in hardened programs'
*** ERROR: dlopen './Resources/plugins/PV_ThirdParty.scx' err 'dlopen(./Resources/plugins/PV_ThirdParty.scx, 2): no suitable image found. Did find:
file system relative paths not allowed in hardened programs'
*** ERROR: dlopen './Resources/plugins/OscUGens.scx' err 'dlopen(./Resources/plugins/OscUGens.scx, 2): no suitable image found. Did find:
file system relative paths not allowed in hardened programs'
*** ERROR: dlopen './Resources/plugins/NoiseUGens.scx' err 'dlopen(./Resources/plugins/NoiseUGens.scx, 2): no suitable image found. Did find:
file system relative paths not allowed in hardened programs'
*** ERROR: dlopen './Resources/plugins/BinaryOpUGens.scx' err 'dlopen(./Resources/plugins/BinaryOpUGens.scx, 2): no suitable image found. Did find:
file system relative paths not allowed in hardened programs'
*** ERROR: dlopen './Resources/plugins/IOUGens.scx' err 'dlopen(./Resources/plugins/IOUGens.scx, 2): no suitable image found. Did find:
file system relative paths not allowed in hardened programs'
*** ERROR: dlopen './Resources/plugins/TriggerUGens.scx' err 'dlopen(./Resources/plugins/TriggerUGens.scx, 2): no suitable image found. Did find:
file system relative paths not allowed in hardened programs'
*** ERROR: dlopen './Resources/plugins/GendynUGens.scx' err 'dlopen(./Resources/plugins/GendynUGens.scx, 2): no suitable image found. Did find:
file system relative paths not allowed in hardened programs'
*** ERROR: dlopen './Resources/plugins/ReverbUGens.scx' err 'dlopen(./Resources/plugins/ReverbUGens.scx, 2): no suitable image found. Did find:
file system relative paths not allowed in hardened programs'
Number of Devices: 4
0 : "MacBook Pro Microphone"
1 : "MacBook Pro Speakers"
2 : "Microsoft Teams Audio"
3 : "ZoomAudioD"
"MacBook Pro Microphone" Input Device
Streams: 1
0 channels 1
"MacBook Pro Speakers" Output Device
Streams: 1
0 channels 2
SC_AudioDriver: sample rate = 48000.000000, driver's block size = 512
SuperCollider 3 server ready.
Requested notification messages from server 'localhost'
localhost: server process's maxLogins (1) matches with my options.
localhost: keeping clientID (0) as confirmed by server process.
exception in GraphDef_Recv: UGen 'Control' not installed.
exception in GraphDef_Recv: UGen 'Control' not installed.
exception in GraphDef_Recv: UGen 'Control' not installed.
exception in GraphDef_Recv: UGen 'Control' not installed.
exception in GraphDef_Recv: UGen 'Control' not installed.
exception in GraphDef_Recv: UGen 'Control' not installed.
exception in GraphDef_Recv: UGen 'Control' not installed.
exception in GraphDef_Recv: UGen 'Control' not installed.
exception in GraphDef_Recv: UGen 'Control' not installed.
exception in GraphDef_Recv: UGen 'Control' not installed.
exception in GraphDef_Recv: UGen 'Control' not installed.
exception in GraphDef_Recv: UGen 'Control' not installed.
exception in GraphDef_Recv: UGen 'Control' not installed.
exception in GraphDef_Recv: UGen 'Control' not installed.
exception in GraphDef_Recv: UGen 'Control' not installed.
exception in GraphDef_Recv: UGen 'Control' not installed.
exception in GraphDef_Recv: UGen 'Control' not installed.
exception in GraphDef_Recv: UGen 'Control' not installed.
exception in GraphDef_Recv: UGen 'Control' not installed.
exception in GraphDef_Recv: UGen 'Control' not installed.
exception in GraphDef_Recv: UGen 'Control' not installed.
exception in GraphDef_Recv: UGen 'Control' not installed.
exception in GraphDef_Recv: UGen 'Control' not installed.
exception in GraphDef_Recv: UGen 'Control' not installed.
exception in GraphDef_Recv: UGen 'Control' not installed.
exception in GraphDef_Recv: UGen 'Control' not installed.
exception in GraphDef_Recv: UGen 'Control' not installed.
exception in GraphDef_Recv: UGen 'Control' not installed.
exception in GraphDef_Recv: UGen 'Control' not installed.
exception in GraphDef_Recv: UGen 'Control' not installed.
exception in GraphDef_Recv: UGen 'Control' not installed.
exception in GraphDef_Recv: UGen 'Control' not installed.
exception in GraphDef_Recv: UGen 'Control' not installed.
exception in GraphDef_Recv: UGen 'Control' not installed.
exception in GraphDef_Recv: UGen 'Control' not installed.
exception in GraphDef_Recv: UGen 'Control' not installed.
exception in GraphDef_Recv: UGen 'Control' not installed.
exception in GraphDef_Recv: UGen 'Control' not installed.
exception in GraphDef_Recv: UGen 'Control' not installed.
exception in GraphDef_Recv: UGen 'Control' not installed.
exception in GraphDef_Recv: UGen 'Control' not installed.
exception in GraphDef_Recv: UGen 'Control' not installed.
exception in GraphDef_Recv: UGen 'Control' not installed.
exception in GraphDef_Recv: UGen 'Control' not installed.
exception in GraphDef_Recv: UGen 'Control' not installed.
exception in GraphDef_Recv: UGen 'Control' not installed.
exception in GraphDef_Recv: UGen 'Control' not installed.
exception in GraphDef_Recv: UGen 'Control' not installed.
exception in GraphDef_Recv: UGen 'Control' not installed.
exception in GraphDef_Recv: UGen 'Control' not installed.
exception in GraphDef_Recv: UGen 'Control' not installed.
exception in GraphDef_Recv: UGen 'Control' not installed.
exception in GraphDef_Recv: UGen 'Control' not installed.
exception in GraphDef_Recv: UGen 'Control' not installed.
exception in GraphDef_Recv: UGen 'Control' not installed.
exception in GraphDef_Recv: UGen 'Control' not installed.
exception in GraphDef_Recv: UGen 'Control' not installed.
exception in GraphDef_Recv: UGen 'Control' not installed.
exception in GraphDef_Recv: UGen 'Control' not installed.
exception in GraphDef_Recv: UGen 'Control' not installed.
exception in GraphDef_Recv: UGen 'Control' not installed.
exception in GraphDef_Recv: UGen 'Control' not installed.
exception in GraphDef_Recv: UGen 'Control' not installed.
exception in GraphDef_Recv: UGen 'Control' not installed.
exception in GraphDef_Recv: UGen 'Control' not installed.
exception in GraphDef_Recv: UGen 'Control' not installed.
exception in GraphDef_Recv: UGen 'Control' not installed.
exception in GraphDef_Recv: UGen 'Control' not installed.
exception in GraphDef_Recv: UGen 'Control' not installed.
exception in GraphDef_Recv: UGen 'Control' not installed.
exception in GraphDef_Recv: UGen 'Control' not installed.
exception in GraphDef_Recv: UGen 'Control' not installed.
exception in GraphDef_Recv: UGen 'Control' not installed.
exception in GraphDef_Recv: UGen 'Control' not installed.
exception in GraphDef_Recv: UGen 'Control' not installed.
exception in GraphDef_Recv: UGen 'Control' not installed.
exception in GraphDef_Recv: UGen 'Control' not installed.
exception in GraphDef_Recv: UGen 'Control' not installed.
exception in GraphDef_Recv: UGen 'Control' not installed.
exception in GraphDef_Recv: UGen 'Control' not installed.
exception in GraphDef_Recv: UGen 'Control' not installed.
exception in GraphDef_Recv: UGen 'Control' not installed.
exception in GraphDef_Recv: UGen 'Control' not installed.
exception in GraphDef_Recv: UGen 'Control' not installed.
exception in GraphDef_Recv: UGen 'Control' not installed.
exception in GraphDef_Recv: UGen 'Control' not installed.
exception in GraphDef_Recv: UGen 'Control' not installed.
exception in GraphDef_Recv: UGen 'Control' not installed.
exception in GraphDef_Recv: UGen 'Control' not installed.
exception in GraphDef_Recv: UGen 'Control' not installed.
exception in GraphDef_Recv: UGen 'Control' not installed.
exception in GraphDef_Recv: UGen 'Control' not installed.
exception in GraphDef_Recv: UGen 'Control' not installed.
exception in GraphDef_Recv: UGen 'Control' not installed.
exception in GraphDef_Recv: UGen 'Control' not installed.
exception in GraphDef_Recv: UGen 'Control' not installed.
exception in GraphDef_Recv: UGen 'Control' not installed.
exception in GraphDef_Recv: UGen 'Control' not installed.
exception in GraphDef_Recv: UGen 'Control' not installed.
exception in GraphDef_Recv: UGen 'Control' not installed.
exception in GraphDef_Recv: UGen 'Control' not installed.
exception in GraphDef_Recv: UGen 'Control' not installed.
exception in GraphDef_Recv: UGen 'Control' not installed.
exception in GraphDef_Recv: UGen 'Control' not installed.
exception in GraphDef_Recv: UGen 'Control' not installed.
exception in GraphDef_Recv: UGen 'Control' not installed.
Shared memory server interface initialized
hello world
exception in GraphDef_Recv: UGen 'Control' not installed.
*** ERROR: SynthDef temp__0 not found
FAILURE IN SERVER /s_new SynthDef not found
Hello,
In theory it should be completely insulated yes. It is complaining about the plugin folder specifically but I downloaded it on my machine (M1 with Monterey) and it worked fineâŚ
You could try creating a temporary user account to test it there maybe⌠?
Thanks for getting back to me so swiftly. Yes, I will try creating a new temporary user account on my laptop and test it there. It is also time I updated to Monterey, so thatâs another option too. Thank you.
After upgrading to Monterey and creating a separate user account on my laptop, the Standalone has worked successfully. Currently in the process of selecting the best settings for Platypus, and may return to ask your advice on this. Thank you!