Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... lassOfOrder { |order| var class = classesForOrders.at(order); if(class.isNil) { Error("no class for this order: %".format(order)).throw }; ^class } classesForOrders { ^#[KlasseFirstOrder, KlasseSecondOrder] } } *ar { |order, in, az| case{or ...

  2. that-system-functions Quark

    ... |key, i| event[key] }; msgValueArray = valuesInChannel; if(messageTrig.isNil) { Error("you should return an event with a 'trig' value from your analysisFunction").throw }; kr_or_ar = UGen.methodSelectorForRate(messageTrig.rate); SendReply.p ...

  3. 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) ...

  4. Freesound Quark

    ... tring; if(str.size > 0){ obj = objClass.new(Freesound.parseFunc.value(str)); }{"ERROR: received empty response from Freesound".postln}; action.value(obj); }); } *retrieve{|uri,path,action| var cmd; cmd = "curl -H \"%\" \"%\">\"%\"".format(F ...

  5. gui_example_mindmirror Quark

    ... iveChannels.size!=2, { "The array activeChannels can only contain two indices.".error; }, { sequencer.dataAction= {|num, data, acc| var d; if(mindSynth.notNil, { d= data[activeChannels]; d.do{|x, i| notchFilters[i].filterN(x)}; s.bind{mindS ...

  6. ServerLog Quark

    ... s.postln; }); args.do { arg a,i; if(a.isNumber and: {a.isNaN},{ ("NaN!!!!" + a).error; args.put(i,0) }) } }); ^super.sendMsg(*args); } sendBundle { arg time ... args; msgs = msgs.add( ServerLogSentEvent( time,args,true) ); if(tail,{ args.po ...

  7. 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 - ...

  8. 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 ...

  9. 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 ...

  10. 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] ...

prev 51 52 53 54 55 56 57 58 59 60 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow