Geekcamp ID 2015: Programmable Music
-
Upload
asep-bagja -
Category
Technology
-
view
398 -
download
1
Transcript of Geekcamp ID 2015: Programmable Music
![Page 1: Geekcamp ID 2015: Programmable Music](https://reader036.fdocuments.us/reader036/viewer/2022081604/58a7c4e81a28ab6b5a8b5557/html5/thumbnails/1.jpg)
(Programmable-Music)
By Asep Bagja Priandana/@bepitulaz
![Page 2: Geekcamp ID 2015: Programmable Music](https://reader036.fdocuments.us/reader036/viewer/2022081604/58a7c4e81a28ab6b5a8b5557/html5/thumbnails/2.jpg)
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](https://reader036.fdocuments.us/reader036/viewer/2022081604/58a7c4e81a28ab6b5a8b5557/html5/thumbnails/3.jpg)
The Usual Way To Play Music
![Page 4: Geekcamp ID 2015: Programmable Music](https://reader036.fdocuments.us/reader036/viewer/2022081604/58a7c4e81a28ab6b5a8b5557/html5/thumbnails/4.jpg)
The Programmer’s Way
![Page 5: Geekcamp ID 2015: Programmable Music](https://reader036.fdocuments.us/reader036/viewer/2022081604/58a7c4e81a28ab6b5a8b5557/html5/thumbnails/5.jpg)
A Lisp implementation on top of Java Virtual Machine
![Page 6: Geekcamp ID 2015: Programmable Music](https://reader036.fdocuments.us/reader036/viewer/2022081604/58a7c4e81a28ab6b5a8b5557/html5/thumbnails/6.jpg)
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](https://reader036.fdocuments.us/reader036/viewer/2022081604/58a7c4e81a28ab6b5a8b5557/html5/thumbnails/7.jpg)
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](https://reader036.fdocuments.us/reader036/viewer/2022081604/58a7c4e81a28ab6b5a8b5557/html5/thumbnails/8.jpg)
Open source audio environment using Super Colliderengine for Clojure programming language.
![Page 9: Geekcamp ID 2015: Programmable Music](https://reader036.fdocuments.us/reader036/viewer/2022081604/58a7c4e81a28ab6b5a8b5557/html5/thumbnails/9.jpg)
LET’S MAKE SOME ((( NOISES! )))Hello World!
![Page 10: Geekcamp ID 2015: Programmable Music](https://reader036.fdocuments.us/reader036/viewer/2022081604/58a7c4e81a28ab6b5a8b5557/html5/thumbnails/10.jpg)
Sample 1:Frequency Modulation Synthesis
![Page 11: Geekcamp ID 2015: Programmable Music](https://reader036.fdocuments.us/reader036/viewer/2022081604/58a7c4e81a28ab6b5a8b5557/html5/thumbnails/11.jpg)
Sample 2:Play The Sampler
![Page 12: Geekcamp ID 2015: Programmable Music](https://reader036.fdocuments.us/reader036/viewer/2022081604/58a7c4e81a28ab6b5a8b5557/html5/thumbnails/12.jpg)
Sample 3:Create Sequencer
![Page 13: Geekcamp ID 2015: Programmable Music](https://reader036.fdocuments.us/reader036/viewer/2022081604/58a7c4e81a28ab6b5a8b5557/html5/thumbnails/13.jpg)
LET’S ((( JAM! )))Thank you and …