Musebot Template for SuperCollider (sclang)
Note: Template tested under macOS 10.12.6 and SuperCollider 3.9.1
A template for creating Musebots in SuperCollider.
Using the Template
Learn about working with Musebots by checking out the info links below
Copy the template directory into your
Musebotsdirectory and rename it what you wish to call your new Musebot (e.g.
tb_noisebot). Prefixing the name with your initials to distinguish it from other people's Musebots is generally a good idea
config.txtfile and change
id <name>in the first line so that
<name>matches the name you just gave to parent directory (e.g.
Be sure to edit the path to
run.commandfile if you have it installed somewhere other than:
Define your Musebot in
The SuperCollider server cannot boot when your input and output sample rates are set differently. When this happens you will see an error similar to the following:
Number of Devices: 3 0 : "Built-in Microph" 1 : "Built-in Input" 2 : "Built-in Output" ERROR: Input sample rate is 41000, but output is 48000. Mismatched sample rates are not supported. To disable input, set the number of input channels to 0. could not initialize audio. RESULT = 0
To fix this, open
Audio MIDI Setup.app located in
Show Audio Devices from the
Window menu, then cycle through the list of audio devices in the left pane of the
Audio Devices window, setting each device to use the same sample rate (e.g. 44100.0 Hz).