Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (729) Code (188) Doc (238) Help (111) Quark (181) Plugin (11) SCDoc ↗ Forum ↗ Google ↗
  1. SCListView Help

    ... ; v = ListView (w, Rect (10,10,120,70)) .items_([ "SinOsc" , "Saw" , "LFSaw" , "WhiteNoise" , "PinkNoise" , "BrownNoise" , "Osc" ]) .background_( Color .clear) .hiliteColor_( Color .green(alpha:0.6)) .action_({ arg sbs; [sbs.value, v.items[ ...

  2. proxyspace_examples Help

    ... eed and not released. ( SynthDef ( "staub" , { arg out; Out .ar(out, Ringz .ar( WhiteNoise .ar(0.01), 1000 * [1,1], 0.001)) }).add; // store the synth def so it is added to the SynthDescLib ) ~out = \staub ; ~out = \staub ; // watching the ...

  3. Onsets Help

    ... mplex ); // You'll hear percussive "ticks" whenever an onset is detected pips = WhiteNoise .ar( EnvGen .kr( Env .perc(0.001, 0.1, 0.2), onsets)); Out .ar(0, Pan2 .ar(sig, -0.75, 0.2) + Pan2 .ar(pips, 0.75, 1)); }.play; ) x.free; // Free the ...

  4. SCRangeSlider Help

    ... quency range ( s.waitForBoot({ a={ arg freq=1800, bw=0.2; var r; BBandPass .ar( WhiteNoise .ar(0.3), freq, bw); }.play; w = Window ( "2DSlider" , Rect (100, Window .screenBounds.height-400, 400 ,50)); t = RangeSlider (w, Rect (10, 10, 380, ...

  5. SCSlider Help

    ... also: ( s.waitForBoot({ SynthDef ( \pluck ,{ arg freq=55; Out .ar(0, Pluck .ar( WhiteNoise .ar(0.06), EnvGen .kr( Env .perc(0,4), 1.0, doneAction: 2), freq.reciprocal, freq.reciprocal, 10, coef:0.1) ); }).send(s); w = Window .new( "Hold arr ...

  6. MultiChannel Help

    ... channel { Blip .ar(800,4,0.1) }.play; // two channels { [ Blip .ar(800,4,0.1), WhiteNoise .ar(0.1) ] }.play; Each channel of output will go out a different speaker, so your limit here is two for a stereo output. If you have a supported mul ...

  7. Randomness Help

    ... e(0.75).postln; // small groups Random signal generators, i.e. UGens: PinkNoise WhiteNoise GrayNoise BrownNoise PinkerNoise ClipNoise LFNoise0 LFNoise1 LFNoise2 LFClipNoise LFDNoise0 LFDNoise1 LFDNoise3 LFDClipNoise Dust Dust2 Crackle TWCho ...

  8. Bus Help

    ... trol(s, 1).set(0.01); ) ( SynthDef ( \rlpf , { |ffreq, rq| Out .ar(0, RLPF .ar( WhiteNoise .ar(0.2), ffreq, rq)) }).play(s, [ \ffreq , a.asMap, \rq , b.asMap]); ) subBus(offset,numChannels) - Get a new Bus that is a subset of this bus (see ...

  9. SCButton Help

    ... rand); DragSource (v, Rect (20,20,80,26)) .object_( { |b| (b.value==1).if{snd={ WhiteNoise .ar(0.4) }.play}{snd.free};} //a button action function ) .string_( "a play noise function" ).align_( \center ).background_( Color .rand); p= CmdPeri ...

  10. Streams-Patterns-Events3 Help

    ... or. ( SynthDef ( \help_SPE3_Mridangam , { arg t_amp; var out; out = Resonz .ar( WhiteNoise .ar(70) * Decay2 .kr( t_amp, 0.002, 0.1 ), 60.midicps, 0.02, 4 ).distort * 0.4; Out .ar( 0, out ); DetectSilence .ar( out, doneAction: 2 ); }).add; S ...

prev 11 12 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow