Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (2836) Code (566) Doc (808) Help (347) Quark (1105) Plugin (10) SCDoc ↗ Forum ↗ Google ↗
  1. Rational Doc

    ... ); // true ⧉ ✔ Sound Example ( var is, f, l, ds, p, ps, next_i; s.waitForBoot { SynthDef(\blip, { | out, freq = 440, amp = 0.05, nharms = 10, pan = 0, gate = 1 | var audio = Blip.ar(freq, nharms, amp); var env = Linen.kr(gate, doneAction: 2 ...

  2. Pdefn Doc

    ... Pseq([55, 66, 77], 1)); t.stop; // Pdefn can be accessed in multiple streams ( SynthDef("Pdefhelp", { |out, freq, sustain = 1, amp = 1, pan| var env, u = 1; env = EnvGen.kr(Env.perc(0.03, sustain), 1, doneAction: Done.freeSelf); 5.do { var ...

  3. Streams-Patterns-Events1 Doc

    ... how how you might use Streams to generate musical material. ( s = Server.local; SynthDef(\help_SPE1, { arg i_out=0, freq; var out; out = RLPF.ar( LFSaw.ar( freq, mul: EnvGen.kr( Env.perc, levelScale: 0.3, doneAction: Done.freeSelf )), LFNoi ...

  4. TZeroXBufRd Doc

    ... cZeroXDiffs, ~envZeroXDiffs) for // adjusting the envelope playback rate in the SynthDef dynamically ( ~srcZeroXOffset = 1019; // check with other offset ~srcMaxHalfWavesetNum = 2; ~srcZeroXIndices = ~srcBufZeroXArr[~srcZeroXOffset..~srcZer ...

  5. OSCSched Doc

    ... . tschedAbsNext Inherited instance methods Examples s = Server.local; s.boot; ( SynthDef("bubbles", { var f, zout; f = LFSaw.kr(0.4, 0, 24, LFSaw.kr([8,7.23], 0, 3, 80)).midicps; zout = CombN.ar(SinOsc.ar(f, 0, 0.04), 0.2, 0.2, 4); Out.ar(0 ...

  6. News-3_9 Doc

    ... signal as an input to Hasher.ar now results in an error. The "Cleaning up temp synthdefs..." post message is suppressed if there is nothing to clean up. To match Out and ReplaceOut , LocalOut and XOut now correctly validate their input, ch ...

  7. API Doc

    ... oldCall oldAddAll ⧉ ✔ Class Methods . new Arguments: name apiname eg. "server" "synthdef" Convention is lowercase. It must match the case of the apis/{apiname}.api.scd file Returns: an API Calling . async Call API method receiving the resul ...

  8. BBCut2 Doc

    ... demonstrating what happens with tempo changes ( var sf, tempoclock, bbcutclock; SynthDef(\beep,{Out.ar(0,SinOsc.ar(440,0,0.1)*Line.kr(1,0,0.1,doneAction:2))}).load(s); tempoclock= TempoClock(2.3); bbcutclock= ExternalClock(tempoclock); Rout ...

  9. IdentityDictionary Doc

    ... ) . asQuant . timingOffset Use a dictionary to represent timing information. ( SynthDef(\help_sinegrain, { |out = 0, freq = 440, sustain = 0.05| var env; env = EnvGen.kr(Env.perc(0.01, sustain, 0.2), doneAction: Done.freeSelf); Out.ar(out, ...

  10. EventLoop Doc

    ... // now loops EXAMPLE 2 // record rhythm only, play by hand // a sound to use ( SynthDef(\toc, { Out.ar(0, XLine.ar(1, 0.01, 0.02, doneAction: 2) * SinOsc.ar([600, 1300, 4500], 0, [0.3, 0.2, 0.1]).postln); }).add; ) (instrument: \toc).play; ...

prev 71 72 73 74 75 76 77 78 79 80 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow