This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(ns overtone-workshop.core | |
(:require [overtone.algo.euclidean-rhythm :refer [euclidean-rhythm]]) | |
(:require [overtone.synth.stringed :refer :all]) | |
(:require [overtone.live :refer :all])) | |
(use 'overtone.live) | |
;; http://quod.lib.umich.edu/cgi/p/pod/dod-idx/synthesizing-a-javanese-gong-ageng.pdf | |
(definst bell [frequency 440 duration 1.0 volume 1.0 position 0 wet 0.5 room 0.5 | |
h0 1 h1 0.6 h2 0.4 h3 0.25 h4 0.2] | |
(let [harmonics [ 1 2 3 4.2 5.4] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rnorm(15) | |
x <- rnorm(15) | |
y <- rnorm(15) | |
plot(x, y) | |
# y |