https://github.com/repl-electric/monome
Make the box of lights dance bright as stars
https://github.com/repl-electric/monome
Last synced: about 1 month ago
JSON representation
Make the box of lights dance bright as stars
- Host: GitHub
- URL: https://github.com/repl-electric/monome
- Owner: repl-electric
- License: epl-1.0
- Created: 2014-01-26T12:40:30.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2014-02-21T10:58:28.000Z (over 12 years ago)
- Last Synced: 2024-03-27T13:50:30.513Z (over 2 years ago)
- Language: Clojure
- Homepage:
- Size: 160 KB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Monome
Stolen from https://github.com/meta-ex/ignite. This is purely for my own use, watch @overtone + @meta-ex + @samaaron for the proper extraction of this lib. It will be miles better than this.
Monome-serial is taken from my own locally installed snapshot: https://github.com/josephwilk/monome-serial/tree/protocols
This adds support for multiple Monome protocols.
## Kit
### Sample triggering
Stolen from the masterful Meta-ex https://github.com/meta-ex/ignite
```clojure
(use 'monome.core)
(use 'overtone.live)
(require '[monome.fonome :as fon])
(require '[monome.polynome :as poly])
(require '[monome.kit.sampler :as samp])
(def samples-g (group "samples"))
(def m128 (find-monome "/dev/tty.usbserial-m0000965"))
(defonce trigger-samples [(sample (freesound-path 86773)) (sample (freesound-path 77305))])
(defonce trigger-sampler128 (samp/mk-sampler ::trigger-sampler128 trigger-samples samples-g 0 16))
;;Dock trigger-sampler to 0x0 position on grid
(defonce __dock_trigger__ (poly/dock-fonome! m128
(:fonome trigger-sampler128)
::trigger-sampler128
0 0))
```