Skip to content

Settings

Every setting the Sonic Pi for VS Code extension contributes, with its type, default and allowed values, generated from package.json contributes.configuration.

Setting Type Default Description
sonicpi.osc.host string "127.0.0.1" IP address of the Sonic Pi server.
sonicpi.osc.sendPort number 4557 UDP port to send OSC commands to. Range: 1 to 65535.
sonicpi.osc.listenPort number 4558 UDP port to listen for server responses. Range: 1 to 65535.
sonicpi.osc.daemonPort number 0 Port for keep-alive messages (0 = auto-discover). Range: 0 to 65535.
sonicpi.autoConnect boolean true Automatically connect to Sonic Pi when a .spi file is opened.
sonicpi.heartbeatInterval number 2000 Milliseconds between keep-alive heartbeats. Range: 500 to 10000.
sonicpi.sonicPiPath string "" Path to Sonic Pi installation (empty = auto-detect).
sonicpi.audioInputs boolean false Open audio inputs on the Sonic Pi audio server (needed for live_audio). Off by default: requesting the microphone from VS Code triggers a macOS permission prompt and can silence output when input/output sample rates differ. Restart the daemon after changing.
sonicpi.logLevel string "info" Minimum log level to display in the Sonic Pi Log. Allowed:
"debug": Show all messages including internal debug output.
"info": Show user output, cues, syncs, and errors (default).
"warning": Show warnings and errors only.
"error": Show errors only.