Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... s, "sounds/a11wlk01.wav" ); x = { var colum, noise, imp, delimp, mul = 1; imp = Impulse .kr(10); delimp = Delay1 .kr(imp); colum = PlayBuf .ar(1, b, BufRateScale .kr(b), loop: 1) * mul; // measure rms and Peak SendReply .kr(imp, '/levels' , ...

  2. ProxySpace Help

    ... p[ \out ] = { Ringz .ar(p[ \in ].ar, [350, 351.3] * 8, 0.2) * 4 }; p[ \in ] = { Impulse .ar([5, 7]/2, [0, 0.5]) }; a.clear(3); // clear after 3 seconds b.clear(3); Creation / Class Methods *new(server, name, clock) server : a Server object. ...

  3. Busses Help

    ... d another creating pulses of Sine Waves. The pulses are created using the UGens Impulse and Decay2 . These are then reverberated using a chain of AllpassC , which is a kind of delay. Note the construction 16.do({ ... }), below. This makes t ...

  4. PG_Cookbook03_External_Control Help

    ... seTime: decay); // this trigger (id==0) is to update the gui only SendTrig .kr( Impulse .kr(10), 0, amp); // this trigger gets sent only when amplitude crosses threshold SendTrig .kr(amp >= thresh, 1, 1); }).play(args: [inbus: s.options.num ...

  5. 13 Help

    ... rains" , { arg centerFreq = 777, freqDev = 200, grainFreq = 2; var gate; gate = Impulse .kr(grainFreq); Out .ar( 0, SinOsc .ar( LFNoise0 .kr(4, freqDev, centerFreq), 0, EnvGen .kr( Env.sine(0.1) , gate, 0.1) ) ) }).load(s); SynthDef ( "aDel ...

  6. Env Help

    ... .kr( Env ([6000, 700, 100], [1, 1], [ 'exp' , 'lin' ]).circle.postcs) ) * 0.1 + Impulse .ar(1) }.play; ) ( { SinOsc .ar( EnvGen .kr( Env ([6000, 700, 100], [1, 1], [ 'exp' , 'lin' ]).circle(1).postcs, MouseX .kr > 0.5) ) * 0.1 + Impulse .ar ...

  7. FFT Overview Help

    ... .ar(0.8); chain = FFT ( LocalBuf (2048), in); chain = PV_RandComb (chain, 0.95, Impulse .kr(0.4)); IFFT (chain); }.play(s); ) PV Ugens write their output data in place , i.e. back into the same buffer from which they read. PV UGens which re ...

  8. 13_Delays_reverbs Help

    ... rains" , { arg centerFreq = 777, freqDev = 200, grainFreq = 2; var gate; gate = Impulse .kr(grainFreq); Out .ar( 0, SinOsc .ar( LFNoise0 .kr(4, freqDev, centerFreq), 0, EnvGen .kr( Env.sine(0.1) , gate, 0.1) ) ) }).load(s); SynthDef ( "aDel ...

  9. SCButton Help

    ... eld; // stop here .. // create a synth synth = { |freq=1000, rate=5| Ringz .ar( Impulse .ar(rate.lag(4) * [1,1.01]), freq, rrand(0.01, 0.1),0.3 ) }.play; 0.yield; guessVal = exprand(200.0, 18000).round; synth.set( \freq , guessVal); // set ...

  10. Streams-Patterns-Events3 Help

    ... to create a rhythmic solo. The values in the pattern specify the amplitudes of impulses fed to the Decay2 generator. ( SynthDef ( \help_SPE3_Mridangam , { arg t_amp; var out; out = Resonz .ar( WhiteNoise .ar(70) * Decay2 .kr( t_amp, 0.002, ...

prev 11 12 13 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow