Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (294) Code (91) Doc (87) Help (29) Quark (87) SCDoc ↗ Forum ↗ Google ↗
  1. sclang-dirt Quark

    ... s: \cr).play; (type:\dirt, orbit:1, s: \cr, speed:2/5).play; ) // some hihats ( Pdef(\x, Pbind( \type, \dirt, \s, \hh, \n, Pseq([1, 0, 0, 0, 0], inf), \speed, Pseq([1, 1, 0.5, 1.2], inf), \dur, 0.25 * Pseq([1, 1/2, 1, 2, 2, 1/2], inf), \roo ...

  2. PLbindef Quark

    ... rceEnvir, <refEnvir; *new { |...args| var sourceEnvir, key = args[0], refEnvir, pdef, newPdef; pdef = Pdef.all.at(key); ^pdef.notNil.if { pdef.isKindOf(PLbindef).not.if { SimpleInitError("Attempt to overwrite Pdef of other type, change key ...

  3. MetronomeCP Quark

    ... options.font); metroButton.action = { arg butState; if ( butState.value == 1, { Pdef(\metronome, Pbind(\instrument, \metronome, \amp, metro_Vol, \dur, 1, \freq, 800, \out, metroOut - 1 )).play(options.tempoClock, quant:[1]); }); if ( butSta ...

  4. AllGui Quark

    ... z) the currentEnvironment some classvars that keep all instances of that class: Pdef.all, Tdef.all, Pdefn.all, ProxySpace.all, Ndef.all, and potentially others, such as MKtl. AllGui shows an overview of these: the number global vars in use ...

  5. NPdef Quark

    //(c) 2009, Marije Baalman (nescivi) // gnu/gpl NPdef : Pdef { *initClass{ Event.addEventType( \npset, #{ var freqs, lag, dur, strum, bndl, msgFunc; var proxy; freqs = ~freq = ~detunedFreq.value; proxy = ~id.value; if (freqs.isKindOf(Symbol ...

  6. proto-cmds Quark

    ... }; ~dur = 0; }; }).import((synthCmd: #[getArgs, setParms])) => PR(\setCmd); // Pdef player PR(\abstractTLCommand).clone({ ~quant = Quant(0); ~fire = { |parms| // ~setParms.(parms); ~name = ~name.asArray; ~pdefs = Array(~name.size); ~player ...

  7. PLbindefPar Quark

    ... s[i] } } subPLbindefs { ^num.collect { |i| this[i].plbindef } } } PLbindefPar : Pdef { var <sourceEnvir, <refEnvir, <num; *new { |...args| var srcEnvir, key = args[0], indices = args[1], pairs, refEnvir, plbindefs, wrappedPLbindefs, pdef, n ...

  8. proto-cmds Quark

    ... }; ~dur = 0; }; }).import((synthCmd: #[getArgs, setParms])) => PR(\setCmd); // Pdef player PR(\abstractTLCommand).clone({ ~quant = Quant(0); ~fire = { |parms| // ~setParms.(parms); ~name = ~name.asArray; ~pdefs = Array(~name.size); ~player ...

  9. ChordtrisSoundModule Quark

    ... ransposeUpperBound = 4; *initClass { StartUp.add { this.loadSynthDefs; this.loadPdefs; } } *loadSynthDefs { // SynthDefs SynthDef(\tetris, { |out, amp=0.3, freq=440, sustain=0.5| var snd; var sustainLevel = 0.5; snd = LFPulse.ar(freq)!2; // ...

  10. particle_system_without_graphics Quark

    ... ing, { spring.position.x= ~x; spring.position.y= ~y; spring.position.z= ~z; }); Pdef(\mel, Pbind( //this moves the spring around \type, \spring, \dur, 1, \x, Pseq([0, -1, 1], inf), \y, Pseq([0.5, -0.5], inf), \z, Pseq([0], inf) )).play; }; ...

prev 1 2 3 4 5 6 7 8 9 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow