Project

spx

0.0
No release in over 3 years
A CLI tool to play or record Sonic Pi code by using Sonic Pi's built-in OSC server.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies

Runtime

~> 1.1
~> 0.6.3
~> 1.4
 Project Readme

Spx: Sonic Pi eXecutor

Spx is a CLI tool to play or record Sonic Pi code by using Sonic Pi's built-in OSC server.

Requirements

  • Sonic Pi (version 4.5.0 or later)
  • Ruby

Usage

# Help
gem exec spx

# Test connection to Sonic Pi
gem exec spx test_connection

# Play Sonic Pi code
gem exec spx play path/to/sonic-pi-code.rb

# Record Sonic Pi code
gem exec spx record path/to/sonic-pi-code.rb -o path/to/output.wav

If gem exec is not available, you can use the following command instead:

gem install -g spx
spx

License

The gem is available as open source under the terms of the MIT License.

Acknowledgements