programming for midi controllers

40
Programming for MIDI controllers @jordanorelli Tuesday, August 20, 13

Upload: jordan-orelli

Post on 27-Jun-2015

337 views

Category:

Entertainment & Humor


3 download

TRANSCRIPT

Page 1: Programming for MIDI controllers

Programming for MIDI controllers

@jordanorelliTuesday, August 20, 13

Page 2: Programming for MIDI controllers

This is an EWI.

Tuesday, August 20, 13

Page 3: Programming for MIDI controllers

An EWI does not make sound.

Tuesday, August 20, 13

Page 4: Programming for MIDI controllers

It only makes data.

Tuesday, August 20, 13

Page 5: Programming for MIDI controllers

It is a data horn.

Tuesday, August 20, 13

Page 6: Programming for MIDI controllers

The data that the EWI makes is MIDI.

MIDI

Tuesday, August 20, 13

Page 7: Programming for MIDI controllers

A MIDI message looks like this:

144 60 80

Tuesday, August 20, 13

Page 8: Programming for MIDI controllers

A MIDI message looks like this:

144 60 80

type

Tuesday, August 20, 13

Page 9: Programming for MIDI controllers

A MIDI message looks like this:

144 60 80

type data1

Tuesday, August 20, 13

Page 10: Programming for MIDI controllers

A MIDI message looks like this:

144 60 80

type data1 data2

Tuesday, August 20, 13

Page 11: Programming for MIDI controllers

MIDI

The EWI sends MIDI messages to a synthesizer.Tuesday, August 20, 13

Page 12: Programming for MIDI controllers

MIDI

The synthesizer is just a program. It was free.

(i.e., gratis)Tuesday, August 20, 13

Page 13: Programming for MIDI controllers

MIDI

The synthesizer sends sound to the speakers.

SOUND

Tuesday, August 20, 13

Page 14: Programming for MIDI controllers

(demo)

Tuesday, August 20, 13

Page 15: Programming for MIDI controllers

You can send MIDI messages anywhere you

like.

Tuesday, August 20, 13

Page 16: Programming for MIDI controllers

That is your right as a programmer.

Tuesday, August 20, 13

Page 17: Programming for MIDI controllers

MIDI

I like to send MIDI messages to Processing...

Tuesday, August 20, 13

Page 18: Programming for MIDI controllers

MIDI

... and have Processing generates

graphics.

LIGHT

Tuesday, August 20, 13

Page 19: Programming for MIDI controllers

You can use the synth and Processing at the same

time.

Tuesday, August 20, 13

Page 20: Programming for MIDI controllers

MIDI

MIDI

SOUND

LIGHT

Tuesday, August 20, 13

Page 21: Programming for MIDI controllers

(demo)

Tuesday, August 20, 13

Page 22: Programming for MIDI controllers

This is my Launchpad.

Tuesday, August 20, 13

Page 23: Programming for MIDI controllers

It also sends MIDI messages.

Tuesday, August 20, 13

Page 24: Programming for MIDI controllers

It sends MIDI messages when you push its

buttons.

Tuesday, August 20, 13

Page 25: Programming for MIDI controllers

Additionally, it can receive MIDI messages.

Tuesday, August 20, 13

Page 26: Programming for MIDI controllers

Sending MIDI message to the Launchpad can turn

lights on and off.

Tuesday, August 20, 13

Page 27: Programming for MIDI controllers

MIDI

I like to send MIDI messages to ChucK...

Tuesday, August 20, 13

Page 28: Programming for MIDI controllers

MIDI

... and have ChucK generate sound.

SOUND

Tuesday, August 20, 13

Page 29: Programming for MIDI controllers

ChucK is a strongly timed language. “one second” is always the same amount

of time.

Tuesday, August 20, 13

Page 30: Programming for MIDI controllers

Since rhythm is a function of time, ChucK is an excellent keeper of

rhythm.

Tuesday, August 20, 13

Page 31: Programming for MIDI controllers

Programming rhythm means programming time

itself.

Tuesday, August 20, 13

Page 32: Programming for MIDI controllers

(demo)

Tuesday, August 20, 13

Page 33: Programming for MIDI controllers

We can also send OSC messages from ChucK to

Processing.

OSC

Tuesday, August 20, 13

Page 34: Programming for MIDI controllers

...and have Processing generate graphics.

OSC

LIGHT

Tuesday, August 20, 13

Page 35: Programming for MIDI controllers

We can generate the sound and the graphics at the same

time.

OSC

LIGHT

MIDI

SOUND

Tuesday, August 20, 13

Page 36: Programming for MIDI controllers

(demo)

Tuesday, August 20, 13

Page 37: Programming for MIDI controllers

Let’s bring the EWI back.

Tuesday, August 20, 13

Page 38: Programming for MIDI controllers

MIDI

MIDI

MIDI

OSC

SOUND

SOUND

LIGHT

Tuesday, August 20, 13

Page 39: Programming for MIDI controllers

(demo)

Tuesday, August 20, 13

Page 40: Programming for MIDI controllers

Thanks!@jordanorelli

github.com/jordanorelli

Tuesday, August 20, 13