View this PageEdit this PageUploads to this PageHistory of this PageTop of the SwikiRecent ChangesSearch the SwikiHelp Guide

Impulse Web

A Network Music Workshop in the Center for Contemporary Arts (Jeleni SC Group)


here our first step after a general computer language introduction:
the most simple sound function in sc
all of the code was done in a 'watch relax and programm manner', so there is
some improvisation. There are further versions online, that allowed us
to have a chat while going along.


Synth.play({
	p = Plug.ar(0,0);

});


//impulse network part (start first, before synthesis)
(
var nodes;
OSCPort.closeAll;
nodes = OSCNode.tree([
	[\hello, { "hello you".postln; }  ],
	[\click, { p.gate }  ]
]);
OSCInPort.new(55555, nodes);

n = [\julian, \john, \ianmike, \pavellloyd, \free];
x = ["192.168.0.120", "192.168.0.116","192.168.0.93","192.168.0.122","192.168.0.123"];
x = x.collect({ arg ip; 
	OSCOutPort.new(55555, ip);
});
f = { arg who, message;
	x.at(n.indexOf(who)).send(message);
};
)


f.value(\julian, "/hello");

****
/*
authors so far:
jeleni, jrh
*/


Link to this Page