diff --git a/floppies/karina2/LICENSE b/floppies/karina2/LICENSE new file mode 100644 index 0000000..bc8fde7 --- /dev/null +++ b/floppies/karina2/LICENSE @@ -0,0 +1 @@ +FLOPPYLEFT - 2017 diff --git a/floppies/karina2/README b/floppies/karina2/README new file mode 100644 index 0000000..aec7f25 --- /dev/null +++ b/floppies/karina2/README @@ -0,0 +1,7 @@ +Author: Slavoj Žižek +Date: 1989 +Title: The Sublime Object of Floppy + +Description: + +And so on, and so on, and so on. diff --git a/floppies/karina2/main.py b/floppies/karina2/main.py new file mode 100644 index 0000000..8ce1a13 --- /dev/null +++ b/floppies/karina2/main.py @@ -0,0 +1,6 @@ +#!/usr/bin/env python + +import subprocess + +subprocess.call(["mpv", "saxawoogie.mp3", "--loop", "inf", "--volume", "10"], cwd="/media/floppy") + diff --git a/floppies/karina2/noweb/cgi-bin/play.cgi b/floppies/karina2/noweb/cgi-bin/play.cgi new file mode 100755 index 0000000..74c4df7 --- /dev/null +++ b/floppies/karina2/noweb/cgi-bin/play.cgi @@ -0,0 +1,23 @@ +#!/usr/bin/env python + +import cgi, os +import cgitb; cgitb.enable() +import subprocess + +f = cgi.FieldStorage() +p = f.getvalue("p", "Bump.mp3") +p = os.path.join("voice", p) +out = subprocess.check_output(["mpv", p], cwd="/media/floppy/noweb", stderr=subprocess.STDOUT) + +# print "Location: /index.html" +# print + +print "Content-type:text/html; charset=utf-8" +print +print """ + + + + + +""" diff --git a/floppies/karina2/noweb/images/Choreology-BasicTurn.png b/floppies/karina2/noweb/images/Choreology-BasicTurn.png new file mode 100644 index 0000000..64a50f0 Binary files /dev/null and b/floppies/karina2/noweb/images/Choreology-BasicTurn.png differ diff --git a/floppies/karina2/noweb/images/Choreology-Follow.png b/floppies/karina2/noweb/images/Choreology-Follow.png new file mode 100644 index 0000000..e1067a0 Binary files /dev/null and b/floppies/karina2/noweb/images/Choreology-Follow.png differ diff --git a/floppies/karina2/noweb/images/choreology1-BasicTurn.svg b/floppies/karina2/noweb/images/choreology1-BasicTurn.svg new file mode 100644 index 0000000..b8a969e --- /dev/null +++ b/floppies/karina2/noweb/images/choreology1-BasicTurn.svg @@ -0,0 +1 @@ +choreology-Bump \ No newline at end of file diff --git a/floppies/karina2/noweb/images/choreology10-ChickenWalks.svg b/floppies/karina2/noweb/images/choreology10-ChickenWalks.svg new file mode 100644 index 0000000..75fcc16 --- /dev/null +++ b/floppies/karina2/noweb/images/choreology10-ChickenWalks.svg @@ -0,0 +1 @@ +choreology-Bump \ No newline at end of file diff --git a/floppies/karina2/noweb/images/choreology2-Follow.svg b/floppies/karina2/noweb/images/choreology2-Follow.svg new file mode 100644 index 0000000..fc7b298 --- /dev/null +++ b/floppies/karina2/noweb/images/choreology2-Follow.svg @@ -0,0 +1 @@ +choreology-Bump \ No newline at end of file diff --git a/floppies/karina2/noweb/images/choreology3-AmericanSpin.svg b/floppies/karina2/noweb/images/choreology3-AmericanSpin.svg new file mode 100644 index 0000000..5701079 --- /dev/null +++ b/floppies/karina2/noweb/images/choreology3-AmericanSpin.svg @@ -0,0 +1 @@ +choreology-Bump \ No newline at end of file diff --git a/floppies/karina2/noweb/images/choreology4-Bump.svg b/floppies/karina2/noweb/images/choreology4-Bump.svg new file mode 100644 index 0000000..881a144 --- /dev/null +++ b/floppies/karina2/noweb/images/choreology4-Bump.svg @@ -0,0 +1 @@ +choreology-Bump \ No newline at end of file diff --git a/floppies/karina2/noweb/images/choreology5-StopAndGo.svg b/floppies/karina2/noweb/images/choreology5-StopAndGo.svg new file mode 100644 index 0000000..c596403 --- /dev/null +++ b/floppies/karina2/noweb/images/choreology5-StopAndGo.svg @@ -0,0 +1 @@ +choreology-Bump \ No newline at end of file diff --git a/floppies/karina2/noweb/images/choreology6-Windmill.svg b/floppies/karina2/noweb/images/choreology6-Windmill.svg new file mode 100644 index 0000000..27e7904 --- /dev/null +++ b/floppies/karina2/noweb/images/choreology6-Windmill.svg @@ -0,0 +1 @@ +choreology-Bump \ No newline at end of file diff --git a/floppies/karina2/noweb/images/choreology7-SpanishArms.svg b/floppies/karina2/noweb/images/choreology7-SpanishArms.svg new file mode 100644 index 0000000..69706a1 --- /dev/null +++ b/floppies/karina2/noweb/images/choreology7-SpanishArms.svg @@ -0,0 +1 @@ +choreology-Bump \ No newline at end of file diff --git a/floppies/karina2/noweb/images/choreology8-Hucklebuck.svg b/floppies/karina2/noweb/images/choreology8-Hucklebuck.svg new file mode 100644 index 0000000..ec1bf45 --- /dev/null +++ b/floppies/karina2/noweb/images/choreology8-Hucklebuck.svg @@ -0,0 +1 @@ +choreology-Bump \ No newline at end of file diff --git a/floppies/karina2/noweb/images/choreology9-Whip.svg b/floppies/karina2/noweb/images/choreology9-Whip.svg new file mode 100644 index 0000000..b058a5b --- /dev/null +++ b/floppies/karina2/noweb/images/choreology9-Whip.svg @@ -0,0 +1 @@ +choreology-Bump \ No newline at end of file diff --git a/floppies/karina2/noweb/images/test.png b/floppies/karina2/noweb/images/test.png new file mode 100644 index 0000000..a75f776 Binary files /dev/null and b/floppies/karina2/noweb/images/test.png differ diff --git a/floppies/karina2/noweb/index.html b/floppies/karina2/noweb/index.html new file mode 100644 index 0000000..ba4ae6c --- /dev/null +++ b/floppies/karina2/noweb/index.html @@ -0,0 +1,70 @@ + + + + + + + + + + +
+ + +
+ + +
+ + +
+ + +
+ + + +
+
+
+
+ + +
+ +
+ + + + + + + + + + diff --git a/floppies/karina2/noweb/voice/AmericanSpin.mp3 b/floppies/karina2/noweb/voice/AmericanSpin.mp3 new file mode 100644 index 0000000..5f46866 Binary files /dev/null and b/floppies/karina2/noweb/voice/AmericanSpin.mp3 differ diff --git a/floppies/karina2/noweb/voice/BasicTurn.mp3 b/floppies/karina2/noweb/voice/BasicTurn.mp3 new file mode 100644 index 0000000..950684f Binary files /dev/null and b/floppies/karina2/noweb/voice/BasicTurn.mp3 differ diff --git a/floppies/karina2/noweb/voice/Bump.mp3 b/floppies/karina2/noweb/voice/Bump.mp3 new file mode 100644 index 0000000..47553a8 Binary files /dev/null and b/floppies/karina2/noweb/voice/Bump.mp3 differ diff --git a/floppies/karina2/noweb/voice/ChickenWalks.mp3 b/floppies/karina2/noweb/voice/ChickenWalks.mp3 new file mode 100644 index 0000000..4f7781d Binary files /dev/null and b/floppies/karina2/noweb/voice/ChickenWalks.mp3 differ diff --git a/floppies/karina2/noweb/voice/Follow.mp3 b/floppies/karina2/noweb/voice/Follow.mp3 new file mode 100644 index 0000000..9f18727 Binary files /dev/null and b/floppies/karina2/noweb/voice/Follow.mp3 differ diff --git a/floppies/karina2/noweb/voice/Hucklebuck.mp3 b/floppies/karina2/noweb/voice/Hucklebuck.mp3 new file mode 100644 index 0000000..20b4c01 Binary files /dev/null and b/floppies/karina2/noweb/voice/Hucklebuck.mp3 differ diff --git a/floppies/karina2/noweb/voice/SpanishArms.mp3 b/floppies/karina2/noweb/voice/SpanishArms.mp3 new file mode 100644 index 0000000..b614b77 Binary files /dev/null and b/floppies/karina2/noweb/voice/SpanishArms.mp3 differ diff --git a/floppies/karina2/noweb/voice/StopAndGo.mp3 b/floppies/karina2/noweb/voice/StopAndGo.mp3 new file mode 100644 index 0000000..9b748e4 Binary files /dev/null and b/floppies/karina2/noweb/voice/StopAndGo.mp3 differ diff --git a/floppies/karina2/noweb/voice/TheWhip.mp3 b/floppies/karina2/noweb/voice/TheWhip.mp3 new file mode 100644 index 0000000..7dc1f95 Binary files /dev/null and b/floppies/karina2/noweb/voice/TheWhip.mp3 differ diff --git a/floppies/karina2/noweb/voice/Whip.mp3 b/floppies/karina2/noweb/voice/Whip.mp3 new file mode 100644 index 0000000..8d1162c Binary files /dev/null and b/floppies/karina2/noweb/voice/Whip.mp3 differ diff --git a/floppies/karina2/noweb/voice/Windmill.mp3 b/floppies/karina2/noweb/voice/Windmill.mp3 new file mode 100644 index 0000000..36d12b1 Binary files /dev/null and b/floppies/karina2/noweb/voice/Windmill.mp3 differ diff --git a/floppies/karina2/saxawoogie.mp3 b/floppies/karina2/saxawoogie.mp3 new file mode 100644 index 0000000..650ad38 Binary files /dev/null and b/floppies/karina2/saxawoogie.mp3 differ diff --git a/floppies/karina2/scripts/start_test_server.sh b/floppies/karina2/scripts/start_test_server.sh new file mode 100755 index 0000000..13183b9 --- /dev/null +++ b/floppies/karina2/scripts/start_test_server.sh @@ -0,0 +1 @@ +python -m CGIHTTPServer diff --git a/floppies/max/noweb/css/style.css b/floppies/max/noweb/css/style.css index 68e3218..f9702d2 100644 --- a/floppies/max/noweb/css/style.css +++ b/floppies/max/noweb/css/style.css @@ -4,3 +4,5 @@ p { margin: 0 0 70px; } #defaultCanvas0 { display: block !important; margin: 5em auto ; } #header { margin: 30px 0px 0px; } .text { display: block; margin: 0 50px; font-size: 3em; font-weight: 100 !important; } +#download { color: #FFCC00; } +#download:hover { cursor: pointer; color: #FFEE55; } diff --git a/floppies/max/noweb/index.html b/floppies/max/noweb/index.html index 496b2c2..62697b6 100644 --- a/floppies/max/noweb/index.html +++ b/floppies/max/noweb/index.html @@ -5,6 +5,7 @@ Euclid + @@ -21,7 +22,13 @@

The state of your composition is recorded, and displayed here as a downloadable score.

Never to be played, nor heard again.

+ +

XX--X--X--X-XX--X--X--X-XX--X--X--X-XX--X--X--X-XX--X--X-X

+ + \ No newline at end of file diff --git a/floppies/max/noweb/js/euclidScore.js b/floppies/max/noweb/js/euclidScore.js index d3b1a89..0e52574 100644 --- a/floppies/max/noweb/js/euclidScore.js +++ b/floppies/max/noweb/js/euclidScore.js @@ -4,9 +4,6 @@ var left, right, genLight, score var el1 = [], el2 = [], scrVals = [] function preload() { - // left = loadSVG('../svgs/leftHand.svg') - // right = loadSVG('../svgs/rightHand.svg') - genLight = loadFont("fonts/Gen-Light.otf"); score = loadStrings('../score/score.txt') @@ -26,32 +23,27 @@ function setup() { noLoop() fill(220) - textSize(150) + textSize(30) textAlign('right') } function draw() { background('#151515') - fill("#DDDDDD") + fill("#111111") + rect(0, 220, width, 280) + + fill("#BBBBBB") for (var i = 0; i < score.length; i++) { var line = split(score[i].slice(0, -1), ' ') - text(line.join(" "), 90, 150 + (i*90), 710) + text(line.join(" "), 600, 280 + (i*20), 170) scrVals.push(line) } stroke('#FFCC00') fill('#FFCC00') - // left.attribute('fill', 'none') - // right.attribute('fill', 'none') - // left.attribute('stroke', '#FFCC00') - // right.attribute('stroke', '#FFCC00') - - // image(right, 0, 0, 600, 600) - - for (var i = 0; i < el1.length; i++) { var r = random(5) var rVal = int(scrVals[int(random(scrVals.length))][int(random(7))]) diff --git a/floppies/nadine2/main.py b/floppies/nadine2/main.py index 4cbd07b..b6261d7 100755 --- a/floppies/nadine2/main.py +++ b/floppies/nadine2/main.py @@ -18,7 +18,7 @@ dic={ } -f=open("transcripts-drone-attack.txt","r") +f=open("/media/floppy/transcripts-drone-attack.txt","r") txt=f.readlines() p= re.compile(r"^(\d\d\:\d\d) \((.*?)\)\: (.*)") # regex for capturing groups: time, character, sentence for line in txt: @@ -32,7 +32,7 @@ for line in txt: sentence_parts=re.split(r"(\*\w+\*)", sentence) for part in sentence_parts: if part == '*expletive*': - subprocess.call(["aplay", 'swear.wav'], stdout=devnull, stderr=devnull) + subprocess.call(["aplay", '/media/floppy/swear.wav'], stdout=devnull, stderr=devnull) else: subprocess.call(["espeak", part, "-v", voice], stdout=devnull, stderr=devnull) # character speaks: his sleep(float(random.randint(1,10))/100) diff --git a/floppies/nadine3/main.py b/floppies/nadine3/main.py index e26d908..bbd34f4 100755 --- a/floppies/nadine3/main.py +++ b/floppies/nadine3/main.py @@ -8,7 +8,7 @@ dic={ "narrator": "en-us", } -f=open("detail_of_attack.txt","r") +f=open("/media/floppy/detail_of_attack.txt","r") txt=f.readlines() for line in txt: print line