15
1/16 MIDI Madness Carles Pina [email protected] April 2013, Python Code Dojo

Midi madness

Embed Size (px)

Citation preview

Page 1: Midi madness

1/16

MIDI Madness

Carles [email protected]

April 2013, Python Code Dojo

Page 2: Midi madness

2/16

Story

● Hackday at Mendeley● Classic “hack”:

– data -> graphic (bars, maps, animation)

● My idea: play with some other sense– data -> sound

● (so this time is not smelly like the “USB Olfactory Notifications”)

Page 3: Midi madness

3/16

Problem

● IANAM● Anagram of “mania”● Acronym of:

– I Am Not A Musician

● I didn't do any nice music

Page 4: Midi madness

4/16

Story of that day

● 10:00: I'll do the “The Music of your Library”● 11:30: I'll do “The Sound of your Library”● 13:00: I've done “The Noise of your library”

Page 5: Midi madness

5/16

What is MIDI (from Wikipedia)

● MIDI (Music Instrument Digital Interface) is a technical standard that describes a protocol, digital interface and connectors and allows a wide variety of electronic musical instruments, computers and other related devices to connect and communicate with one another.

Page 6: Midi madness

6/16

What MIDI (casual definition)

Page 7: Midi madness

7/16

Which data I could have used in my experiment

● Documents Readership● Each user's library document has:

– Number of readers

– Number of different countries

Page 8: Midi madness

8/16

Idea

Readers

Countries

Document 1

Document 2

Document 3

Document 2

Document 3

Page 9: Midi madness

9/16

● It has two dimensions● Sounds:

– pitch

– duration

– rythm

– instruments?

Page 10: Midi madness

10/16

Idea

Note pitch

Noteduration

Document 1(high duration, low pitch)

Document 2(low duration,low pitch) Document 3

(high pitch, low duration)

Page 11: Midi madness

11/16

Demo(s)

Page 12: Midi madness

12/16

Prior art

● Always investigate the prior art after resolving the problem :-)

● Youtube video● Vi Art

Page 13: Midi madness

13/16

Ideas... represent in music:

● PI/e digits● Fractals● Fibonacci/...● Any CSV file to sound● y=f(x) and create... music (*)● Text to sound! (enter a phrase, listen the

music of it)● Play! (how different languages sound?

Different functions? Different numbers?)

Page 14: Midi madness

14/16

y=f(x)

● (Too difficult for a Dojo?)● Enter a seed● Power/root: accelerates/deaccelerates● Add/rest: higher/lower pitch● etc.

Page 15: Midi madness

15/16

Possible implementation

● https://github.com/cpina/LondonPythonCodeDojo-music

or

● http://pinux.info/DojoMidi● On Linux: timidity to play .mid files● On Mac: Quicktime7 (someone told me today)● On Windows: Winamp