geekcamp id 2015: programmable music

13
(Programmable-Music) By Asep Bagja Priandana/@bepitulaz

Upload: asep-bagja

Post on 18-Feb-2017

399 views

Category:

Technology


1 download

TRANSCRIPT

Page 1: Geekcamp ID 2015: Programmable Music

(Programmable-Music)

By Asep Bagja Priandana/@bepitulaz

Page 2: Geekcamp ID 2015: Programmable Music

Who Am I?

CTO at Organizer at

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

Page 3: Geekcamp ID 2015: Programmable Music

The Usual Way To Play Music

Page 4: Geekcamp ID 2015: Programmable Music

The Programmer’s Way

Page 5: Geekcamp ID 2015: Programmable Music

A Lisp implementation on top of Java Virtual Machine

Page 6: Geekcamp ID 2015: Programmable Music

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

Page 7: Geekcamp ID 2015: Programmable Music

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

Page 8: Geekcamp ID 2015: Programmable Music

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

Page 9: Geekcamp ID 2015: Programmable Music

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

Page 10: Geekcamp ID 2015: Programmable Music

Sample 1:Frequency Modulation Synthesis

Page 11: Geekcamp ID 2015: Programmable Music

Sample 2:Play The Sampler

Page 12: Geekcamp ID 2015: Programmable Music

Sample 3:Create Sequencer

Page 13: Geekcamp ID 2015: Programmable Music

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