Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1076) Code (138) Doc (359) Help (130) Quark (446) Plugin (3) SCDoc ↗ Forum ↗ Google ↗
  1. VarGui shortcut builds Quark

    ... amp * EnvGen .kr( Env .adsr(att, dec, susLevel, rel), gate, doneAction: 2); // random spatialization (for sequencing) by L/R delay [ DelayL .ar(src, maxDelay, Rand (0, maxDelay)), DelayL .ar(src, maxDelay, Rand (0, maxDelay))] }) ; // ensu ...

  2. BoxGrid Quark

    ... eloc; nodeloc.postln; b.setState_(nodeloc[0], nodeloc[1], 0)}); // fill it with random nodes (nTET*3).do({ b.setState_(32.rand, nTET.rand, 1); // column, row, state }); }); ) // and we can play the grid from above with a clock // note: if y ...

  3. PitchClass Quark

    ... will make scales and deal with note-names, transposition, string fomratting // random filtering *major {arg tonic; var steps, scale, start; start = tonic = tonic.notNil.if({ tonic.isKindOf(PitchClass).if({tonic}, {PitchClass(tonic)}) }, { ...

  4. allesAnAlle Quark

    ... (2000, 12000), \sustain, 0.1, \out, 1, \pan, 0.5); *****/ // grain, each Server randomizes freq SynthDef('grain_interpret', { arg out = 0, freq=800, sustain=0.01, amp=0.5; var window, pitch; window = Env.sine(sustain, amp); pitch = (Rand(4) ...

  5. numberExtras Quark

    ... {0.5}!25).asDynamic( Array .geom(25,20000, 0.75).round(0.1).postln, 100, 1); // random amps and freqs: ({rrand(0.0001, 0.1)}!8).round(0.001).postln.asDynamic(({rrand(50,2000)}!8).postln); bintodb(zeta = 8) Convert the magnitude of an fft bi ...

  6. DXEnvFan Quark

    ... Bufs of different rates, the difference between L and R // comes from different random start positions. ( x = { var buf, env = DXEnvFan .ar( Dseq ([ Dshuf ((0..4)), Dshuf ((5..7))], inf ), size: 8, fadeMode: 3, stepTime: 0.2, fadeTime: 0.02 ...

  7. Live Granulation Quark

    ... ); grainDur = max(trigRate.reciprocal * overlap, minGrainDur); // select L/R or random sequencing pan = Demand .ar( trig, 0, Dswitch1 ([ Dseq ([1, -1], inf ), Dwhite (-1, 1) ], panType) ) * min(panMax, 0.999); sig = GrainIn .ar( 2, trig, gr ...

  8. Introduction to miSCellaneous Quark

    ... r midinotes in the gui and define the calculation for the actual midinote (e.g. random selection) in the event pattern: \midinote , PLwhite ( \midiLo , \midiHi ) Tour 4: PbindFx PbindFx is an event pattern for effect handling on per-event b ...

  9. PbindFx Quark

    ... 3), \cleanupDelay , Pkey ( \decayTime ) ] ); q = p.play; ) q.stop; Example 2b: Random fx sequence // If more than one synth per event is produced (here by key 'midinote'), // the effect chain is applied to all of them, see Ex. 3 for applyi ...

  10. TestRational Quark

    ... onal(maxFloatVal, 7.0), -7.0, 3.0, "(2^53/-3) / (2^53/7)" ); } // These pin the random add/sub bound to an exact no-cancellation example. test_AddSub_EdgePrecision { var m = maxAddSubIntVal; var checkRat = { |rat, num, denom, msg| this.asse ...

prev 41 42 43 44 45 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow