Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (389) Code (16) Doc (119) Help (41) Quark (212) Plugin (1) SCDoc ↗ Forum ↗ Google ↗
  1. UMarkerEventView Quark

    ... tName.bounds.width + 2 + if( event.lockStartTime ) { 12 } { 0 } + if( event.autoPause ) { 12 } { 0 } ); } ? 1; rect = Rect( event.startTime, event.track, dur.max(minWidth ? 0), 1 ); } drawShape { |rectToDraw, height = 1| var radius = 5; rad ...

  2. HrCodeSequencer Quark

    ... ms on track view per beat. The 4 transport buttons: They are "rewind", "stop", "pause" and "play" respectively. The difference between pause and stop is explained below. The transport buttons are instances of HrButton which can do midi lear ...

  3. TestSCScrollView Quark

    ... absoluteBounds returns wrong // I think that if you run this separately (with a pause after w.front) then the bounds return correct this.assertEquals(absoluteBounds , Rect(130,130,100,100),"bounds should be 130,130,100,100 for scrollView"); ...

  4. handout-1-intro Quark

    ... al(w) } or: { "spaces: " ++ sp.cs } }); // start builds the mixer in steps that pause for the server: wait a fixed 5 s // before checking (a 1 s quiet gap was occasionally too short on the Mac) ~radTest.("start-2-panners", cmds: [["start 2" ...

  5. StereoNodeProxy Quark

    ... hannels = synthDef.numChannels; ok = proxy.initBus(rate, numChannels); if(ok) { paused = proxy.paused; canReleaseSynth = synthDef.canReleaseSynth; canFreeSynth = synthDef.canFreeSynth; controlNames = synthDef.allControlNames; hasFadeTimeCon ...

  6. MultiFilePlayerGui Quark

    ... ln; }; playB.action = { |but| if ( but.value == 1 ){ playTask.play; }{ playTask.pause } }; nextB.action = { updFunc.value( fp.next ); this.updateLoc }; resetB.action = { fp.reset; playTask.reset; this.updateLoc }; goto.action = { fp.goToLin ...

  7. KeyPlayer Quark

    ... nd resume a proxyspace: p = ProxySpace .push; KeyPlayer(\px).put($p, { p.do( _ .pause) }); KeyPlayer(\px).put($r, { p.do( _ .resume) }); // David Cottle example IIRC ~test = { SinOsc .ar( LFNoise0 .kr([10, 15], 200, [300, 500])) * 0.2 }; ~t ...

  8. ServerPatternTriggering4 Quark

    ... req); var env = EnvGen.ar(Env.perc(releaseTime: dur), durTrig, doneAction: Done.pauseSelf); //\dur.kr.poll(label:"durkr"); //dur.poll(label:"dur"); OffsetOut.ar(\out.ir(0), x * env * amp); }).add; ) ( fork { ~numSynths = 10; //Create a cont ...

  9. EventLoop Quark

    ... play }); } stop { if (verbosity > 0) { " %.stop;\n".postf(this) }; task.stop; } pause { task.pause; } resume { task.resume; } isPlaying { ^task.isPlaying; } isActive { ^task.isActive; } // could be more flexible playOnce { task.fork(event: ...

  10. UMarkerEventView Quark

    ... Face, 10 ) ).width + 8 + if( event.lockStartTime ) { 12 } { 0 } + if( event.autoPause ) { 12 } { 0 } ); } ? 1; rect = Rect( event.startTime, event.track, dur.max(minWidth ? 0), 1 ); } drawShape { |rectToDraw, height = 1| var radius = 5; rad ...

prev 21 22 23 24 25 26 27 28 29 30 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow