What is the Lisp function for stopping playback (bound to the shortcut cmd-esc)?
... I could never add a custom keyboard shortcut to the Opusmodus text editor Hemlock (and I tried), but I just managed adding keyboard shortcuts and a menu for playing Opusmodus snippets and my polyphonic score format to Emacs (thanks to the fact that scores now can be displayed in a separate window). Only need some key for stopping playback as well.
(The main thing I will then miss when using Emacs as the Opusmodus IDE is the close integration of the document, but well, you cannot have everything 🙂 On the plus side, I have a more stable editor and in particular a very good debugger.)
By Avner Dorman
I have a basic lisp question - I'd like to create a function that takes a tonality as its argument and performs something like the following line:
(setf test (tonality-map '((pcs '3-2) :root b3 :map shift) (make-scale 'c4 12)))
So (defun pitches (tonality) .....) - and then (pitches (pcs '3-2)) would return the list (b3 c4 d4 b4 c5 d5 b5 c6 d6 b6 c7 d7)
Thanks so much!