Music as Data - Ignite 2011 SF

1,713 views

Published on

My ignite presentation

0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
1,713
On SlideShare
0
From Embeds
0
Number of Embeds
11
Actions
Shares
0
Downloads
4
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

Music as Data - Ignite 2011 SF

  1. 1. Hackers and Rockstars Code is data is music is code John Vlachoyiannis @jonromero              BugSense.com
  2. 2. (possible) Origins of music
  3. 3. "Give me an A" = 440hz
  4. 4. Maths - Music for Geeks music ( μουσική ) - The art of Muses Apollon God of music and poetry Pythagoras
  5. 5. Everything is fractions - Pythagoras
  6. 6. Elegant weapons for a more "civilized" age
  7. 7. Toplap.org Temporary Organisation for the Proliferation of Live Artistic Programming
  8. 8. MAD M.A.D - Music as Data
  9. 9. + = Clojure + Processing
  10. 10.   <ul><li>Example </li></ul>(play (pattern [kick])) code is data is music 
  11. 11.   <ul><li>Specification </li></ul>(play (pattern [kick (+ kick hihat tom )])) 1/2  code is data is music  1/2  
  12. 12.   <ul><li>Specification </li></ul>code is data is music  (play (pattern [A4 B4 C5 D5 E5 F5 G5])) (play (reverse (pattern [A4 B4 C5 D5 E5 F5 G5]))) data transformations 
  13. 13.   <ul><li>Specification </li></ul>Derezzed (Tron) (times 4 (play (pattern [[E4 G4 E4] [E5 B4 G4 D4 A4 E4 G4 A4]], 2)))
  14. 14.   <ul><li>Specification </li></ul>(play (cycle (map #(assoc % :pitch (- (:pitch %) 24)) (map #(assoc % :synth grunge-bass) (pattern derezzed 2)))))))
  15. 15.   Notes to code to data
  16. 16.   <ul><li>Play Bach – Minuet in G major </li></ul>(def g-minuet-right-hand [[D5 D5 D5] [B4 [A4 B4] G4] [A4 D5 C5] [B4 B4 A4] ; NOTE: two B4's should be tied together [D5 [C5 B4] [A4 G4]] [E5 [C5 B4] [A4 G4]] [F#4 [E4 D4] F#4] [G4] [B4 E5 E5] [C#5 [B4 C5] A4] [D5 E5 F5] [[E5 D5] [C#5 B4] A4] [A6 [G5 F#5 E5 D5]] [B6 [G5 F#5 E5 D5]] [C#5 A5 C#5] [D5] [D5 [C5 B5] A5] [B5 [A5 B5] [G4]] [C5 C5 [C5 B5]] [A5] [D5 [C5 B5 A5 G4]] [E5 [C5 B5 A5 G4]] [F#4 [E4 D4] F#4] [G4]])
  17. 17.   <ul><li>Examples </li></ul>any data can be music  more data transformations  (play (text-to-notes (get-latest-tweets)) ;; add markov-chains
  18. 18. ClojureScript (Web) <ul><li>Overtone - Processing - ClojureScript </li></ul>
  19. 19. Big Idea <ul><li>Github with music 'code' </li></ul><ul><li>Revisions of music </li></ul><ul><li>Share music as code </li></ul>
  20. 20. Thanks!  [email_address] Get music-as-data at mad.emotionull.com

×