Function: org-babel-lilypond-toggle-midi-play

org-babel-lilypond-toggle-midi-play is an interactive and byte-compiled function defined in ob-lilypond.el.gz.

Signature

(org-babel-lilypond-toggle-midi-play)

Documentation

Toggle whether midi will be played following a successful compilation.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/org/ob-lilypond.el.gz
(defun org-babel-lilypond-toggle-midi-play ()
  "Toggle whether midi will be played following a successful compilation."
  (interactive)
  (setq org-babel-lilypond-play-midi-post-tangle
        (not org-babel-lilypond-play-midi-post-tangle))
  (message (concat "Post-Tangle MIDI play has been "
                   (if org-babel-lilypond-play-midi-post-tangle
                       "ENABLED." "DISABLED."))))