This repository has been archived on 2024-10-22. You can view files and clone it, but cannot push or open issues or pull requests.
spacemacs/layers/+music/tidalcycles/funcs.el
Riccardo Binetti 37c85cdb53
Add TidalCycles layer
This layer adds tidal-mode, to use TidalCycles (https://tidalcycles.org)
from Spacemacs. It also remaps some keybindings in places that are more
idiomatic to Spacemacs.
2020-03-04 23:58:40 +01:00

26 lines
667 B
EmacsLisp

;;; funcs.el --- TidalCycles Layer functions File for Spacemacs
;;
;; Copyright (c) 2012-2020 Sylvain Benner & Contributors
;;
;; Author: Riccardo Binetti <rbino@gmx.com>
;; URL: https://github.com/syl20bnr/spacemacs
;;
;; This file is not part of GNU Emacs.
;;
;;; License: GPLv3
(defun tidal-unmute-all ()
"Unmute all orbits"
(interactive)
(tidal-send-string ":{")
(tidal-send-string " mapM_ (unmute) [1,2,3,4,5,6,7,8,9,10,11,12]")
(tidal-send-string ":}")
)
(defun tidal-unsolo-all ()
"Unsolo all orbits"
(interactive)
(tidal-send-string ":{")
(tidal-send-string " mapM_ (unsolo) [1,2,3,4,5,6,7,8,9,10,11,12]")
(tidal-send-string ":}")
)