Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1234) Code (312) Doc (341) Help (126) Quark (454) Plugin (1) SCDoc ↗ Forum ↗ Google ↗
  1. Demo: Loading a MIDI file, playing it with your own SynthDef by bruno (Bruno Ruviaro) Code

    ... ecay, 1, \dampen, 0.1, \amp, 1, \ctranspose, [-24, -21, -17], \amp, Pseq([0.1, 0.1, 0.2, 0.3, 0.4, 0.5, 0.8, 1, 2], inf) )).trace.play(~bpm); ) // ex. 4 ( Pstretch(Pn(Pgeom(0.5, 1.1, 14)), // can also stretch by pattern! ...

  2. Event_patterns_and_Functions Doc

    ... mmon attributes are: period length = 2, magnitude relation of items = 1:10) p = Pseq([1,10], inf) * Pfunc { ~a }; ⧉ ✔ An even more generalized operation is the use of Pcollect, which defines the following Stream behaviour: Output of the sou ...

  3. Jazz Arpeggios by bjorn-westergard (Bjorn Westergard) Code

    ... and([Pwhite(-3,3,inf).round(1),1],[32,1],inf), 4),inf)-1 + [0,2,-1,-14], \dur, Pseq([4, [5,2,1]].convertRhythm / 2, inf), \strum, Pwhite(0,1/8,inf), \octave, [5,6] ).play;

  4. EventShortcuts Quark

    ... ave dt: Pwhite (0, 20), // detune (in cent) l: 0.2, // legato d: 0.2, // dur w: Pseq ((5, 10..40)/100, 4), // width (synth arg) r: Pseq ([0.1, 0.5], inf ), // rel (synth arg) ]).play ) // works also with other event patterns: Pmono, PmonoAr ...

  5. Prand Help

    ... ({ b.next.postln; }); ) // return also a subpattern: ( var a, b; a = Prand ([1, Pseq ([10, 20, 30]), 2, 3, 4, 5], 6); // return 6 items b = a.asStream; 7.do({ b.next.postln; }); ) Prand used as a sequence of pitches: ( SynthDef ( \help_sine ...

  6. György Ligeti's Poème Symphonique for 100 Metronomes by alibalighi (alibalighi) Code

    ... Spread panning between -1 and 1 // Combine parameters into Pbind and Pseq Ppar( tempos.collect { |tempo, index| Pbind( \instrument, \metronome, / ...

  7. Pprotect Doc

    ... value Examples ( var x; var func = { "an error happened".postln }; a = Pprotect(Pseq([1, 3, 3, Pfuncn({ Error.new.throw }), 2]), func); x = Pbind(\degree, a, \dur, 0.5).play; ) ⧉ ✔ helpfile source: /usr/local/share/SuperCollider/HelpSource/ ...

  8. startup14-perc Quark

    ... lta < ~beatsPerBar.value).if({ deltas.add(~beatsPerBar.value - totalDelta); }); Pseq(deltas, 1) }, { Pfinval(~amps.size, Pn(~divCycle.asPattern, inf)) }); }; ~makeAmpPattern = #{ ~compactPatterns.if({ Pseq(((~amps[0] == 0).if({ #[0] })) ++ ...

  9. PG_Ref01_Pattern_Internals Doc

    ... back to the list pattern to get the next item, which is embedded and so on. p = Pseq([Pseries(0, 1, 3), Pgeom(10, 2, 3)], 1).asStream; p.next; // Pseq is embedded; first item is Pseries(0...), also embedded // Control is now in the Pseries ...

  10. PG_Cookbook05_Using_Samples Doc

    ... po / originalTempo } ), 0.5, Pn( Pfindur(4, Pbind( \instrument, \bell, \accent, Pseq([2, Pn(0, inf)], 1), \amp, Pseq([0.3, Pn(0.1, inf)], 1), \decayScale, Pseq([6, Pn(1, inf)], 1), \dur, Pwrand(#[0.25, 0.5, 0.75, 1], #[2, 3, 1, 1].normalize ...

prev 81 82 83 84 85 86 87 88 89 90 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow