A major complaint about Scratch 3.0 is that the rewritten sound editor has less features than that of Scratch 2.0.
I stole some code from Scratch 3.0's open source repositories: scratch-gui, scratch-audio, and maybe scratch-vm.
I also used some of their dependencies: wav-encoder, startaudiocontext, getFloatTimeDomainData, get-user-media-promise, and maybe one more but I don't remember. I also used lamejs for downloading as an MP3.
The editor source code is here.
You have to be focused on a sound editor for these shortcuts to work. You can set the focus by clicking on the editor. The command key also works for the ctrl shortcuts.
spacebackspace or deletectrl + Actrl + Xctrl + Cctrl + Vctrl + Zctrl + Y or ctrl + shift + Zctrl + Sctrl + alt + Sleft/right arrow keyshift + left/right arrow keyctrl + left/right arrow keyctrl + shift + left/right arrow key