Skip to content

overtone/grid

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

+---+---+---+---+---+---+---+---+
|   |   |   |   |   |   |   |   |
+---+---+---+---+---+---+---+---+
|   |   |   |   |   |   |   |   |
+---+---+---+---+---+---+---+---+
|   |   | 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

About

Clojure Protocol for Grid Devices

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published