Skip to content

Instantly share code, notes, and snippets.

View jefdaj's full-sized avatar

Jeff Johnson jefdaj

  • Department of Plant and Microbiology at UC Berkeley
  • Berkeley, CA
  • X @jefdaj
View GitHub Profile
@lspector
lspector / notes.clj
Created February 4, 2014 17:23
Minimal example of how to play a melody using Clojure/Overtone/Leipzig
;; Minimal example of how to play a melody using Clojure/Overtone/Leipzig, based on code
;; at https://github.com/ctford/leipzig
;; by Lee Spector, lspector@hampshire.edu, 20140204
;; Add the following to your dependencies in project.cl, and do "lein deps" if your environment requires it:
;; [leipzig "0.7.0"]
(ns notes.core
(:use [leipzig melody scale live]