summaryrefslogtreecommitdiff
path: root/src/main.clj
diff options
context:
space:
mode:
authorJake Zerrer <him@jakezerrer.com>2025-10-16 13:36:16 -0400
committerJake Zerrer <him@jakezerrer.com>2025-10-16 13:54:03 -0400
commita36b60a8ee2a293d0c9783cbe59da2a8d9c1b195 (patch)
treed3d85aa044a3952aed9ab56c24f0c55935d4cc40 /src/main.clj
parent9b1b81e5097f05fe879bb67605fa839e2d00bfd1 (diff)
Simplify note; create group
Diffstat (limited to 'src/main.clj')
-rw-r--r--src/main.clj5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/main.clj b/src/main.clj
index d3f7ce0..74982ed 100644
--- a/src/main.clj
+++ b/src/main.clj
@@ -1,7 +1,8 @@
(ns main
(:require [missionary.core :as m]
[clojure.set :refer [difference union]]
- [portal :refer [>portal-main rec show-portal hide-portal +cap -cap cap]]))
+ [portal :refer [>portal-main rec show-portal hide-portal +cap -cap cap]]
+ [notation :refer [melody]]))
;; How many times per second are output continuous values sampled and turned
;; into events?
@@ -73,7 +74,7 @@
;; but not at all if nothing has changed
(m/sample
vector
- >notes-on
+ melody
clock))))
(def process-midi-toggle-events