Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (317) Code (69) Doc (87) Help (34) Quark (127) SCDoc ↗ Forum ↗ Google ↗
  1. RandomOrbit Doc

    ... nc, Pseq([ Pn(1, 7), Pn(-1, 7)], inf), \n, 1, // first ask r.value by hand in a Pfunc: \degree, Pfunc({ |ev| (r.value(ev[\inc], ev[\n] ? 1) * 7).round(1) }), \dur, Pseq([0.5, Pn(0.25, 6)], inf) ).play; // try using number of notes: Pbindef( ...

  2. Plazy Doc

    ... Source: Ppatmod.sc Subclasses: PlazyEnvir See also: PlazyEnvir , PlazyEnvirN , Pfunc Description Plazy evaluates a function that returns a pattern and embeds it in a stream. Class Methods Plazy. new ( func ) Arguments: func A Function that ...

  3. Re: Generating Graphics and Music From The Dragon Curve by blueprint (blueprint) Code

    ... tern = Pn( Ppar([ Padd(\midinote, Pfunc({transposition}), Panola.new( notation:interp.globalState()[\patternnotes].join(" ").debug(" ...

  4. Modulation sequencing by 0-2U (grirgz) Code

    ... 1,0, 1,0,0],inf), \lforange, Pseq([1000,2000,3000],inf).stutter(8), \ffreq, Pfunc({ arg ev; Ndef(\lfo1).set(\trig, ev[\move], \lforange, ev[\lforange]); Ndef(\lfo1); }), \dur, 0.5 )).play ) ////// sub pattern way ( ...

  5. Event_patterns_and_array_args Doc

    ... ((1..7))), // use Function ~seti (2d) for SC versions without method seti: \do, Pfunc { |e| s.makeBundle(s.latency, { ~seti.(x, \otAmps, e.i, e.otAmp) }) } // for newer SC versions with method seti you can use this line instead: // \do, Pfu ...

  6. PG_06g_Data_Sharing Doc

    ... value pattern). Access to the environment depends on function-driven patterns: Pfunc , Pfuncn , Prout , .collect , .select , .reject , and similar. The independent flag specifies whether the environment will be kept separate for each strea ...

  7. Pattern Help

    ... should never be called from within the function that defines a FuncStream or a Pfunc (the pattern that creates FuncStreams). Event Patterns An Event is a Environment with a 'play' method. Typically, an Event consists of a collection of key ...

  8. PatternConductor Help

    ... tes p = Pbind ( \freq , Pwhite (0,log(32)).exp.round(1) * 36.midicps, \detune , Pfunc ({ | ev | ev[ \freq ] * rand(0.01) }), \sustain , Pwhite (log(0.1), log(20)).exp, \dur , Prand ([0.1,0.1,0.1,0.1,0.2,1,2], inf ), \db , Pstep ( Pseq ([-20 ...

  9. Galton Board Simulator by simon (Dindoléon) Code

    ... lt, \dur, 0.25, \amp, 0.5, \freq, Prand(availableNotes, inf), \foo, Pfunc({ |event| playedNote = availableNotes.indexOf(event.freq); timesNotesWerePlayed[playedNote] = timesNotesWerePlayed[playedNote] + 1; if((timesNo ...

  10. aurora borealis by nicolaariutti (nicolaariutti) Code

    ... vSend]); x = Pbind( \instrument, \bell, \out, ~revSend, \root, Pfunc({~root}), \octave, Pwrand([4, 5, 6, 7], [6,8,3,1].normalizeSum, inf), \degree, Prand(Scale.lydian.degrees, inf), \ctranspose, Pwhite( -0.05, 0 ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow