Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (83) Code (7) Doc (30) Help (12) Quark (34) SCDoc ↗ Forum ↗ Google ↗
  1. aiMel Quark

    ... To save time in performance, you can define the adaptation symbol pattern as a Pdefn, // and use the Pdefn name to chuck into the adapt adverb. // This works only with chucking syntax; variable assignment syntax does not work in that case. ...

  2. extFunction Quark

    ... ames = this.argNames; patType = Pseq; argNames.do{|item| var string; string = ("Pdefn('" ++ argNames[0] ++ "_" ++ item ++ "', " ++ patType.asString ++ "(" ++ item ++ ", inf))").asString; part2 = part2.replace(item.asString, string); }; fcs ...

  3. extArray Quark

    ... tNum ++ "', Pbind("; this.do{|item| var string, arr; string = (item[0].cs ++ ", Pdefn('" ++ item[0] ++ patNum); if(item.size <= 2, { string = string ++ "', " ++ item[1].cs ++ ")"; }, { if(item[2].isArray, {arr = item[2]}, {arr = [item[2]]}) ...

  4. OpenObject Quark

    ... ear { objects = (); } *isListening { ^responders.notNil } *openProxies { [Pdef, Pdefn, Tdef, Fdef, Ndef].do { |class| class.publish(class.name) }; lookup = true; } // a dangerous tool for both good and evil ... *openInterpreter { |addr| ("N ...

  5. ChuckExamples Quark

    ... e this // it defines keys for Func()'s that will be used to generate variations Pdefn ( \adp , Pwrand (#[ \intSplice , \delete ], #[0.6, 0.4], inf )); // make a simple instrument to play some notes, store it in a factory class // this is st ...

  6. ChuckExamples Quark

    ... e this // it defines keys for Func()'s that will be used to generate variations Pdefn ( \adp , Pwrand (#[ \intSplice , \delete ], #[0.6, 0.4], inf )); // make a simple instrument to play some notes, store it in a factory class // this is st ...

  7. macroRh Quark

    ... Since arpeg and micro selection patterns may be complex, you can define them as Pdefn's in your setup code, then reference the pattern by name during performance, e.g., // in setup code Pdefn ( \micRhBlockCheck , Pfunc ({ |inEvent| (inEvent ...

  8. macroRh Quark

    ... Since arpeg and micro selection patterns may be complex, you can define them as Pdefn's in your setup code, then reference the pattern by name during performance, e.g., // in setup code Pdefn ( \micRhBlockCheck , Pfunc ({ |inEvent| (inEvent ...

  9. VarGui shortcut builds Quark

    ... pVarGui( ctrReplace: [ \freq , [20, 1000, \exp , 0, 80]], pReplace: [ \cutoff , Pdefn ( \co , Pseq ([3, 1, 1, 1, 1], inf )) * Pfunc { [~cutoff] }, \freq , Pdefn ( \fr , Pseq ([1, 1, 1.3, 1.2, 1], inf )) * Pfunc { ~freq } ] ).gui; ) // start ...

  10. preprocessor-generators Quark

    ... rep = { ~superprep.(); ~pool = ~args[0]; // 'super' wrapped this in an array if(Pdefn.all[~pool].isNil) { Error("'%': gdefn can't find Pdefn key '%'".format(~bpKey, ~args[0])).throw; }; currentEnvironment }; // The whole point of a "referen ...

prev 1 2 3 4 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow