-
... amp, pan; o.addForce(world.gravity); o.update; if((o.loc[1]+o.size)>height, { //just floor //world.contains(o).not for all walls osize= o.size/20; freq= 1-osize*200+400; amp= o.vel.mag/20; pan= o.loc[0]/width*2-1; Synth(\lightbulbs, [\freq, ...
-
... amp, pan; o.addForce(world.gravity); o.update; if((o.loc[1]+o.size)>height, { //just floor //world.contains(o).not for all walls osize= o.size/20; freq= 1-osize*200+400; amp= o.vel.mag/20; pan= o.loc[0]/width*2-1; Synth(\lightbulbs, [\freq, ...
-
... uter, typically with a multichannel speaker system. * Var1 - The simplest form, just connecting the Clients: This can be done with SimpleRepublic . All the sclangs know all sclang addresses, and can send messages, e.g. to share code with Hi ...
-
... } } //this version does not use OffsetOut. less artifacts when timestretching - just lazy? RedGrain2 : RedGrain { *initClass { ServerBoot.addToAll({ //build synthdef at server boot SynthDef(\redGrain2, { |out= 0, bufnum= 0, rate= 1, pos= 0, ...
-
... with low aliasing Source: MCLDOscUGens.sc See also: SawDPW Description Use this just like the Pulse UGen - as with SawDPW, this uses the "Differentiated Parabolic Wave" technique to create a waveform extremely efficiently and with low (but ...
-
... f sustain >= delta, the synth will play through and its parameters will change (just like Pmono). Since sustain is calculated as ~dur * ~legato, this means ~legato < 1.0 causes re-articulation while ~legato >= 1.0 causes a slur. Example: // ...
-
... d to Player, they should be neutral datatypes. The defaultControl system should just go away. see ControlPrototypes // inline example g = AudioSpec(2).defaultControl; g.numChannels.postln; g.spec.postln; ⧉ ✔ Class Methods . new Arguments: n ...
-
... Pbind( \instrument, "plucking", \out, b, \scale, Scale.major.tuning_(\just), \octave, 4, \degree, Pseq([1,3,7,8,Prand([7,10,11,13,14]),8,7,3], inf), \dur, Pseq([Pwrand([ Pseq([0.2,0.2]), //0.2, 0.4, Pseq([0.1],4) ...
-
... g groupID; constantGroupID = groupID; awake = true; } reallocBus {} // for now: just don't. server shouldn't be rebooted. homeServer { ^server.homeServer } generateUniqueName { ^asString(constantGroupID) } shouldAddObject { arg obj, index; ...
-
... req: freqs * 4.09)); snd; }.plot; ) // Here's a single BinaryOpUGen at work // (just the first one from the original code) // Whenever complex wave is equal to 6, BinaryOpUGen // sends out a 1 (otherwise always zero). ( { var freqs = [205.3 ...