Merge branch 'master' of git.xpub.nl:/var/www/git.xpub.nl/repos/tgc3

master
Michael Murtaugh 7 years ago
commit c9a29ee4c8

@ -1,17 +0,0 @@
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" type="text/css" href="style.css">
<title>The fine line - Existencialism and spirituality</title>
</head>
<body>
<div id="wrap">
</div>
</body>
</html>

@ -15,7 +15,7 @@
<p>This is a conceptual project based on a reflection around the sentence “The <b>FINE LINE</b> between <b>NOTHING MATTERS</b> and <b>EVERYTHING MATTERS</b>”. 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, “<b>NOTHING MATTERS</b>”, was being left behind. But, how to make a project based on meaninglessness? Suddenly, it clicked: <b>ANYWAY, WE ARE GOING TO DIE.</b> 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 <b>MAKE SENSE</b> 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 <b>TENSION</b>, the <b>POLARITIES</b>, the <b>OPPOSITION</b>: I was feeling the line between everything matters and nothing matters. </p>
<p style="margin-bottom:30px;">The idea of this project is to represent this line digitally and sonorously, and let the audience play with it. <b>SEEKING BALANCE AND BREAKING IT</b>. <b>HARMONIOUS</b> sounds and the <b>DISRUPTION</b> of those. Experiencing how close from each other <b>OPPOSITES</b> can be. </p>
<ul><a href="../fine-line/index.html" style="font-size:30px">EXPLORE THE LINE</a></ul>
<ul><a href="fine-line/index.html" style="font-size:30px">EXPLORE THE LINE</a></ul>
</div>
</body>
</html>

@ -0,0 +1,20 @@
<html>
<head>
<meta charset="UTF-8">
<script language="javascript" type="text/javascript" src="libraries/p5.min.js"></script>
<!-- uncomment lines below to include extra p5 libraries -->
<script language="javascript" src="libraries/p5.dom.min.js"></script>
<script language="javascript" src="libraries/p5.sound.min.js"></script>
<script language="javascript" type="text/javascript" src="sketch.js"></script>
<!-- this line removes any default padding and style. you might only need one of these values set. -->
<style> body {padding: 0; margin: 0;} </style>
</head>
<body>
</body>
</html>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

@ -0,0 +1,267 @@
var carrier; // this is the carrierillator we will hear
var modulator; // this carrierillator will modulate the amplitude of the carrier
var fft; // we'll visualize the waveform
var opac;
var carrier;
function getRandomArbitrary(min, max) {
return Math.random() * (max - min) + min;
}
function setup() {
createCanvas(innerWidth,innerHeight);
noFill();
//SETING FIRST OSCILLATOR: CARRIER
// EXPLANATION FROM WEBSITE: The carrier is typically set at an audible frequency (i.e. 440 Hz) and connected to master output by default. The carrier.amp is set to zero because we will have the modulator control its amplitude.
var randomnumb = getRandomArbitrary(0, 20);
console.log(randomnumb);
carrier = new p5.Oscillator(); // connects to master output by default
carrier.freq(200 + randomnumb); // it sets the frequency of the carrier. AN AUDIBLE ONE.
carrier.amp(1);
// carrier's amp is 0 by default, giving our modulator total control
carrier.start();
// create an fft to analyze the audio
//an FFT (fast Fourier transform) converts a signal from its original domain (often time or space) to a representation in the frequency domain and vice versa
fft = new p5.FFT();
}
function draw() {
//depen de la alçada, la nota TOCADA se sent mes for o menys (volum = amplitud)
if(mouseY <= height/2) {
var ampli = map(mouseY, 0, height, 0.01, 2.02);
}else{
var ampli = map(mouseY, height, 0, 0.01, 2.02);
}
// change carrierillator frequency based on mouseX
var modFreq = 0.1;
// si el mouseY és igual o el mateix que la meitat de l'altura, fes aixo. ((DEFINEIX LA AMPLITUD.))
if(mouseY <= height/2) {
var modAmp = map(mouseY, 0, height, 0.01, 2.02);
}else{
var modAmp = map(mouseY, height, 0, 0.01, 2.02);
}
carrier.amp(modAmp, 0.01); // fade time of 0.1 for smooth fading
// analyze the waveform
waveform = fft.waveform();
// drawText(modFreq, modAmp);
if (mouseIsPressed || (touches && touches.length)){
opac = 100;
var mx = mouseX || (touches[0] && touches[0][0]);
if (mx > 0 && mx < width/20 ){
carrier.freq(220.0);
carrier.amp(ampli);
}else if ( mx > width/20 && mx < 2*(width/20)){
carrier.freq(233.08);
carrier.amp(ampli);
}else if (mx > 2*(width/20) && mx < 3*(width/20)){
carrier.freq(246.94);
carrier.amp(ampli);
}else if (mx > 3*(width/20) && mx < 4*(width/20)){
carrier.freq(261.63);
carrier.amp(ampli);
}else if (mx > 4*(width/20) && mx < 5*(width/20)){
carrier.freq(277.18);
carrier.amp(ampli);
}else if (mx > 5*(width/20) && mx < 6*(width/20)){
carrier.freq(293.66);
carrier.amp(ampli);
}else if (mx > 6*(width/20) && mx < 7*(width/20)){
carrier.freq(311.13);
carrier.amp(ampli);
}else if (mx > 7*(width/20) && mx < 8*(width/20)){
carrier.freq(329.63);
carrier.amp(ampli);
}else if (mx > 8*(width/20) && mx < 9*(width/20)){
carrier.freq(349.23);
carrier.amp(ampli);
}else if (mx > 9*(width/20) && mx < 10*(width/20)){
carrier.freq(369.99);
carrier.amp(ampli);
}else if (mx > 10*(width/20) && mx < 11*(width/20)){
carrier.freq(392.0);
carrier.amp(ampli);
}else if (mx > 11*(width/20) && mx < 12*(width/20)){
carrier.freq(415.3);
carrier.amp(ampli);
}else if (mx > 12*(width/20) && mx < 13*(width/20)){
carrier.freq(440.0);
carrier.amp(ampli);
}else if (mx > 13*(width/20) && mx < 14*(width/20)){
carrier.freq(466.16);
carrier.amp(ampli);
}else if (mx > 14*(width/20) && mx < 15*(width/20)){
carrier.freq(493.88);
carrier.amp(ampli);
}else if (mx > 15*(width/20) && mx < 16*(width/20)){
carrier.freq(523.25);
carrier.amp(ampli);
}else if (mx > 16*(width/20) && mx < 17*(width/20)){
carrier.freq(554.37);
carrier.amp(ampli);
}else if (mx > 17*(width/20) && mx < 18*(width/20)){
carrier.freq(587.33);
carrier.amp(ampli);
}else if (mx > 18*(width/20) && mx < 19*(width/20)){
carrier.freq(622.25);
carrier.amp(ampli);
}else if (mx > 19*(width/20) && mx < width){
carrier.freq(659.26);
carrier.amp(ampli);
}
//draw a new line
stroke(0,0,0);
strokeWeight(0.5);
line(0, height/2,mx, mouseY);
line(mx, mouseY, width, height/2);
background(255, 255, 255,100);
}else{
// IF MOUSE IS NOT PRESSED
if(mouseY <= height/2) {
opac = map(mouseY, 0,height/2, 100, 0);
}else{
opac = map(mouseY, height, height/2, 100, 0);
}
background(255,255,255,opac); // alpha
// draw the shape of the waveform
//drawWaveform();
}
}
function drawWaveform() {
if(mouseIsPressed){
stroke(255,255,255);
strokeWeight(1);
line(0, height/2,mx, mouseY);
line(mx, mouseY, width, height/2);
background(0, 0, 0,100);
}else{
stroke(0,0,0,100);
strokeWeight(0.5);
beginShape();
for (var i = 0; i<waveform.length; i++){
var x = map(i, 0, (waveform.length)/8, 0, width);
var y = map((waveform[i])/8, -1, 1, -height/2, height/2);
vertex(x, y + height/2);
}
endShape();
}
}

@ -4,16 +4,16 @@
<link rel="stylesheet" type="text/css" href="style.css">
<script language="javascript" type="text/javascript" src="../fine-line/libraries/p5.min.js"></script>
<script language="javascript" src="../fine-line/libraries/p5.dom.min.js"></script>
<script language="javascript" src="../fine-line/libraries/p5.sound.min.js"></script>
<script language="javascript" type="text/javascript" src="sketch.js"></script>
<!-- <script language="javascript" type="text/javascript" src="fine-line/libraries/p5.min.js"></script>
<script language="javascript" src="fine-line/libraries/p5.dom.min.js"></script>
<script language="javascript" src="fine-line/libraries/p5.sound.min.js"></script>
<script language="javascript" type="text/javascript" src="sketch.js"></script> -->
<title>The fine line</title>
</head>
<body>
<div id="canvasp5"></div>
<!-- <div id="canvasp5"></div> -->
<div id="wrap">
@ -28,7 +28,7 @@
<!--<ul><a href="essay.html">Existencialism and Spirituality</a></ul>-->
<ul><a href="explanation.html">Presentation of the line</a></ul>
<!--<ul><a href="score.html">Score to find the line</a></ul>-->
<ul><a href="../fine-line/index.html" style="font-size:30px">THE FINE LINE</a></ul>
<ul><a href="fine-line/index.html" style="font-size:30px">THE FINE LINE</a></ul>
</li>

@ -1,17 +0,0 @@
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" type="text/css" href="style.css">
<title>The fine line - Score</title>
</head>
<body>
<div id="wrap">
</div>
</body>
</html>

@ -1,14 +1,15 @@
#N canvas 553 37 553 723 10;
#X declare -lib unpackOSC;
#X text 360 432 attack;
#X text 431 433 release;
#X obj 362 569 line~;
#N canvas 398 23 553 723 10;
#X declare -lib OSC;
#X declare -lib net;
#X text 372 516 attack;
#X text 443 517 release;
#X obj 374 653 line~;
#X obj 176 638 *~;
#X obj 361 452 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
#X obj 373 536 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
-1;
#X obj 435 455 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
#X obj 447 539 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
-1;
#X msg 371 480 stop;
#X msg 383 564 stop;
#X text 70 455 #ikstem;
#X text 188 454 #gestemd;
#X obj 176 693 dac~;
@ -16,45 +17,58 @@
#X obj 19 243 print;
#X obj 133 345 select #ikstem both;
#X text 264 345 #gestemd;
#X obj 175 539 osc~ 450;
#X obj 361 503 del 50;
#X msg 432 526 0 250;
#X msg 296 503 30 30;
#X obj 476 483 del 50;
#X msg 361 527 1 500;
#X msg 195 477 400;
#X msg 68 480 150;
#X obj 373 587 del 50;
#X msg 444 610 0 250;
#X msg 308 587 30 30;
#X obj 488 567 del 50;
#X msg 373 611 1 500;
#X obj 212 198 loadbang;
#X obj 364 23 import unpackOSC;
#X msg 211 244 \; pd dsp 1;
#X text 16 34 comment;
#X text 176 446 comment;
#X obj 174 596 *~ 10;
#X obj 34 92 unpackOSC;
#X obj 118 585 *~ 10;
#X obj 34 48 udpreceive 127.0.0.1 4000;
#X connect 2 0 3 0;
#X obj 34 92 unpackOSC;
#X obj 364 23 import OSC;
#X obj 365 55 import net;
#X obj 149 148 print;
#X obj 182 539 osc~ 880;
#X msg 195 477 880;
#X obj 271 500 line~;
#X msg 266 434 1 10;
#X msg 318 494 0 30;
#X obj 318 451 b;
#X obj 318 473 delay 10;
#X msg 68 480 220;
#X text 16 34;
#X connect 3 0 9 0;
#X connect 3 0 9 1;
#X connect 4 0 16 0;
#X connect 4 0 14 0;
#X connect 4 0 17 0;
#X connect 4 0 15 0;
#X connect 4 0 18 0;
#X connect 5 0 16 0;
#X connect 5 0 15 0;
#X connect 5 0 6 0;
#X connect 6 0 15 0;
#X connect 10 1 11 0;
#X connect 6 0 14 0;
#X connect 10 1 12 0;
#X connect 10 2 11 0;
#X connect 12 0 21 0;
#X connect 12 0 4 0;
#X connect 12 1 20 0;
#X connect 12 1 4 0;
#X connect 14 0 27 0;
#X connect 15 0 19 0;
#X connect 12 0 35 0;
#X connect 12 0 31 0;
#X connect 12 1 29 0;
#X connect 12 1 31 0;
#X connect 14 0 18 0;
#X connect 15 0 2 0;
#X connect 16 0 2 0;
#X connect 17 0 2 0;
#X connect 18 0 16 0;
#X connect 19 0 2 0;
#X connect 20 0 14 0;
#X connect 21 0 14 0;
#X connect 27 0 3 0;
#X connect 28 0 10 0;
#X connect 17 0 15 0;
#X connect 18 0 2 0;
#X connect 19 0 20 0;
#X connect 23 0 24 0;
#X connect 24 0 10 0;
#X connect 24 0 27 0;
#X connect 28 0 22 0;
#X connect 28 0 3 0;
#X connect 29 0 28 0;
#X connect 30 0 3 1;
#X connect 31 0 30 0;
#X connect 31 0 33 0;
#X connect 32 0 30 0;
#X connect 33 0 34 0;
#X connect 34 0 32 0;
#X connect 35 0 28 0;

@ -42,7 +42,7 @@ with open('/tmp/twittersonification.csv', 'rU') as csvfile:
if then:
ti = (now-then).total_seconds()
#print ti/100
sleep_time = ti/1000
sleep_time = ti/40
print ("5.msg stderr", file=sys.stderr)

@ -1 +1,19 @@
FLOPPYLEFT - 2017
Creative Commons License
This work is licensed under the Creative Commons Attribution 4.0 International License. To view a copy of this license, visit http://creativecommons.org/licenses/by/4.0/ or send a letter to Creative Commons, PO Box 1866, Mountain View, CA 94042, USA.
You are free to:
Share — copy and redistribute the material in any medium or format
Adapt — remix, transform, and build upon the material
for any purpose, even commercially.
The licensor cannot revoke these freedoms as long as you follow the license terms.
Under the following terms:
Attribution — You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
No additional restrictions — You may not apply legal terms or technological measures that legally restrict others from doing anything the license permits.
Notices:
You do not have to comply with the license for elements of the material in the public domain or where your use is permitted by an applicable exception or limitation.
No warranties are given. The license may not give you all of the permissions necessary for your intended use. For example, other rights such as publicity, privacy, or moral rights may limit how you use the material.

@ -1,7 +1,11 @@
Author: Slavoj Žižek
Date: 1989
Title: The Sublime Object of Floppy
Author: Max Franklin
Date: 2017
Title: euclid
Description:
And so on, and so on, and so on.
A chaotic software and hardware synthesiser and generative sequencer. Designed to explore improvisation, and musical interactivity.
To play, touch the metal contacts, connecting them. The more conductive you are, the more you will be able to affect the instrument.
The state of your composition is recorded, and displayed here as a downloadable score. Never to be played, nor heard again.

@ -1,4 +1,4 @@
#N canvas -95 222 2148 1345 10;
#N canvas 154 24 2148 1345 10;
#X declare -lib net;
#X declare -lib osc;
#X obj -7084 50 unpackOSC;
@ -698,9 +698,9 @@ Max 1000ms;
#X obj 199 241 f;
#X obj 232 240 + 1;
#X obj 199 432 hradio 15 1 0 18 empty empty empty 0 -8 0 10 -262144
-1 -1 3;
-1 -1 0;
#X obj 199 634 hradio 15 1 0 18 empty empty empty 0 -8 0 10 -262144
-1 -1 1;
-1 -1 0;
#X obj 251 305 int;
#X obj 304 310 int;
#X floatatom 307 365 5 0 0 0 - - -;
@ -762,9 +762,9 @@ Max 1000ms;
#X obj 199 241 f;
#X obj 232 240 + 1;
#X obj 199 432 hradio 15 1 0 18 empty empty empty 0 -8 0 10 -262144
-1 -1 7;
-1 -1 12;
#X obj 199 634 hradio 15 1 0 18 empty empty empty 0 -8 0 10 -262144
-1 -1 7;
-1 -1 11;
#X obj 251 305 int;
#X obj 304 310 int;
#X floatatom 307 365 5 0 0 0 - - -;
@ -826,9 +826,9 @@ Max 1000ms;
#X obj 199 241 f;
#X obj 232 240 + 1;
#X obj 199 432 hradio 15 1 0 18 empty empty empty 0 -8 0 10 -262144
-1 -1 8;
-1 -1 9;
#X obj 199 634 hradio 15 1 0 18 empty empty empty 0 -8 0 10 -262144
-1 -1 7;
-1 -1 9;
#X obj 251 305 int;
#X obj 304 310 int;
#X floatatom 307 365 5 0 0 0 - - -;
@ -890,9 +890,9 @@ Max 1000ms;
#X obj 199 241 f;
#X obj 232 240 + 1;
#X obj 199 432 hradio 15 1 0 18 empty empty empty 0 -8 0 10 -262144
-1 -1 16;
-1 -1 9;
#X obj 199 634 hradio 15 1 0 18 empty empty empty 0 -8 0 10 -262144
-1 -1 16;
-1 -1 8;
#X obj 251 305 int;
#X obj 304 310 int;
#X floatatom 307 365 5 0 0 0 - - -;
@ -1116,9 +1116,9 @@ Max 1000ms;
#X obj 199 241 f;
#X obj 232 240 + 1;
#X obj 199 432 hradio 15 1 0 18 empty empty empty 0 -8 0 10 -262144
-1 -1 2;
-1 -1 1;
#X obj 199 634 hradio 15 1 0 18 empty empty empty 0 -8 0 10 -262144
-1 -1 2;
-1 -1 1;
#X obj 251 305 int;
#X obj 304 310 int;
#X floatatom 307 365 5 0 0 0 - - -;
@ -1695,6 +1695,7 @@ Max 1000ms;
#X obj -5548 157 metro 10000;
#X obj -7084 26 udpreceive 127.0.0.1 3000;
#X msg -5510 640 write noweb/score/score.txt;
#X msg -6589 64 \; pd dsp 1 \;;
#X connect 0 0 1 0;
#X connect 1 0 144 0;
#X connect 1 1 145 0;
@ -1710,6 +1711,7 @@ Max 1000ms;
#X connect 7 0 214 0;
#X connect 7 0 212 0;
#X connect 7 0 235 0;
#X connect 7 0 238 0;
#X connect 9 0 10 0;
#X connect 9 0 33 0;
#X connect 9 0 104 0;

@ -1,7 +1,7 @@
r4 16 7 0;
r4 18 6 0;
r3 18 7 0;
r2 9 2 0;
r1 7 8 0;
melody 51 43 34 26 37 43 33;
bass 73 75 74 86 87 70 86;
r4 16 9 0;
r4 16 10 0;
r3 17 7 0;
r2 7 5 0;
r1 6 6 0;
melody 71 63 76 85 89 80 82;
bass 64 62 72 68 60 57 45;

Loading…
Cancel
Save