Skip to content

Instantly share code, notes, and snippets.

@automata
Created September 29, 2012 01:15
Show Gist options
  • Select an option

  • Save automata/3802819 to your computer and use it in GitHub Desktop.

Select an option

Save automata/3802819 to your computer and use it in GitHub Desktop.
vivace example 2
// 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 = [1, 5,12, 2, 23,12,40,60, 90, 120]
// durations in ratios of tempo
eyes.pos = {1/2, 1, 1/8,1/16, 1, 2, 4,8,16 }
// audio file positions in seconds:
a.pos = [0, 1]
// durations of audio grains in seconds:
a.gdur = [.01, 0.001]
// durations in ratios of tempo
a.pos = {1/2, 1/8, 1/16, 1/32,1/16, 1/8, 1/2, 1/6}
b.pos = [5, 2, 3]
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, 1, 2, 3, 4, 5, 6, 7, 8, 9]
c.gdur = [.01, 0.01234]
c.pos = {1/4, 1/2, 1/8, 1/16}
// 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