Sonic-pi: Keyboard Shortcuts

Created on 19 Dec 2014  路  11Comments  路  Source: sonic-pi-net/sonic-pi

Would be much appreciated if basic controls like play and stop had keyboard commands in order to prevent unnecessary hand movement off of the keyboard and onto the mouse to play a piece of code

question

Most helpful comment

Great question! It's awesome to see people seeing the value of keyboard only manipulation. Especially when you're trying to perform (even just for yourself).

Sonic Pi already supports many shortcuts for keyboard manipulation and navigation. The two controls you asked for are:

  • Play - M-r
  • Stop - M-s

Where M- means to hold down the Meta modifier explained in section Tut -> 10.1 which is either alt on RP/Windows or cmd on Mac.

Take a look at the tutorial page Doc System -> Tutorial -> 10.2 Shortcut Cheatsheet for a full list of shortcuts.

All 11 comments

Great question! It's awesome to see people seeing the value of keyboard only manipulation. Especially when you're trying to perform (even just for yourself).

Sonic Pi already supports many shortcuts for keyboard manipulation and navigation. The two controls you asked for are:

  • Play - M-r
  • Stop - M-s

Where M- means to hold down the Meta modifier explained in section Tut -> 10.1 which is either alt on RP/Windows or cmd on Mac.

Take a look at the tutorial page Doc System -> Tutorial -> 10.2 Shortcut Cheatsheet for a full list of shortcuts.

I knew I saw it somewhere, thanks!

You're welcome :-)

Happy Live Coding!

@BenGlasser , your link returns a 404. Is there a new cheat sheet location? Thanks.

Yep, it's section 10.2 of the built-in tutorial. Just hit the help button in sonic pi :)

I took a look at the cheat sheet but couldn't find a 'save current sound' to a file hotkey. Can it be added please?

What do you mean by 'save current sound'? Do you mean a shortcut for the audio record button?

I mean to save it to a file with .rb extension.

These shortcuts are:

  • S-M-s - Save contents of buffer to a file
  • S-M-o - Load contents of buffer from a file

Any shortcuts for commenting out a multi-line block ? I added a note at the bottom of this question: https://github.com/samaaron/sonic-pi/issues/503

Was this page helpful?
0 / 5 - 0 ratings