-
... minal: ./bin/scgraph then... */ // nonprivate after fredrik ( s = Server.local; s.boot; h = Server("scgraph", NetAddr("localhost", 37291)); h.boot; ) ////////////////////////// POINTS 1 ( SynthDef(\points, {|iFreq ...
-
... , 80, seconds, doneAction: 2)) * 0.02); Out.ar(outbus, output) }).add; Server.default.sync; source = Group.head(); effect = Group.tail(); verbBus = Bus.audio(Server.default, 2); verb = Synth.head(effect, \verb, [\inbus, ...
-
... to show/hide all windows. EXAMPLE: var userButtons = [ (buttonName: "Server", alwaysOnTop: true, bounds: Rect(1285, 490, 290, 100), showButton: { var window = Server.internal.makeWindow; window.window }), (buttonN ...
-
... ous "players" can be modified and re-evaluated while the Routine is running.... Server.default = s = Server.internal; s.boot; /* ---------------------- Synthetic bass drum ---------------------- */ ~bass = { arg amp=0.5; ...
-
prototype of simple metre beat grid running on server w/ synced TempoBusClock ( // beat grid object prototype ~g = { var l = 6, // base pulse: 2**l, so max tempo (on 48khz) is around 48000/64/(2**6) = 11.7 state_bus = Bus.control(numCha ...
-
... do{ |path| [\loaded, path.basename].postln; samples[path] = Buffer.read(Server.default, path); s.sync; buttons[path] = Button() .states_([[path.basename]]) .action_{ samples[path].play }; }; win.layout = VLay ...
-
( f = { |f0=200, rate=4| { var seq = Dseq(f0*[1/2,3/4, Dstutter(4, Drand([1/2,1,2,3,4,5,6],1)), 2,3/2,3,4/3], inf); var trig = Impulse.ar(rate); var freq = Demand.ar(trig,0, seq); var env = Decay2.ar(trig,1e-3,1); FreeVer ...
-
... way to do it is to define an event type: ( Event.addEventType(\dnote, { |server| var instrument = ~instrument.asDefName; var synthLib = ~synthLib ?? { SynthDescLib.global }; var desc = synthLib.at(instrument); if (de ...
-
... (k).resume } { Ndef(k).pause }; }; }; ////////////////////////////////// Server.default = s = Server.local; s.waitForBoot{ if( s.hasShmInterface ) { // LFOs Ndef(\a, { SinOsc.kr(1) }); Ndef(\b, { SinOsc.kr(1.05) }); Nd ...
-
( // add custom event Event.addEventType(\nbind, {arg server; var id = (currentEnvironment[\ndef] ? currentEnvironment[\instrument]).asSymbol; var type = \note; if (Ndef(id).isPlaying.not) { Ndef(id).play; }; ~type = t ...