Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (3508) Code (266) Doc (1134) Help (293) Quark (1779) Plugin (36) SCDoc ↗ Forum ↗ Google ↗
  1. ZPlane Quark

    ... les.size > 0, { ^poles }, { ^nil }) } poles_ { arg newPoles; var angle; poles = Array.new; //Check and parse input args if(newPoles != nil, { if(newPoles.isKindOf(Array), { newPoles.do({ arg pole; if(pole.isKindOf(Polar), { angle = pole.ang ...

  2. ArduinoSMS Quark

    ... ArduinoParserSMS : ArduinoParser { var msg, msgArgStream, state; parse { msg = Array[]; msgArgStream = CollStream(); state = nil; loop { this.parseByte(port.read) }; } finishArg { var msgArg = msgArgStream.contents; msgArgStream.reset; if ...

  3. WriterReader Quark

    ... e2(a,w) } ) } } /* 5.pure(WriterReader).tell(["hello"]).run(3) WriterReader.ask(Array).run(3) WriterReader.ask(Array).tell(["abc9"]).run(3) WriterReader.ask(Array).tell(["abc9"]).local(_+1).run(3) */

  4. SynthTracker Quark

    ... s.at(defName).size < maxCount ) { synth = Synth.newKeepArgs(defName, args.asArgsArray, server, addAction); synth.isPlaying = true; if( watch ) { NodeWatcher.register(synth); }; // should be fast enough to catch the \n_go if(warn) { ("SynthT ...

  5. cymbals Quark

    ... , freqOffset=300,decay=0.001,excite=0.1; creates random frequency and ring time arrays posts those if you like what you hear you can use those for writing other instr var env; var z, f1, f2,p; env=Env.perc(0.0,0.05 ); p=rrand(8,30); f1 = 50 ...

  6. Controllers Quark

    ... NonSpec ) | var linkfunc; spec = spec.asSpec; linkfunc = switch( objset.class, Array, `{ obj.perform( *( objset++[spec.map( this.input )] ) ) }, Function, `{ objset.value( obj, spec.map( this.input ), this ) }, `{ obj.perform( objset, spec ...

  7. ResonatorNetwork Quark

    ... Resonator1D.new,Resonator1D.new(101)]; this.connPointMatrix = connPointMatrix ? Array2D.fromArray(2,1,[0.5,0.5]); this.massMatrix = massMatrix ? Array2D.fromArray(2,1,[1,1]); this.excPointMatrix = excPointMatrix ? Array2D.fromArray(2,1,[0.2 ...

  8. NX305 Quark

    ... ,[rrand(100,400),rrand(400,1000),rrand(10,100),10]]; beta = rrand(0,1); gamma = Array.series(rrand(1000,5000), rrand(5000,15000), 5); gamma = gamma ++ gamma.reverse; alphaB = [[0,20000,300,0.01],[rrand(100,400),rrand(400,1000),rrand(10,100) ...

  9. psSet-event-type Quark

    ... Event.addEventType(\fadeBus, #{ |server| var bundle, instrument, rate, bus; var array = ~array.as(Array); var numChannels = min(~numChannels.value ? 1, array.size); if(numChannels > SystemSynthDefs.numChannels) { Error( "Can't set more than ...

  10. UGrid Quark

    ... v, \all, nil classvar <>defaultNCols = 8; // only used in case of creation with array *new { |events, nCols| ^super.new.init( events, nCols ); } init { |inEvents, nCols| nCols = nCols ? defaultNCols; case { inEvents.isArray } { events = Ord ...

prev 31 32 33 34 35 36 37 38 39 40 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow