Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
w1n5t0n committed Apr 16, 2019
2 parents b19284f + 5931928 commit 84b6b98
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 5 deletions.
2 changes: 2 additions & 0 deletions additional-settings.el
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
(use-package magit)
(use-package pdf-tools)
(use-package org-pdfview)
(use-package rust-mode)
(setq rust-format-on-save t)
2 changes: 1 addition & 1 deletion init.el
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
;; If there is more than one, they won't work right.
'(package-selected-packages
(quote
(expand-region helm org-ref intero elpy yasnippet which-key use-package smartparens scroll-restore org-pdfview monokai-theme magit ido-vertical-mode hydra ghc avy))))
(rust-mode expand-region helm org-ref intero elpy yasnippet which-key use-package smartparens scroll-restore org-pdfview monokai-theme magit ido-vertical-mode hydra ghc avy))))
(custom-set-faces
;; custom-set-faces was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
Expand Down
2 changes: 1 addition & 1 deletion snippets/timelines-mode/saw
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ synth "$1_saw" $ do
"freq" <>< let
in ${3:f}
"width" <>< let
in ${5:0}
in ${5:0.5}
"pan" <>< let
in ${0:0}
20 changes: 20 additions & 0 deletions snippets/timelines-mode/saw4
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# -*- mode: snippet -*-
# name: saw4
# key: saw4
# --
let chords = [ [0, 3, 7, 9] ]
synth "$1_saw4" $ do
"amp" <>< let
in ${2:0}
"freq1" <>< let
in ${3:f}
"freq2" <>< let
in ${4:f}
"freq3" <>< let
in ${5:f}
"freq4" <>< let
in ${6:f}
"width" <>< let
in ${7:0.5}
"pan" <>< let
in ${0:0}
6 changes: 3 additions & 3 deletions timelines-mode.el
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"*The name of the TimeLines process buffer (default = *timelines*).")


(defvar timelines-path-to-src
(defvar timelines-path
"~/timelines"
"*The path to the source files to be loaded on startup (default = '~/timelines')")

Expand Down Expand Up @@ -59,11 +59,11 @@
(interactive)
(if (comint-check-proc timelines-buffer)
(error "A TimeLines process is already running")
(let ((default-directory timelines-path-to-src))
(let ((default-directory timelines-path))
(make-comint "timelines" timelines-interpreter nil timelines-interpreter-args))
(delete-other-windows)
(timelines-show-output)
(timelines-send-string ":script Boot.hs")))
(timelines-send-string ":script BootScript.hs")))

(defun timelines-reset ()
(interactive)
Expand Down

0 comments on commit 84b6b98

Please sign in to comment.