Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (996) Code (19) Doc (190) Help (49) Quark (724) Plugin (14) SCDoc ↗ Forum ↗ Google ↗
  1. HISTORY Quark

    ... es@~2.1.6 - Add new mime types 1.6.7 / 2015-08-20 ================== * Fix type error when given invalid type to match against * deps: mime-types@~2.1.5 - Add new mime types 1.6.6 / 2015-07-31 ================== * deps: mime-types@~2.1.4 - ...

  2. SWMiniBeeConfigGui Quark

    ... pdateGui; }; } checkConfig{ var res; // checks validity of config and indicates errors if any this.getConfig; res = config.checkConfig; // res.postln; status.string_( res[2] ); w.refresh; // make wrong ones red if ( res[0] && res[1] ){ stat ...

  3. TransformationRules Quark

    ... expand *new { arg assoc; ^assoc.asArray.collect { |x| if(x.key.isAssociation) { Error("A key shouldn't be an Association. You may have forgotten a comma!").throw }; super.new.init(x) }.unbubble } // keep original key / value init { arg asso ...

  4. SWDataNetwork Quark

    ... st.isKindOf( String ) ){ type = 1; }; if ( type.isNil ){ type = 0; }; // proper error catching later ^type; } setData{ |id,data| var ret = true; var ret2; var returnCode; // success; var lasttime; var node,type; verbose.value( 3, [id,data] ...

  5. TempoClockGui Quark

    ... notNil and: { metro.synth.notNil }) { currentServer.listSendBundle(latency, [ #[error, -1], // prevent node not found when metro stops metro.synth.setMsg(\t_trig, metroLevel) ]); }; if((waitTime = min(1, model.nextBar - model.beats)) == 0) ...

  6. ActionQMenu Quark

    ... item).font_(Font.default.size_(fontSize)); }{ ^this.prHandleString(item); }; }; Error("ActionMenu: item must be of type 'Association' (symbol->function),'MenuAction' or 'String' or 'Symbol' ").throw; } prHandleString{|item| ^MenuAction(item ...

  7. VarGui Quark

    ... e = 0.25, colorSteps = 1000, numColorExp = 0.4, k; window.notNil.if { SimpleInitError("Only one gui window from one VarGui at a time").class_(VarGui).throw; }; // div inits varColorGroups.notNil.if { varCtrNum.miSC_checkColorGroups(varColor ...

  8. EQSpec1 Quark

    ... in synthdef wc = pi * freq * sampleRate.reciprocal; a0 = (1 - wc)/(1 + wc); } { Error("EQ type \\" ++ type ++ " is invalid.").throw; }; } synthArgs { case { type == \eq } { ^[\freq, freq, \rq, rq, \k, k] } { #[\lopass, \hipass].includes(typ ...

  9. History Help

    ... les History .clear.start; 1 + 2; // code lines get stored ( nil + 2).postln; // error lines are ignored // comment-only line is kept, empty lines not: // save and load as text files History .saveCS; // save as compilestring for reloading. / ...

  10. PHelpSynthUse Quark

    ... lpSynth ... pbindArgs| ^this.basicNew(helpSynth, *pbindArgs).commonInit; } inputError { |str| Error("\n Wrong PHSuse input - " ++ str ++ "\n").throw } pbindHelpMsg { ^"pbindArgs (not collected) must be of the form: dur1, pbindData1, ... , d ...

prev 71 72 73 74 75 76 77 78 79 80 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow