Geekcamp ID 2015: Programmable Music

Post on 18-Feb-2017

398 views 1 download

Transcript of Geekcamp ID 2015: Programmable Music

(Programmable-Music)

By Asep Bagja Priandana/@bepitulaz

Who Am I?

CTO at Organizer at

Also a farmer wannabe at my private greenhouse and seasonal bedroom musician.

The Usual Way To Play Music

The Programmer’s Way

A Lisp implementation on top of Java Virtual Machine

How is It Looks Like?

(function-name argument another-argument and-whatever-argument)

‘a-symbol:a-keyword“a-string”[a vector]{:a map}@atom;; a comment

Clojure’s Sample Code

;; Function definition(defn simple-func [a b] (let [result (+ a b)] (if (> result 10) true false)))

;; Calling a function(simple-func 5 8)

;; The result is true

Open source audio environment using Super Colliderengine for Clojure programming language.

LET’S MAKE SOME ((( NOISES! )))Hello World!

Sample 1:Frequency Modulation Synthesis

Sample 2:Play The Sampler

Sample 3:Create Sequencer

LET’S ((( JAM! )))Thank you and …