live coding music robotic pianos vitor guerra rolla postdoctoral - - PowerPoint PPT Presentation

live coding music
SMART_READER_LITE
LIVE PREVIEW

live coding music robotic pianos vitor guerra rolla postdoctoral - - PowerPoint PPT Presentation

live coding music robotic pianos vitor guerra rolla postdoctoral fellow summary introduction chuck programming language MIDI protocol pre-loaded code robotic pianos => instruments live coding live coding


slide-1
SLIDE 1

– robotic pianos –

vitor guerra rolla

postdoctoral fellow

live coding music

slide-2
SLIDE 2

summary

  • introduction
  • chuck programming language
  • MIDI protocol
  • pre-loaded code
  • robotic pianos => instruments
  • live coding
slide-3
SLIDE 3

live coding

  • performing arts
  • on the fly or real-time
  • musician(s) + computer(s)
  • video animation or image
  • pedagogical / learning purpose
slide-4
SLIDE 4

chuck

  • Ge Wang
  • real-time sound synthesis
  • time-based programming => now
  • operators:
  • MIDI compatible

=> % ,

slide-5
SLIDE 5

musical instrument digital interface (MIDI)

Std.mtof()

slide-6
SLIDE 6

pre-loaded code

  • root key

(key.ck) changeRootNote();

  • musical scales

(scales_lib.ck) quantize();

  • monitoring

(monitor.ck) monitor();

slide-7
SLIDE 7

pre-loaded code

  • (scales_lib.ck) => function quantize(C, aeolian)

C aeolian scale

  • ctave
slide-8
SLIDE 8

robotic pianos

  • composed by Andrew Sorensen
  • impromptu language
  • two piano hands + guitar + hi-hat

=>

slide-9
SLIDE 9

lefthand – step 1

immutable!

55 57 59

2 * G + A + B (4 beats) 0,5 sec → time interval between notes

slide-10
SLIDE 10

lefthand – step 2

48 50 52

One note per measure (8 beats)

0,5 sec → time interval

+ 0,25 sec offset → step 1

mutable !

key .changeRootNote() harmonic progression

slide-11
SLIDE 11

A4 C4 (3 * cos (x / 2) + 5) * (cos ((7 * x)/3) + key.root + 24) π 2π 3π 4π 5π 6π 7π 8π 9π 10π π x = 90°

quantize(wave, scale, key.root);

righthand

q u a n t i z e

slide-12
SLIDE 12

guitar

  • triangle wave form
  • ADSR envelope

time (seconds) volume 0,05 0,5 0,3 max 0,7 Off On

slide-13
SLIDE 13

hi-hat

  • noise
  • ADSR envelope
  • high pass filter

time (seconds) volume 0,002 0,01 max 0,1 random();

slide-14
SLIDE 14

live coding – robotic pianos

slide-15
SLIDE 15

thank you