From: owner-sc-users-digest@lists.io.com (sc-users-digest) To: sc-users-digest@lists.io.com Subject: sc-users-digest V1 #369 Reply-To: sc-users Sender: owner-sc-users-digest@lists.io.com Errors-To: owner-sc-users-digest@lists.io.com Precedence: bulk sc-users-digest Tuesday, October 16 2001 Volume 01 : Number 369 ---------------------------------------------------------------------- Date: Sun, 14 Oct 2001 09:58:37 -0500 From: James McCartney <---@---.---> Subject: Re: OSC fails under 9.1 on 10/14/01 7:47 AM, jr@xs4all.nl at jr@xs4all.nl wrote: > I dont know about 2 way OSC but we have been running a heavy SC2.1.11 > synthesis load under both 9.1 and 9.2 with a moderate load of incomming > OSC messages Incoming OSC is not the problem, it is sending during synthesis. - --- james mccartney james@audiosynth.com SuperCollider - a real time synthesis programming language for the PowerMac. ------------------------------ Date: Sun, 14 Oct 2001 10:18:11 -0700 (PDT) From: Chris Brown <---@---.---> Subject: RE: Re: OSC fails under 9.1 O Sun, 14 Oct 2001, Arie van Schutterhoef wrote: >> -Relating to these matters - concerning Apple Share and > Open Transport -several problems have been mentioned at: > http://www.macwindows.com/MacOS9.html#100501 > Interesting ... they suggest replacing the Apple Enet extensions 2.4.1 or 2.4.2 with the older 2.3. Guess I'll give this a try, unless anyone knows better that it won't work? > > > Since I've started using Max I've been in several situations where my > system has crashed during the concert, or the concert has started late, > because the system is much more complex. That drives me completely berserk. > George Lewis, for exampleŠ it doesn't bother him! His attitude is that this > is computer music, it's experimentalŠ this stuff crashes! That's part of > the idiom. You > reboot, and you go on." > yeah, that would be (and has been) my modus operandi as well for years. reminds me of playing on while reloading my program from cassette tape, as late as 1985. helps though if some of your stuff's analog, or acoustic ! or also, as in my concert last week, if more than one machine is playing, so that the crashes of individual players just mean a welcome thinning of the texture for ca. 2'30" (reboot time) Chris ------------------------------ Date: Tue, 16 Oct 2001 08:11:51 +0200 From: "a.c.van.kampen" <---@---.---> Subject: Simple question; record the synth hi list, i try it again. i want to record the synth. this doesn't work, and i wonder why; ( var e; var n, mx, my; e = Env.adsr(0.001, 0.5, 0.7, 1, -4); n = 4; // number of simultaneous events mx = MouseX.kr(100, 6000, 'exponential'); my = MouseY.kr(0, 2); Synth.record{ ( OverlapTexture.ar({ var a, f, x, gate, rate; x = mx.poll; a = 0; 3.do({ f = x.rand; a = FSinOsc.ar([f, f+1.0.rand2], my, a); }); f = x.rand; rate = exprand(10.0, 40.0); gate = Impulse.kr(XLine.kr(rate, [3,0.3].choose * rate, 12)); EnvGen.ar(e, SinOsc.ar([f, f+1.0.rand2], a, 0.1), 0, 1, 0, 1, gate) }, 4, 4, n, 2, nil) ), 4.0, "diskOutTest", 'AIFF', '16 big endian signed' } ) the orinal was ( // slight mod of "phase mod with slow beats" // mouse x controls random freq of new events // mouse y controls modulation index var e; e = Env.adsr(0.001, 0.01, 0.5, 0.7, 1, -4); var n, mx, my; n = 4; // number of simultaneous events mx = MouseX.kr(100, 6000, 'exponential'); my = MouseY.kr(0, 2) { OverlapTexture.ar({ var a, f, x, gate, rate; x = mx.poll; a = 0; 3.do({ f = x.rand; a = FSinOsc.ar([f, f+1.0.rand2], my, a); }); f = x.rand; rate = exprand(10.0, 40.0); gate = Impulse.kr(XLine.kr(rate, [3,0.3].choose * rate, 12)); EnvGen.ar(e, SinOsc.ar([f, f+1.0.rand2], a, 0.1), 0, 1, 0, 1, gate) }, 4, 4, n, 2, nil) }.play ) thanks for your time, jan-kees ------------------------------ Date: Mon, 15 Oct 2001 23:31:56 -0700 (PDT) From: Jeremy Zuckerman <---@---.---> Subject: Re: Simple question; record the synth You're MouseX and MouseY are control rate and must be in the inner synth. You also had some syntax errors. this should work: ( var e; var n, mx, my; e = Env.adsr(0.001, 0.5, 0.7, 1, -4); n = 4; // number of simultaneous events Synth.record ({ mx = MouseX.kr(100, 6000, 'exponential'); my = MouseY.kr(0, 2); OverlapTexture.ar({ var a, f, x, gate, rate; x = mx.poll; a = 0; 3.do({ f = x.rand; a = FSinOsc.ar([f, f+1.0.rand2], my, a); }); f = x.rand; rate = exprand(10.0, 40.0); gate = Impulse.kr(XLine.kr(rate, [3,0.3].choose * rate, 12)); EnvGen.ar(e, SinOsc.ar([f, f+1.0.rand2], a, 0.1), 0, 1, 0, 1, gate) }, 4, 4, n, 2, nil) }, 4.0, "diskOutTest", 'AIFF', '16 big endian signed' ) ) jz > ( > // slight mod of "phase mod with slow beats" > // mouse x controls random freq of new events > // mouse y controls modulation index > var e; > e = Env.adsr(0.001, 0.01, 0.5, 0.7, 1, -4); > var n, mx, my; > n = 4; // number of simultaneous events > mx = MouseX.kr(100, 6000, 'exponential'); > my = MouseY.kr(0, 2) > { > > OverlapTexture.ar({ > var a, f, x, gate, rate; > x = mx.poll; > a = 0; > 3.do({ > f = x.rand; > a = FSinOsc.ar([f, f+1.0.rand2], my, a); > }); > f = x.rand; > rate = exprand(10.0, 40.0); > gate = Impulse.kr(XLine.kr(rate, [3,0.3].choose * rate, 12)); > EnvGen.ar(e, SinOsc.ar([f, f+1.0.rand2], a, 0.1), > 0, 1, 0, 1, gate) > }, 4, 4, n, 2, nil) > }.play > ) ------------------------------ Date: Tue, 16 Oct 2001 10:31:48 -0500 From: Ian Pojman <---@---.---> Subject: Collections A couple of questions re: collections from a newbie SC coder. is this style preferred? I'ev been using arrays a lot and have jsut been doing this: var a; a = []; 10.do( {arg i; a=a.add(...) } ); Is this (significantly) more efficient than using lists? Is there a more graceful way to do this? And what about an indexOf ? ------------------------------ End of sc-users-digest V1 #369 ******************************