Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (2802) Code (189) Doc (689) Help (190) Quark (1708) Plugin (26) SCDoc ↗ Forum ↗ Google ↗
  1. AbstractSController Quark

    ... | var name; bus= Bus.control(target.server, numChannels); CmdPeriod.doOnce({bus.free}); args= (args?()).asKeyValuePairs++[\sController_bus, bus]; name= this.defName; forkIfNeeded{ if(SynthDescLib.at(name).isNil, { this.def.add; target.serve ...

  2. TestBus Quark

    TestBus : UnitTest { test_free { var s,busses,numBusses; s = Server.default; s.newAllocators; numBusses = s.options.numAudioBusChannels - (s.options.numOutputBusChannels + s.options.numInputBusChannels); busses = Array.fill( numBusses,{ Bus ...

  3. Fact Quark

    ... make: A function to create the Factory's output object and its support objects. free: For Voicer factories, a function to free supporting objects. type: A symbol specifying whether this is a \voicer or \bp factory. keys: Variables from the ...

  4. Fact Quark

    ... make: A function to create the Factory's output object and its support objects. free: For Voicer factories, a function to free supporting objects. type: A symbol specifying whether this is a \voicer or \bp factory. keys: Variables from the ...

  5. PlayBufCF Quark

    ... . See also: PlayBuf b = Buffer .read(s, "sounds/a11wlk01.wav" ); // remember to free the buffer later. ( z = SynthDef ( \help_PlayBufCF , { | out = 0, bufnum = 0 | Out .ar( out, PlayBufCF .ar( 1 , bufnum, BufRateScale .kr(bufnum), Impulse . ...

  6. SensorLog Quark

    ... e( path, "aiff", "float" ); } stopLog{ // stop synths this.saveBuffer; logsynth.free; lresponder.remove; } playback{ playid = 0; if ( outbus.isNil,{ outbus = Bus.control( server, 1 ); }); this.readPlaybuffer( { playsynth = Synth.new( \senso ...

  7. Chuck ext Quark

    ... item.play(*args) }); } stop { |...args| this.do({ |item| item.stop(*args) }); } free { this.do(_.free) } clearAdapt { this.do(_.clearAdapt) } asNoteArray { ^this.collect(_.asNoteArray).flat } // convert array of freqs, durs, lengths and gat ...

  8. record-mix Quark

    ... = radpostcont == (none) >> srec == radpost == //stop recording Ndef('record_0').free; ~buffer0.close; Ndef('record_1').free; ~buffer0.free; ~buffer0 = nil; ~buffer1.close; ~buffer1.free; ~buffer1 = nil; == radpostcont == (none)

  9. UpdateDispatcher Quark

    ... *new { |object| ^dispatcherDict.atCreate(object, { super.new.init(object) }) } *free { |object| dispatcherDict[object].free; } *addItem { |item| UpdateDispatcher(item.object).addItem(item); } addItem { |item| dispatchTable ?? { dispatchTabl ...

  10. test-01-score Quark

    ... n; //-- STOP ~test1_stop = true; ~test1_playing = false; "STOP 01".postln; //-- FREE ~test1_free = true; ~test1_initialized = false; "FREE 01".postln;

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow