Skip to content

tristan00b/sc-musebot-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

  1. Learn about working with Musebots by checking out the info links below

  2. Copy the template directory into your Musebots directory 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 😊

  3. Open the config.txt file and change id <name> in the first line so that <name> matches the name you just gave to parent directory (e.g. id tb_noisebot)

  4. Be sure to edit the path to sclang in the run.command file if you have it installed somewhere other than:

    /Applications/SuperCollider/SuperCollider.app/Contents/MacOS/sclang
    
  5. Define your Musebot in musebot.sc

Caveats

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 /Applications/Utilities, select 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).

More Info

About

A template for creating Musebots in SuperCollider

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published