Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (3894) Code (643) Doc (1121) Help (424) Quark (1675) Plugin (31) SCDoc ↗ Forum ↗ Google ↗
  1. IndexL Help

    ... nal value is truncated to an integer value and used as an index into the table. Out of range index values are clipped to the valid range. bufnum - index of the buffer in - the input signal. See also: IndexInBetween // indexing into a fixed ...

  2. Tutorial Help

    ... rg freq=800; var osc; osc = SinOsc .ar(freq, 0, 0.1); // 800 Hz sine oscillator Out .ar(0, osc); // send output to audio bus zero. }).writeDefFile; // write the def to disk in the default directory synthdefs/ ) Send the SynthDef to the serv ...

  3. Spawning Help

    ... y executing blocks of code. // do this ( x = SynthDef ( "Help-SynthDef" , { arg out=0; Out .ar(out, PinkNoise .ar(0.1)) }).play; // SynthDef-play returns a Synth object. ) // then do this ( SynthDef ( "help-Rand" , { arg out=0; Out .ar(out, ...

  4. InTrig Help

    ... ger anytime a bus is set Inherits from: Object : AbstractFunction : UGen : MultiOutUGen : AbstractIn *kr(bus, numChannels) bus - the index of the bus to read in from. numChannels - the number of channels (i.e. adjacent buses) to read in. Th ...

  5. NumRunningSynths Help

    ... is derived from the number of synths running ( SynthDef ( "numRunning" , { arg out; Out .ar(out, SinOsc .ar( NumRunningSynths .ir * 200 + 400, 0, 0.1)); }).send(s); ) s.sendMsg( "/s_new" , "numRunning" , -1, 0, 0); s.sendMsg( "/s_new" , "n ...

  6. PulseCount Help

    ... e counter PulseCount.ar(trig, reset) Each trigger increments a counter which is output as a signal. trig - trigger. Trigger can be any signal. A trigger happens when the signal changes from non-positive to positive. reset - resets the count ...

  7. NodeControl Help

    ... de and an index. this object can be held by a client and have its value set without otherwise having to store the details about where the node's input is. d = SynthDef ( "help-NodeControl" ,{ arg out=0,freq=400; Out .ar(out, SinOsc .ar(freq ...

  8. ExpRand Help

    ... utions from lo to hi. See also: LinRand , Rand ( SynthDef ( \help_ExpRand , { | out = 0, n = 0 | Out .ar(out, FSinOsc .ar( ExpRand (100.0, 8000.0, n), 0, Line .kr(0.2, 0, 0.01, doneAction:2)) ) }).send(s); ) ( Routine ({ inf .do({ arg i; Sy ...

  9. PauseSelf Help

    ... - input signal see also: FreeSelf // example ( SynthDef ( \pauseSelf_help , { |out, t_trig| PauseSelf .kr(t_trig); Out .ar(out, SinOsc .ar(400,0,0.2)); }).send(s); ) a = Synth ( \pauseSelf_help ); a.set( \t_trig , 1); a.run( true ); a.set( ...

  10. jitlib_asCompileString Help

    ... 20],20) }; ~ctl2[1] = { LFNoise2 .kr([20,20],20) * LFNoise0 .kr([20,20],20) }; ~out = { SinOsc .ar(~freq.kr, 0, 0.1) }; ~freq[0] = { ~ctl1.kr(2) + ~ctl2.kr(2) + 400 }; ~freq[5] = ~ctl1.wrap2(~ctl2) * ~ctl1 / (~ctl2 + ~ctl1); ~pat = Pbind(\f ...

prev 1 2 3 4 5 6 7 8 9 10 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow