Skip to content

Instantly share code, notes, and snippets.

@automata
Created September 25, 2012 00:35
Show Gist options
  • Save automata/3779306 to your computer and use it in GitHub Desktop.
Save automata/3779306 to your computer and use it in GitHub Desktop.
vivace example
// vivace 0.0.4
// ~~~~~~~~~~
// edit the code below and type ctrl+x
//
// video from https://www.youtube.com/watch?v=ySMtB5nWxPs
// by Mike & Josh Shorts
// video positions in seconds:
eyes.pos = [23,12,40,60]
// durations in ratios of tempo
eyes.pos = {1/2, 1}
// audio file positions in seconds:
a.pos = [0]
// durations of audio grains in seconds:
a.gdur = [.01]
// durations in ratios of tempo
a.pos = {1/2}
b.pos = [5, 0]
b.gdur = [.012, .01]
b.pos = {1/8, 1/16, 1/16, 1/16, 1/16, 1/32, 1/32, 1/32, 1/32}
c.pos = [0]
c.gdur = [.01]
c.pos = {1/4}
// you got the idea right? have fun ;-)
// more info at http://automata.github.com/vivace
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment