Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1643) Code (228) Doc (514) Help (194) Quark (697) Plugin (10) SCDoc ↗ Forum ↗ Google ↗
  1. Voicer Quark

    ... v = Voicer .new(8, "harpsi" ); // uses Server.local f = Array .fill(5, { 1000.0.rand + 50 }); v.trigger(f); // play 5 notes v.release(f); // release the same gate1(freq, dur, gate = 1, args, lat) gate(freq, dur, gate = 1, args, lat) Trigger ...

  2. EQspecs Quark

    ... sig * mul); }); } makeSynthName { var str; str = this.hash.asString; // or 1.0.rand.asString? str.do({ arg s, i; (s == $.).if({ str.put(i, $-) }); }); ^("EQ" ++ str) } }

  3. EuroCollider Quark

    ... age; var <curFreq; var oscFunc; var <controlSynth; var tuner; var <isTuned; var randSeed; var <tuningMap; var tunerOscChannel; var tunerDefName; *new {|soundIn, cvOut, gateOut, playMonitor=false, negativeVoltage=false| ^super.newCopyArgs( s ...

  4. PitchCircle Quark

    ... edge; aHLDots = []; if(win.isNil, { win = GUI.window.new( "Pitch circle", Rect(rrand(0, 50), rrand(10, 500), width, height), false ).front; win.view.background_(Color.new255(240, 240, 240)); // grey win.view.decorator=FlowLayout(win.view.bo ...

  5. CtkEvent Quark

    ... event.collect( z.new( 0.0 , 1.0 , target: group).globenv_(envbus).freq_( 440 .rrand( 880 )) .dur_( 1.0 ).amp_( 0.01 ); ); // set the 'next' time event.next_( 0.2 .rrand( 1.0 )); }); ) a.play; // play it b = a.record; // play it AND record ...

  6. Sieves and Psieve patterns Quark

    ... a Pdiff). Sieve .union( Pseq ([1, 10], inf ), 5, 7, `30) Sieve .union({ loop { rrand(1,10).yield } }.r, 5, 7, `30) // compare with result from the pattern alone // a union with one argument just returns its resulting elements. // As pattern ...

  7. _SampleLib Quark

    ... te: rate, amp: 1).play; (buf.duration / rate / e.overlap).wait; } } }).play; // random order with steady rhythm Tdef(\sambAll).set(\overlap, 4); Tdef(\sambAll, { |e| inf.do { q.samba.scramble.do { |buf, i| var rate = [1, 1.25, 1.5, 0.75, 0. ...

  8. ChordtrisEngine Quark

    ... wBrick { ^ChordtrisBrick.new( [\i, \j, \l, \o, \s, \t, \z].choose, this.generateRandomChord, 4, //x 0, //y 0 //orientation ); } generateRandomChord { var chord = Chord.new(12.rand, [\minor, \major].choose); chord.chordLanguage = ChordtrisPr ...

  9. ChuckExamples Quark

    ... notes.asChord, 1) }, { Pn (notes, 1) }); } => ArpegPat ( \block ); #{ |notes| Pxrand (notes, inf ) } => ArpegPat ( \xrand ); #{ |notes| Pseq (notes.sort, inf ) } => ArpegPat ( \up ); #{ |notes| Pseq ([notes.sort, notes+7, notes+7, notes+14, ...

  10. ChuckExamples Quark

    ... notes.asChord, 1) }, { Pn (notes, 1) }); } => ArpegPat ( \block ); #{ |notes| Pxrand (notes, inf ) } => ArpegPat ( \xrand ); #{ |notes| Pseq (notes.sort, inf ) } => ArpegPat ( \up ); #{ |notes| Pseq ([notes.sort, notes+7, notes+7, notes+14, ...

prev 61 62 63 64 65 66 67 68 69 70 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow