Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... ed class methods Instance Methods Inherited instance methods Examples s.boot; ( SynthDef(\fm_grain_test, {arg gate = 1, amp = 1; Out.ar(0, FMGrain.ar(Impulse.ar(20), 0.2, 440, 200, LFNoise1.kr(1).range(1, 10), EnvGen.kr( Env([0, 1, 0], [1, ...

  2. MP3 Doc

    ... // Let's read in an internet radio stream and warp it a bit. // First we need a synthdef: s.boot; ( SynthDef("help_mp3_01", { |bufnum = 0| var son, wibble; son = DiskIn.ar(2, bufnum); wibble = LFPar.kr(0.1).range(0.5, 2.0); son = PitchShift ...

  3. PV_RectComb2 Doc

    ... ({ |paths| // get a second soundfile; paths.do({ |p| exBuf = Buffer.read(s, p); SynthDef("help-max", { |out = 0, soundBufnum1 = 2, soundBufnum2 = 3| var inA, chainA, inB, chainB, chain ; inA = PlayBuf.ar(1, soundBufnum1, BufRateScale.kr(sou ...

  4. ClientVsServer Doc

    ... rom the server and assign it to n s.sendMsg("/s_new", "default", n); // use the SynthDef "default" to create a synth with ID n s.sendMsg("/n_free", n); // release the synth n ⧉ ✔ indirectly the language app provides you with convenient OOP ...

  5. Event_types Doc

    ... th on the server, with specified arguments, and later to free it. The choice of SynthDef is specified using the \instrument key. This event type is what Event.default returns. (degree: [0, 5, 7, 11]).play; Actually plays this event type: (t ...

  6. Pexprand Doc

    ... sto(500).plot(bounds: Rect(10, 410, 520, 380), parent: w); ) // sound example ( 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, ...

  7. jitlib_basic_concepts_03 Doc

    ... p playback, end is used. ~z.end(3); // end in 3 sec ⧉ ✔ in order to rebuild the synthdef on the server, use rebuild . this is of course far less efficient than send , but it can make sense; e.g. the synthdef has random elements. UGens like ...

  8. 08_Rates Doc

    ... , a control rate SinOsc modulates the frequency of the audio rate Pulse wave. ( SynthDef("anExample", { Out.ar( 0, Pulse.ar( [220, 221.5] + SinOsc.kr([7, 8], 0, 7), // the control rate conserves CPU cycles 0.35, 0.02 ) ) }).add; ) Synth("an ...

  9. PV_EvenBin Doc

    ... / a sample sig {SinOsc.ar(440 + SinOsc.kr(0.05).range(0, 440), 0, 0.5)}.play; ( SynthDef(\evenbin, {arg fftbuf1, fftbuf2; var in, chain1, chain2, out1, out2; in = SinOsc.ar(440 + SinOsc.kr(0.05).range(0, 440), 0, 0.5); chain1 = FFT(fftbuf1, ...

  10. Client Doc

    ... together represent a sender / receiver pair for sclang side OSC messages. Using SynthDef-like global function definitions, ClientFunc, an sclang application can evaluate code on a remote sclang app. For examples, see LocalClient . Class Met ...

prev 41 42 43 44 45 46 47 48 49 50 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow