Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1233) Code (134) Doc (343) Help (95) Quark (658) Plugin (3) SCDoc ↗ Forum ↗ Google ↗
  1. PeakMonitor Quark

    PeakMonitor { // back end for graphic peak follower classvar <all; // kr bus # -> monitor object var <target, // may be bus or mixer <synth, // writes peak level(s) onto control bus(es) <bus, <synthTarget, <freq, <>peaks, resp, // OSCrespon ...

  2. SharedBus Quark

    SharedBus : Bus { var released = false,<>owner; *newFrom { arg bus,owner; // only the top owner can free the bus if(bus.isKindOf(SharedBus).not,{ ^this.new(bus.rate,bus.index,bus.numChannels,bus.server).owner_(owner) },{ ^bus }) } releaseBu ...

  3. SharedBus Quark

    SharedBus : Bus { var released = false, <>owner; *newFrom { arg bus, owner; // only the top owner can free the bus if(bus.isKindOf(SharedBus).not, { ^this.new(bus.rate, bus.index, bus.numChannels, bus.server).owner_(owner) }, { ^bus }) } re ...

  4. OffsetOutBug Quark

    ... 1, 1])) }).add; SynthDef(\2, { \in.ar([0, 0]).poll }).add; s.sync; s.bind { var bus, s1, s2; bus = Bus.audio(s, 2); s1 = Synth(\1, [\out, bus.index]); s2 = Synth(\2, [\in, bus.busArg], addAction:\addToTail); } }); ) ( s.waitForBoot({ SynthD ...

  5. NodeProxy Quark

    ... ; ~source = np; inlets = [ MxInlet("in",0,AudioSpec(np.numChannels), MxListensToBus({~source.bus},{~source.server},{~source.group}) ) ]; outlets = [ MxOutlet( "out", 0, AudioSpec(np.numChannels), MxPlaysOnBus({~source.bus},{~source.server}, ...

  6. busdict3 Quark

    BusDict { // stores dictionaries of descriptive names for buses // and the bus objects themselves // the dictionary key is the bus number, obtained from Bus.alloc // this class does not create instances; // the class itself is the interface ...

  7. busdict3 Quark

    BusDict { // stores dictionaries of descriptive names for buses // and the bus objects themselves // the dictionary key is the bus number, obtained from Bus.alloc // this class does not create instances; // the class itself is the interface ...

  8. PanOut Quark

    ... tiple speakers. // like PanAz, but with unlimited outputs and never more that 2 busses used. // use instead of Out.ar . // CPU and load time benefits at high numbers of outputs ( > 16 ) PanOut { *pan { |in, pos = 0| ^Pan2.ar( in, ( pos.fold ...

  9. TestAbstractPlayer Quark

    TestAbstractPlayer : UnitTest { var s,player,group,bus,bundle; makePlayer { ^SynthlessPlayer.new } makeBus { ^Bus.alloc(\audio,s,player.numChannels); //^this.subclassResponsibility(thisMethod) } setUp { Instr.clearAll; InstrSynthDef.clearCa ...

  10. AlgaBus Quark

    ... se // along with this program. If not, see <https://www.gnu.org/licenses/>. AlgaBus { var <server; var <bus; var busArg; var <rate = nil, <numChannels = 0; *new { | server, numChannels = 1, rate = \audio | ^super.new.init(server, numChannel ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow