Clojure Protocol for Grid Devices
Clojure
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src/overtone/device
.gitignore
LICENSE
README.md
project.clj

README.md

+---+---+---+---+---+---+---+---+
|   |   |   |   |   |   |   |   |
+---+---+---+---+---+---+---+---+
|   |   |   |   |   |   |   |   |
+---+---+---+---+---+---+---+---+
|   |   | G |   |   |   |   |   |
+---+---+---+---+---+---+---+---+
|   |   |   | R |   |   |   |   |
+---+---+---+---+---+---+---+---+
|   |   |   |   | I |   |   |   |
+---+---+---+---+---+---+---+---+
|   |   |   |   |   | D |   |   |
+---+---+---+---+---+---+---+---+
|   |   |   |   |   |   |   |   |
+---+---+---+---+---+---+---+---+
|   |   |   |   |   |   |   |   |
+---+---+---+---+---+---+---+---+

An abstraction for button-grid based controllers such as the monome.

Usage

(def grid (make-launchpad)) ;; from overtone.device.launchpad
(led-set grid 1 2 1) ; red
(led-set grid 1 2 2) ; green
(led-set grid 1 2 3) ; yellow
(led-set grid 1 2 0) ; off
(on-action grid (fn [event x y] (led-set grid x y (if (= :press event) 1 0))))

Contributors

  • Philip Potter
  • Gary Trakhman
  • Sam Aaron
  • Fronx