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
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:
M-rM-sWhere 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!
FYI the shortcut cheat sheet has moved to: https://github.com/samaaron/sonic-pi/blob/master/etc/doc/tutorial/en/10.2-Shortcut-Cheatsheet.md
@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 fileS-M-o - Load contents of buffer from a fileAny 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
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:
M-rM-sWhere
M-means to hold down the Meta modifier explained in section Tut -> 10.1 which is eitheralton RP/Windows orcmdon Mac.Take a look at the tutorial page Doc System -> Tutorial -> 10.2 Shortcut Cheatsheet for a full list of shortcuts.