Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1070) Code (249) Doc (326) Help (124) Quark (363) Plugin (8) SCDoc ↗ Forum ↗ Google ↗
  1. Impulse Help

    Impulse impulse oscillator Impulse.ar(freq, phase, mul, add) Outputs non band limited single sample impulses. freq - frequency in Hertz phase - phase offset in cycles ( 0..1 ) { Impulse .ar(800, 0.0, 0.5, 0) }.play { Impulse .ar( XLine .kr( ...

  2. jitlib_basic_concepts_04 Help

    ... se two synths are started at the time when they are inserted: ~x = { Ringz .ar( Impulse .ar(1), 400, 0.05).dup }; ~y = { Ringz .ar( Impulse .ar(1), 600, 0.05).dup }; // adding a common clock: ~x.clock = TempoClock .default; ~x.quant = 1.0; ...

  3. Dust Help

    Dust random impulses Dust.ar(density, mul, add) Generates random impulses from 0 to +1. density - average number of impulses per second ( SynthDef ( "help-Dust" , { arg out=0; Out .ar(out, Dust .ar(200, 0.5) ) }).play; ) ( SynthDef ( "help- ...

  4. Dust2 Help

    Dust2 random impulses Dust2.ar(density, mul, add) Generates random impulses from -1 to +1. density - average number of impulses per second ( SynthDef ( "help-Dust2" , { arg out=0; Out .ar(out, Dust2 .ar(200, 0.5) ) }).play; ) ( SynthDef ( " ...

  5. PartConv Help

    ... add) Partitioned convolution. Various additional buffers must be supplied. Mono impulse response only! If inputting multiple channels, you'll need independent PartConvs, one for each channel. But the charm is: impulse response can be as lar ...

  6. Decay2 Help

    ... ays, // swapping the values, the envelope turns upside down: plot({ Decay2 .ar( Impulse .ar(1), 0.001, 0.01) }) plot({ Decay2 .ar( Impulse .ar(1), 0.01, 0.001) }) // used as an envelope { Decay2 .ar( Impulse .ar( XLine .kr(1,50,20), 0.25), ...

  7. Sweep Help

    ... *kr(trig, rate) // using sweep to modulate sine frequency ( { var trig; trig = Impulse .kr( MouseX .kr(0.5, 20, 1)); SinOsc .ar( Sweep .kr(trig, 700) + 500, 0, 0.2) }.play; ) // using sweep to index into a buffer s.sendMsg( "/b_allocRead" ...

  8. Decay Help

    ... value or -60dB. This is useful for exponential decaying envelopes triggered by impulses. in - input signal decayTime - 60 dB decay time in seconds. plot({ Decay .ar( Impulse .ar(1), 0.01) }); // used as an envelope play({ Decay .ar( Impuls ...

  9. T2A Help

    ... t signal offset - sample offset within control period // example ( { var trig = Impulse .kr(MouseX.kr(1, 100, 1)); Ringz .ar(T2A.ar(trig), 800, 0.01) * 0.4 }.play; ) // compare with K2A ( { var trig = Impulse .kr(200); [ T2A .ar(trig), K2A ...

  10. Demand Help

    ... this stream twice. To isolate a demand ugen, use a function : ( { var a, b, t = Impulse .kr(2); a = { Dseq ([1, 2, 3, 4, 5], inf ) } * 100; b = a + 1; Demand .kr(t, 0, [a, b]).poll(t) }.play ); Examples ( { var trig, seq, freq; trig = Impul ...

1 2 3 4 5 6 7 8 9 10 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow