Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (663) Code (163) Doc (222) Help (83) Quark (188) Plugin (7) SCDoc ↗ Forum ↗ Google ↗
  1. midicps Help

    midicps convert MIDI note to cycles per second a.midicps midicps(a) ( { Saw.ar(Line.kr(24,108,10).midicps, 0.2) }.play)

  2. octcps Help

    octcps convert decimal octaves to cycles per second a.octcps octcps(a) ( { Saw.ar(Line.kr(2,9,10).octcps, 0.2) }.play)

  3. XFade2 Help

    ... pan, level) pan - -1 .. 1 ( SynthDef ( "help-XFade2" , { Out .ar(0, XFade2 .ar( Saw .ar, SinOsc .ar , LFTri .kr(0.1), 0.1 )); }).play )

  4. SCFreqScopeWindow Help

    ... ew(400, 200, 0); // basic sine { SinOsc .ar(2000, 0, 0.25) }.play(s); // random saw { RLPF .ar( Saw .ar(110, 0.2), LFNoise2 .kr(1,1e4,1e4), LFNoise2 .kr(1, 0.2, 0.22)) }.play(s); // modulate phase { SinOsc .ar(800, SinOsc .ar( XLine .kr(20, ...

  5. Interpreter Help

    ... is can be used to implement little languages. // silly but simple: understand a Saw for every SinOsc this .preProcessor = { |code| code.replace( "SinOsc" , "Saw" ) }; { SinOsc .ar(200) * 0.1 }.play; preProcessor = nil ; // reset to nil.

  6. Scoping and Plotting Help

    ... ome results of, Function-plot: { PinkNoise .ar(0.2) + SinOsc .ar(440, 0, 0.2) + Saw .ar(660, 0.2) }.plot; This makes a graph of the signal produced by the output of the Function. You can specify some arguments, such as the duration. The def ...

  7. Slew Help

    ... .plot) // Has the effect of removing transients and higher frequencies. ( { z = Saw .ar(800, 0.2); Slew .ar(z, 400, 400) }.play )

  8. TChoose Help

    ... see also: TWChoose *ar(trig,array) *kr(trig,array) ( { var a; a = [ SinOsc .ar, Saw .ar, Pulse .ar ]; TChoose .ar( Dust .ar( MouseX .kr(1, 1000, 1)), a) * 0.2 }.play; ) Note: all the ugens are continously running. This may not be the most e ...

  9. 5 Help

    ... genを使います。 ( SynthDef ( "dataForABus" , { Out .ar( 0, // 1 チャンネル分のオーディオをバス0に書き込む Saw .ar(100, 0.1) ) }).load(s); ) Synth ( "dataForABus" ); SynthDef ブラウザーが示す様に、 ( // 評価してみて下さい SynthDescLib .global.read; SynthDescLib .global.browse; ) この例は(1チ ...

  10. RHPF Help

    ... ciprocal of Q. bandwidth / cutoffFreq. // modulate cutoff frequency { RHPF .ar( Saw .ar(200,0.1), FSinOsc .kr( XLine .kr(0.7,300,20), 0, 3600, 4000), 0.2) }.play; // filter a modulator ( { var ctl = RHPF .kr( LFSaw .kr(2), SinOsc .kr( XLine ...

prev 1 2 3 4 5 6 7 8 9 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow