diff options
| author | Jake Zerrer <him@jakezerrer.com> | 2025-11-06 15:25:16 -0500 |
|---|---|---|
| committer | Jake Zerrer <him@jakezerrer.com> | 2025-11-07 13:14:16 -0500 |
| commit | 275450c8c07a4f73e1f6e1da83578cc2ec2248b8 (patch) | |
| tree | 5076790f343ab537d28ff748dea82d2d63a1ef5d /src/unheard/instrument_utils.clj | |
| parent | c62ed160a04c1ee5d08297d13a26630a590c5d6a (diff) | |
Vastly simplify controller setup
Diffstat (limited to 'src/unheard/instrument_utils.clj')
| -rw-r--r-- | src/unheard/instrument_utils.clj | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/src/unheard/instrument_utils.clj b/src/unheard/instrument_utils.clj deleted file mode 100644 index 1ceae6b..0000000 --- a/src/unheard/instrument_utils.clj +++ /dev/null @@ -1,13 +0,0 @@ -(ns unheard.instrument-utils) - -(defn is-knob [inst] - (fn [n [ch k _v]] - (= [ch k] (get-in inst [:knobs n])))) - -(defn is-fader [inst] - (fn [n [ch k _v]] - (= [ch k] (get-in inst [:faders n])))) - -(defn is-pad [inst] - (fn [n [ch k _v]] - (= [ch k] (get-in inst [:pads n])))) |
