Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
207 changes: 0 additions & 207 deletions sonic-pi-console.el

This file was deleted.

10 changes: 3 additions & 7 deletions sonic-pi-mode.el
Original file line number Diff line number Diff line change
@@ -1,20 +1,16 @@
;;; sonic-pi-mode.el --- Minor mode for SonicPi interactions -*- lexical-binding: t -*-

(require 'sonic-pi-osc)
(require 'sonic-pi-tool)

(defun sonic-pi-quit ()
"Shutdown SonicPi"
(interactive)
(sonic-pi-osc-cleanup)
(sonic-pi-messages-buffer-cleanup)
(sonic-pi-sonic-server-cleanup))

(defun sonic-pi-restart () (interactive) (sonic-pi-quit) (sonic-pi-jack-in))
(defun sonic-pi-stop-all () (interactive) (sonic-pi-osc-send-command "stop-all-jobs"))
(defun sonic-pi-start-recording () (interactive) (sonic-pi-osc-send-command "start-recording"))
(defun sonic-pi-stop-recording (filename) (interactive "FSave to:")
(sonic-pi-osc-send-command "stop-recording")
(sonic-pi-osc-send-command-with-arg "save-recording" (buffer-name) filename))
(defun sonic-pi-stop-all () (interactive) (sonic-pi-tool-command "stop"))
(defun sonic-pi-start-recording (filename) (interactive "FSave to:") (sonic-pi-tool-command (format "record %s" filename)))

(defvar sonic-pi-mode-map
(let ((map (make-sparse-keymap)))
Expand Down
140 changes: 0 additions & 140 deletions sonic-pi-osc.el

This file was deleted.

Loading