Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (889) Code (79) Doc (285) Help (132) Quark (392) Plugin (1) SCDoc ↗ Forum ↗ Google ↗
  1. Phid Help

    ... le // while this is running, test your device ( a = Phid (0,0); x = a.asStream; Routine ({ loop({ x.next.postln; 0.2.wait; }) }).play; ) // using devicespecs: // for example wingman. for other specs see [HIDDeviceService] ( HIDDeviceService ...

  2. ChuckBrowserKeyController Quark

    // problem: routine does not pick up environments that are pushed ChuckBrowserKeyController { classvar <identifierCodes, <states, <wildcards; var <>browser, <string, routine, <lastMTIndex, <registers; *initClass { identifierCodes = (65..90) ...

  3. ChuckBrowserKeyController Quark

    // problem: routine does not pick up environments that are pushed ChuckBrowserKeyController { classvar <identifierCodes, <states, <wildcards; var <>browser, <string, routine, <lastMTIndex, <registers; *initClass { identifierCodes = (65..90) ...

  4. extObject-onChange Quark

    ... ); // return the controller } waitForChange { |what = \n_end, test| // makes a Routine wait for a change var condition, controller; this.register; condition = Condition.new; test = test ? true; // extra test to be able to depend on more ar ...

  5. SatieStatusWatcher Quark

    ... } watchServerBoot { // boot the server server.waitForBoot(this.postServerBoot); Routine { // wait for serverBooting to become true if it isn't already var limit = 10; while { (server.serverBooting.not) && (limit > 0) } { 0.05.wait; limit = ...

  6. CutOSC Doc

    ... sf, clock, synth; s=Server.default; clock= ExternalClock(TempoClock(2.1)).play; Routine.run({ sf= BBCutBuffer("/Volumes/data/audio/toanalyse/reedham.wav",128); s.sync; BBCut2(CutBuf2(sf,1.0).trace_(CutOSC(1,0.0,~fredrik)), ChooseCutProc(1.0 ...

  7. UnitTest Quark

    UnitTest { var currentMethod; classvar <failures, <passes, routine, <>reportPasses = true; classvar <allTestClasses; *findTestClasses { allTestClasses = UnitTest.allSubclasses.collectAs({ |c| var classkey = c.asString[4..]; // drop Meta_ va ...

  8. UPattern Quark

    ... arts = 100; var <>localPos = 0; var <>localCount = 0; var <>startPos = 0; var <>routine; var <>preparedEventsRoutine; // for prepared events var <>preparedEvents; var isPlaying = false; var task; var <>currentTimeToNext; var <>releaseRunnin ...

  9. ScoreClock Doc

    ... ethods Instance Methods Inherited instance methods Examples It works on Pbinds, Routines, etc: ( ScoreClock.beginScore; ScoreClock.tempo = 100/60; Pbind( \freq, 100*Pwhite(1,10,8), \dur, 0.5, \legato, 0.5 ).play(ScoreClock); ~score = ScoreC ...

  10. CutBuf3 Doc

    ... ut-up. offset A parameter to be passed to any cut playback position determining routine. The default chooseoffset method is in BBCutBuffer and the parameter is a single number from 0.0 to 1.0 giving the chance of a jump to a random event in ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow