From df694df2dc2a78a539230146555c8b5a03eb30b3 Mon Sep 17 00:00:00 2001 From: UDI-ME-TA Date: Fri, 24 Mar 2017 11:56:30 +0100 Subject: [PATCH 1/5] change links and location of the folder fine-line --- floppies/claudia/noweb/.DS_Store | Bin 6148 -> 10244 bytes floppies/claudia/noweb/essay.html | 17 ----------------- floppies/claudia/noweb/explanation.html | 2 +- floppies/claudia/noweb/index.html | 8 ++++---- floppies/claudia/noweb/score.html | 17 ----------------- 5 files changed, 5 insertions(+), 39 deletions(-) delete mode 100644 floppies/claudia/noweb/essay.html delete mode 100644 floppies/claudia/noweb/score.html diff --git a/floppies/claudia/noweb/.DS_Store b/floppies/claudia/noweb/.DS_Store index cdfa72dd5ce3ababe05cc338f9d1e210d1d03ab1..cf71fb4e1e53c73a9b5659835f97042752104200 100644 GIT binary patch literal 10244 zcmeHMTWl0n7(QPqu-g$j<<0`>0+FKB*iC4|CBf}>L1;l5wxun%b#`ZVB&|{268Dk;3xm53?qQb@X{J!g|@_S~I1o<=e5VM%cY-VHz z@3Ia$0t5mC0t5mC0t5mCCIbTW&E{7~kuoR)1OfyC1nwZf_lGFmT*iGlBBj_ms1PXt z$!h8r7u6{b5I#{~#(g;=rEsN~GJAmU3O~hwbSHh3o0E+Dazsk$&LG_x{3pZDP#~U8 zeoRpaw-KlGtou)CER_C-iwx^l4kuP)I z(_`AYGnjA+w(jmp$#^}c?)9hDxt)2VNUoilZR|8%Ghrx?pH1wkFmX zUEMs~7#)f=#abGpEo+;Hht*S|(4q<etP)hL65>`t>ts&z=A5bBPB09fi#vhtB27 z(CBW~%FtxEbp_@Y0NGmA!2^9(nw*181ymaJp@X!K+qt1w`brY@^l*#a3Gt(KKCk4Wom-m$Ds$2C3E zvHN;G_dodX>a`n2 zYt_10${b~0Pm#Y8%jh2DZ>vvpvxcpk_JLjW4sFleZyNb<9lj2C+1h|HI!mpqU9d2s z?9pks+Z>(ib@gH>EHq0NMk2eprY&z!sfR+Md+D->(&f_NRn0eC(V!?@PY`8PH!NLO zH7b#AOUoFRs)wapQ%s5U6y?~}4!^UxMTzv%yBeUuxpiptyVtFcME3C~Z`E9Hd(N-n zO6#ISwo4`cq*^87yG4J?s5()Z()F9Sw9oBGPFhM|pUH_ld(PZ>^L=Kw-J!=gLX|DXI52}T$o5Fqfc5kPe^l}wO(DdQg>iJ!Gc>3*DU zesQ}IDTNCa;y9k9IF6?VKaLmKBlY>m9l|e8{oH>kc5*gwd{2B5XQYRKJ zXJnncUR+}HGV#Z3i`h9i1et;AfIxs7NVtOZZ!G-IJegm`a}~ C`V> - - - - - -The fine line - Existencialism and spirituality - - - - -
- - -
- - \ No newline at end of file diff --git a/floppies/claudia/noweb/explanation.html b/floppies/claudia/noweb/explanation.html index cbd8a5a..faf9bb5 100644 --- a/floppies/claudia/noweb/explanation.html +++ b/floppies/claudia/noweb/explanation.html @@ -15,7 +15,7 @@

This is a conceptual project based on a reflection around the sentence “The FINE LINE between NOTHING MATTERS and EVERYTHING MATTERS”. It took me a while to figure out how to translate this sentence into something. At the beginning, everything had to make perfect sense and had to have a reason to be. Among mind maps, research, crazy complicated ideas, and loads of thought, it became obvious that the concept was being explored from an “EVERYTHING MATTERS” perspective. Half of the sentence, “NOTHING MATTERS”, was being left behind. But, how to make a project based on meaninglessness? Suddenly, it clicked: ANYWAY, WE ARE GOING TO DIE. This sentence vanished all meaning this project could have, placing myself to the other side of the line. And then a process began: my mind tried to MAKE SENSE of everything saying words like: “If everyone thought this way, society would be aimless”. Then, on propose, I jumped to the other side: “Yes whatever, even though, we are going to die”. Quickly my mind tried to fix it again with other excuses in order to find meaning. And rushing, again on purpose, I shifted the side. It happened several times. I could feel the TENSION, the POLARITIES, the OPPOSITION: I was feeling the line between everything matters and nothing matters.

The idea of this project is to represent this line digitally and sonorously, and let the audience play with it. SEEKING BALANCE AND BREAKING IT. HARMONIOUS sounds and the DISRUPTION of those. Experiencing how close from each other OPPOSITES can be.

- + \ No newline at end of file diff --git a/floppies/claudia/noweb/index.html b/floppies/claudia/noweb/index.html index 4ed968c..1cb790c 100644 --- a/floppies/claudia/noweb/index.html +++ b/floppies/claudia/noweb/index.html @@ -4,9 +4,9 @@ - - - + + + The fine line @@ -28,7 +28,7 @@ - + diff --git a/floppies/claudia/noweb/score.html b/floppies/claudia/noweb/score.html deleted file mode 100644 index f89dd9a..0000000 --- a/floppies/claudia/noweb/score.html +++ /dev/null @@ -1,17 +0,0 @@ - - - - - - -The fine line - Score - - - - -
- - -
- - \ No newline at end of file From 0ca3c8bbfb2eda955313e443a1d67f36d0e9a301 Mon Sep 17 00:00:00 2001 From: UDI-ME-TA Date: Fri, 24 Mar 2017 13:03:49 +0100 Subject: [PATCH 2/5] remove animation --- floppies/claudia/noweb/.DS_Store | Bin 10244 -> 10244 bytes floppies/claudia/noweb/index.html | 6 +++--- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/floppies/claudia/noweb/.DS_Store b/floppies/claudia/noweb/.DS_Store index cf71fb4e1e53c73a9b5659835f97042752104200..d9ecd849c81f5caf3b1b7c36d04b9a902c7a1e18 100644 GIT binary patch delta 31 lcmZn(XbIThD#*w delta 29 lcmZn(XbIThDmYnQTzqqkU=SN4!{+tk|M?jiCa)I{1ptpk2|fS- diff --git a/floppies/claudia/noweb/index.html b/floppies/claudia/noweb/index.html index 1cb790c..1d8b006 100644 --- a/floppies/claudia/noweb/index.html +++ b/floppies/claudia/noweb/index.html @@ -4,16 +4,16 @@ - + The fine line -
+
From 1b7894e1478fc9e9f4d2ea934178e856f35e8b4b Mon Sep 17 00:00:00 2001 From: ugrnm Date: Fri, 24 Mar 2017 14:00:30 +0100 Subject: [PATCH 3/5] killing mpv + cyclone loading --- usr/local/sbin/thewhispererindarkness.sh | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/usr/local/sbin/thewhispererindarkness.sh b/usr/local/sbin/thewhispererindarkness.sh index 5df17ee..5910693 100755 --- a/usr/local/sbin/thewhispererindarkness.sh +++ b/usr/local/sbin/thewhispererindarkness.sh @@ -6,7 +6,7 @@ FLOPPY="/media/floppy" MAINPY="${FLOPPY}/main.py" PYRUN="python ${MAINPY}" MAINPD="${FLOPPY}/main.pd" -PDRUN="pd -lib import -path /usr/local/lib/pd-externals/net/ -path /usr/local/lib/pd-externals/osc/ -lib osc -lib udpreceive -oss -r 48000 -rt -nogui ${MAINPD}" +PDRUN="pd -lib import -path /usr/local/lib/pd-externals/net/ -path /usr/local/lib/pd-externals/osc/ -path /usr/lib/pd/extra/cyclone -lib osc -lib udpreceive -oss -r 48000 -rt -nogui ${MAINPD}" stdbuf -oL -- udevadm monitor --udev -p ${FD} | while read -r -- STATE _ _ _ _ do @@ -35,11 +35,15 @@ do pkill -9 python fi if [ "$(pgrep -f '^pd')" ] - then - echo "pd still running ... killing" - pkill -9 pd - fi - + then + echo "pd still running ... killing" + pkill -9 pd + fi + if [ "$(pgrep -f '^mpv')" ] + then + echo "mpv still running ... killing" + pkill -9 mpv + fi fi fi done From 916d8ff25dca6594e78f99afeb7917c0bbe0610c Mon Sep 17 00:00:00 2001 From: Michael Murtaugh Date: Fri, 24 Mar 2017 14:06:58 +0100 Subject: [PATCH 4/5] changes --- floppies/giulia/main.py | 2 +- floppies/giulia/noweb/cgi-bin/index.cgi | 2 +- floppies/giulia/scripts/recordwalk.py | 12 ++++++------ floppies/giulia/scripts/voiceguide.sh | 0 4 files changed, 8 insertions(+), 8 deletions(-) mode change 100644 => 100755 floppies/giulia/scripts/voiceguide.sh diff --git a/floppies/giulia/main.py b/floppies/giulia/main.py index 83091ea..93d9241 100644 --- a/floppies/giulia/main.py +++ b/floppies/giulia/main.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/python import subprocess diff --git a/floppies/giulia/noweb/cgi-bin/index.cgi b/floppies/giulia/noweb/cgi-bin/index.cgi index b313494..fe114c5 100755 --- a/floppies/giulia/noweb/cgi-bin/index.cgi +++ b/floppies/giulia/noweb/cgi-bin/index.cgi @@ -67,7 +67,7 @@ print Template(u"""
{% for i in items %} - +

{{i.mp4}}

{% endfor %}
diff --git a/floppies/giulia/scripts/recordwalk.py b/floppies/giulia/scripts/recordwalk.py index f2327d9..7133696 100644 --- a/floppies/giulia/scripts/recordwalk.py +++ b/floppies/giulia/scripts/recordwalk.py @@ -11,8 +11,8 @@ from picamera import PiCamera p = ArgumentParser("") p.add_argument("--video", type=int, default=0, help="video, default: 0") p.add_argument("--output", default=None, help="path to save movie, default: None (show live)") -p.add_argument("--width", type=int, default=640, help="pre-detect resize width") -p.add_argument("--height", type=int, default=480, help="pre-detect resize height") +p.add_argument("--width", type=int, default=160, help="pre-detect resize width") +p.add_argument("--height", type=int, default=128, help="pre-detect resize height") p.add_argument("--fourcc", default="XVID", help="MJPG,mp4v,XVID") p.add_argument("--framerate", type=float, default=25, help="output frame rate") p.add_argument("--show", default=False, action="store_true") @@ -20,9 +20,9 @@ p.add_argument("--frames", type=int, default=100) args = p.parse_args() fourcc = None -cam = cv2.VideoCapture(args.video) -cam.set(cv2.cv.CV_CAP_PROP_FRAME_WIDTH, args.width) -cam.set(cv2.cv.CV_CAP_PROP_FRAME_HEIGHT, args.height) +#cam = cv2.VideoCapture(args.video) +#cam.set(cv2.cv.CV_CAP_PROP_FRAME_WIDTH, args.width) +#cam.set(cv2.cv.CV_CAP_PROP_FRAME_HEIGHT, args.height) if args.output: try: @@ -36,7 +36,7 @@ else: print ("Starting camera", file=sys.stderr) cam = PiCamera() -framesize = (160, 128) +framesize = (args.width, args.height) cam.resolution = framesize cam.framerate = 32 rawCapture = PiRGBArray(cam, size=framesize) diff --git a/floppies/giulia/scripts/voiceguide.sh b/floppies/giulia/scripts/voiceguide.sh old mode 100644 new mode 100755 From b67562cbd74a350949880a5832cfc5c8f49c1c42 Mon Sep 17 00:00:00 2001 From: Michael Murtaugh Date: Fri, 24 Mar 2017 14:37:11 +0100 Subject: [PATCH 5/5] delete after 10 in index --- floppies/giulia/noweb/cgi-bin/index.cgi | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/floppies/giulia/noweb/cgi-bin/index.cgi b/floppies/giulia/noweb/cgi-bin/index.cgi index fe114c5..869c3b7 100755 --- a/floppies/giulia/noweb/cgi-bin/index.cgi +++ b/floppies/giulia/noweb/cgi-bin/index.cgi @@ -5,8 +5,9 @@ import cgitb; cgitb.enable() from jinja2 import Template # Directory => ITEMS list (all files with a timestamp name, grouped) +path = "/var/www/static/gait" try: - ff = os.listdir("/var/www/static/gait") + ff = os.listdir(path) except OSError: ff = [] tpat = re.compile(r"^(\d\d\d\d)-(\d\d)-(\d\d)-(\d\d)-(\d\d)-(\d\d)") @@ -25,7 +26,8 @@ items = [items[key] for key in sorted(items, reverse=True)] for i in items[10:]: for f in i.items(): print "deleting ", f - # 10 os.unlink(f) + fp = os.path.join(path, f) + os.unlink(fp) # dump the data (debugging) # print "Content-type: text/plain" # print ""