Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (447) Code (33) Doc (84) Help (29) Quark (300) Plugin (1) SCDoc ↗ Forum ↗ Google ↗
  1. UserFAQ Doc

    ... You can not use this Qt functionality in the current thread. Try scheduling on AppClock instead. ERROR: Primitive '_QWindow_AvailableGeometry' failed. ⧉ ✔ To avoid this issue use the AppClock: AppClock.sched(0,{ Window.new.front }) ⧉ ✔ or ...

  2. Freesound2 Quark

    ... nloadAndPlay{ var path = "/tmp/"++sound.retrievePreview("/tmp/",{},'lq','ogg'); AppClock.sched(0.5,{this.startDiskIn(path)}); } start{ Freesound2.previewType.switch( Freesound2.preview_type_afp,{this.startCMD("afplay %".format(sound["previe ...

  3. JITModPatch Quark

    ... = nil // }; // }) ; // seems we need a little time for string/envir to sync up AppClock.sched(0.5, { doc.front }); } initController { var makeCtl = { |proxy| // we might not be in the environment at this point var key = proxyspace.use { pr ...

  4. SimpleRepublic Quark

    ... } joinStart { this.statusFunc; skip.play; fork( { 0.5.wait; this.checkJoined }, AppClock) } // clientID for subclass... join { |name, argClientID| name = name.asSymbol; if (this.canJoin(name)) { // leave quickly when rejoining under differe ...

  5. CircleRamp Doc

    ... .5) * atorad + 0.5pi, e.value * atorad); GUI.pen.fill; if((actRotate.abs > 0), {AppClock.sched(frameInterval, {w.refresh})}, {count = 0;}); if(count%4 == 0, {panBus.set((actPoint.theta + (0.5pi)).wrap2(pi) * rtoang)}); }; c.mouseTrackFunc_( ...

  6. Radicles Quark

    ... defer, but the deferred code keeps the current source (defer // alone loses it: AppClock runs it outside the environment). `source` // replaces it when given. *defer {arg func, delta, source; source = source ?? { this.source }; ^{ this.with ...

  7. 1_butz Quark

    ... do { |mk| mk.name; if (mk.hasDevice) { WinBounds.showOrMake(mk.name) } } }.play(AppClock); }); Butz(\interfaces).add(\InfluxMixer, { WinBounds.showOrMake(\InfluxMixer) }); (NTMI.interfaces.keys(Array).sort ++ '-loadable:-' ++ NTMI.interface ...

  8. 15_Scheduling Help

    ... s three clocks, each of which has a help file. SystemClock // the most accurate AppClock // for use with GUIs TempoClock // to schedule in beats The .play message is a convenience that allows one to write r.reset.play; // reset the routine ...

  9. SCDraw Quark

    ... free; completeFunc.notNil.if({ completeFunc.value(); }); }; 0.0.wait; }; }.fork(AppClock); } *preview { arg list, start=0.0, end=nil, rate=25.0, width=500, height=500, color=Color.black, sort=true, frameMode=false, onCompletion=nil; this.ne ...

  10. startup21-clientfft Quark

    ... mel / 1127.01048) - 1 * 700 }; ~fftwait = 0.001; ~cmpwait = 0.0000001; ~clock = AppClock; // do not need musical precision ~quant = NilTimeSpec.new; ~reuseCleanup = true; ~startAnalysis = { |path, pts, fftsize| ~isPlaying.if({ "BP(%) is sti ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow