Skip to content

the-virtual-machine/sonic-pi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sonic Pi Scripts and Samples

Tip

All relevant links are at thevirtualmachine.live - be sure to check them out! :)

Welcome to my collection of scripts and samples for Sonic Pi! This repository contains a variety of code snippets and sound samples for creating music with Sonic Pi and other livecoding tools. Feel free to explore, use, and contribute.

You can find out more info on the livecoding community at [livecoding.info][https://livecoding.info]

There are also some samples for Hydra in the respective folder.

Worthy Mentions

Sonic Pi

all-samples.rb - cycles through all the Sonic Pi samples
all-synths.rb - cycles through all the Sonic Pi synths
Sonic Pi Hidden shortcuts! - All the hidden shortcuts you never knew about ;)

Hydra

screenshare.js file - Click here to see live version in browser.

Usage

  1. Clone the repository:

    git clone https://github.com/the-virtual-machine/sonic-pi.git
    cd sonic-pi-scripts
  2. Open Sonic Pi and load any of the .rb scripts from the directory.

  3. Run the script by pressing the "Run" button in Sonic Pi.

Or, just copy from the webpage and paste into Sonic Pi.

If you like the formatting for the files, and want to make your own: just run: bash python3 draft.py

License

These works © 2024 by the_virtual_machine are licensed under CC BY-SA 4.0
The Hydra software is also under a CC BY-NC-SA 4.0.

Credits

If you use any of the code or samples from this repository, please provide credit by linking back to this repository or mentioning my GitHub username (@the-virtual-machine).