Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (2705) Code (126) Doc (797) Help (250) Quark (1510) Plugin (22) SCDoc ↗ Forum ↗ Google ↗
  1. Scgraph sound and vision part 2 by codepool (codepool) Code

    ... 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 ...

  2. Hymncycle (Second Phase) by schemawound (Schemawound) Code

    ... , 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, ...

  3. SlimLauncher 1.0 by schemawound (Schemawound) Code

    ... 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 ...

  4. A simple drum machine by coreyker (coreyker) Code

    ... 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; ...

  5. beat grid by vividsnow (vividsnow) Code

    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 ...

  6. Load and play samples from GUI (Qt GUI only) by rukano (rukano) Code

    ... 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 ...

  7. Server-side sequencing by coreyker (coreyker) Code

    ( 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 ...

  8. how to use the SynthDef's default argument in an Event? by julianrohrhuber (julian.rohrhuber) Code

    ... 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 ...

  9. Synchronous control bus visualizer using the shared memory interface by rukano (rukano) Code

    ... (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 ...

  10. Custom event type for wiring up effects by davidmorgan (david_morgan) Code

    ( // 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 ...

prev 1 2 3 4 5 6 7 8 9 10 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow