Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... stop and free by Cmd-.)\n"; (helpSynth.isPlaying && helpSynth.hasJustStartedWithPause.not).if { warnMsg.warn }{ helpSynth.isPHSplaying = true; ^PHSparPlayer(this).play(clock, quant.asQuant, true); } } // for use with VarGui asTask { |clock, ...

  2. NanoKtl Quark

    ... hin, false, lastVals[ctlName], spec) } ); }; } mapToNdefGui { |gui, scene=1, volPause = true| pxEditors.put(scene, gui); // map 8 knobs to params - can be shifted [\kn1, \kn2, \kn3, \kn4, \kn5, \kn6, \kn7, \kn8].do { |key, i| this.mapCCS(sc ...

  3. TextSequencer Quark

    ... e not distinguished, whatever suits you. // Any undefined character serves as a pause, any *space is ignored*. // Doing it while creating a new instance: seq = TextSequencer(sounds, "abc. abc. a[b..b]c[ba] .[ab]c"); // And adding something ...

  4. ConductorGUI Quark

    ... w | var val, msg; val = view.value; [ {player.stop; }, {player.play; }, {player.pause}, {player.resume; view.value = 1 } ][val].value; }) .onClose_({ ctl.remove; playButton = nil; stopButton = nil; }) .states_([ [name, Color.new255(100, 200 ...

  5. EventStreamPlayer2 Quark

    ... on an induct clock //contains caching for upcoming events EventStreamPlayer2 : PauseStream { var <>event, <>muteCount = 0; var cache; //material temporarily held here var upto; var <>alive; //special flag set to false once killed, checked ...

  6. PHelpSynthParPlayer Quark

    ... s at resume only").throw; }; // helpSynth.allocBus; helpSynth.hasJustStartedWithPause.not.if { helpSynth.allocBus }; CmdPeriod.add(this); helpSynth.isListening.not.if { helpSynth.listen(pHelpSynth.relDemandIndexUserNums.size); }; helpSynth. ...

  7. child Quark

    ... dSeed = 1234; "RADTEST:SETUP".postln; // setup waits longer: building the mixer pauses for the server, and a // command typed before it is ready fails (seen with start 2, Oct 2026) test[\setup].do{|entry| runCmd.(entry, 3.0) }; if(s.serverR ...

  8. NPVoicer Quark

    ... , vol, fadeTime, group, addAction) stop (fadeTime, reset) end (fadeTime, reset) pause resume Examples // trigger percussion-style notes from computer keyboard while above window. // could also be done without NPVoicer, but it is convenient ...

  9. saybuf_synthdefs Quark

    ... // rising more ***/ ( SynthDef(\saybufPch, { |out, amp = 0.1, pan, pos, buf, endPause = 0.2, rate = 1, tilt = 0, vib = 0.0, vibRate = 8| // subtract standard pause at buffer end var dur2 = BufDur.ir(buf) - endPause; var ratesig = Line.kr(ra ...

  10. UEvent Quark

    ... r <displayColor; var <lockStartTime = false; var <>hideInGUI = false; var <allowPause = false; /* If 'releaseSelf' is set to false, then uchains will not free themselves automatically when the events stop playing. If 'releaseSelf' is set to ...

prev 11 12 13 14 15 16 17 18 19 20 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow