back

Using the Sonic Pi editor

Downloading and Installing the Sonic Pi Editor

Raspberry Pi

Sonic Pi is included in Raspbian, you can find it under the Programming section of the menu.

Windows, MacOS and Linux

Sonic Pi is available to download for MacOS, Windows and Linux.

Note that there’s a ‘Sonic Pi Portable’ option which will self-extract and run from a USB stick or a folder, this is useful if you can’t easily get software installed.

The Sonic Pi Editor

screenshot
screenshot

The Sonic Pi Editor opens a set of buffers that you can easily move between.

The editor has lots of friendly features for beginners including build-in help, syntax highlighting, command completion suggestions and helpful error messages.

The Log Viewer output window shows what sounds were played when which is useful for understanding complex programs.

Sound settings

You can adjust the volume for Sonic Pi using the ‘Prefs’ menu.

screenshot
screenshot

Saving and Loading

Sonic Pi programs are saved as .txt text files. They can be saved and loaded in the editor.

screenshot
screenshot

The editor also automatically saves and loads the contents of the buffers.

Recording

Sonic Pi also supports recording of audio as .wav files. Click ‘Rec’ then ‘Run’ to start recording and then ‘Rec’ again to stop recording.

screenshot
screenshot

Note that you can import .wav files into Scratch as sounds for sprites or the stage.

Further resources