Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (953) Code (42) Doc (312) Help (77) Quark (517) Plugin (5) SCDoc ↗ Forum ↗ Google ↗
  1. 0a_inphlux Quark

    ... needs more work to show 0 if nothing is coming in at all: // schedule reset at every full second if callsPerSec too old NTMI.inph.callsCount = 0; NTMI.inph.callsPerSec = 0; MFdef(\setRelInf).add(\callsPerSec, { var nowSec = Main.elapsedTim ...

  2. Sieve Quark

    ... "copyWith expects SequenceableCollection as first arg" ).throw }; seqCollection.every(_.isInteger).not.if { SimpleInitError( "SequenceableCollection must consist of Integers" ).throw }; (mode == \points).if { withCheck.if { (seqCollection.e ...

  3. 1i_pads2bits_nUFO Quark

    ... 8 pads are bits combined into a number and triggered when the number changes * every pad can also be an individual trigger MFdef(\capsToInph).activeNames; MFdef(\capsToInph).enable(\binKey); MFdef(\capsToInph).disable(\set); ***********/ ( ...

  4. DirtError Quark

    ... ntended"); // in your code, later: error.throw; // it will throw, but only post every three seconds at maximum */ DirtPartTimeError : Error { var <>timeout, before; *new { |timeout = 1, what| ^super.new(what).timeout_(timeout) } reportError ...

  5. DissonanceCurve Quark

    ... amps = amps.add(Complex(z[0][index], z[1][index]).magnitude); }); // get rid of everything below a cutoff to make processing go faster toRemove = []; amps.normalize.do({ | amp, index| if ( amp < cutoff, { //amps.removeAt(index); //freqs.rem ...

  6. RedMstGUI Quark

    ... rovided. <>dur how often redraw the window in beats. default= 0.25. which means every 16th note. it uses RedMst.clock. //--simple example ( s.waitForBoot{ RedMst .clear; RedMst .clock= TempoClock (140/60); RedMst .quant= 8; RedMstGUI (20); ...

  7. extSimpleMIDIFile-asEvents Quark

    ... hFunction { |function, channel, track, clock, doneAction| // function is called every time a note is played // passed arguments are: // noteNr, velo, dur, upVelo, track, channel, absTime, lastTime, counter var thisCopy, notes, routine; note ...

  8. asCode Quark

    ... iews. varName : name of the var used in the code (default: "w" ) extraMethods : every view has specific methods to be added to the code, based on its properties. These methods can be Symbols, or arrays with one Symbol and a value which is r ...

  9. auxIn Quark

    ... the signal can be sent from another UChain using 'auxOut'. For this to work on every system, set the receiving UChain's addAction to \addToTail or \addAfter, and enable 'global'. As an alternative to 'global', it is also possible to use an ...

  10. instrSupport Quark

    ... pec; if(list.first.respondsTo(\spec),{ firstItemSpec = list.first.spec; if(list.every({ |item| item.tryPerform(\spec) == firstItemSpec }),{ // an array of Pbinds etc. if(firstItemSpec.isKindOf(EventStreamSpec),{ ^firstItemSpec }); // a stre ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow