20100618 Datasalon5 Vooruit Gent

Post on 15-May-2015

961 views 0 download

Tags:

Transcript of 20100618 Datasalon5 Vooruit Gent

Library MusicDatasalon 5 - June 18th 2010 - Vooruit -

GentPatrick Hochstenbach

http://twitter.com/hochstenbach

Processing

•Created in 2001 at MIT by Casey Raes & Ben Fry

•Data Visualization

•Java

•Open Source

Processing Language

void setup() {

// What to do when the

// program starts

}

void draw() {

// Do this in a loop

}

Processing Demovoid setup() { size(400,400); background(#ffffff);}

void draw() { stroke(0); strokeWeight(2); if (mousePressed) { line(mouseX, mouseY, pmouseX, pmouseY); }}

Result

Export to HTML

Features

•Video: Camera, Play/Create movies

•Networking

•3D Rendering

•Sound

•Computer Vision

•Arduino

Music...

•Inspired By André Michelle ToneMatrix

http://lab.andre-michelle.com/tonematrix

Pentatonic Scale

http://www.youtube.com/watch?v=ne6tB2KiZuk

Now for the Notes...

UGent Library = Book Tower

20 floors

Every day dozens of book requests...

Which can be mapped to floor levels =Pentatonic Scale Notes!

Acquire ...(get data)

Filter...(keep time & floor)

{ T1,14}{T2,6}

{T3,12}{T4,14}{T5,6}{T6,-2}{T7,-2}{T8,-2}

...

Mine...

•If (TN+1 - TN) < 15min => CHORD

•=> 14, 6 , 12, [14,6],-2,14,...

•Map to Pentatonic Scale notes

•=> 80, 67, 70,[80,67],50,80,...

Represent ...(16 note

melody)

http://search.ugent.be:8000/app/music

Refine... (1 month melody)

http://search.ugent.be/~phochste/music/

Refine... (guitar version)

http://search.ugent.be/~phochste/music3/alt/

Interact... (4 years)

http://search.ugent.be/%7Ephochste/aleph_years/

Herbie Hancock

•http://www.last.fm/music/Herbie+Hancock/_/Black+Gravity

•Black Gravity listen to piano theme at 00:20 and listen again to my Version II:

•http://search.ugent.be/~phochste/music/

Links

•http://processing.org/

•http://processingjs.org/

•http://www.openprocessing.org/

•Ben Fry. “Visualizing Data” 0-596-51455-7

•http://lib.ugent.be/tektok/