Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (79) Code (1) Doc (77) Quark (1) SCDoc ↗ Forum ↗ Google ↗
  1. PV_Diffuser Doc

    ... (chain, MouseY.kr > 0.5); 0.5 * IFFT(chain).dup; }.play ); ( b = Buffer.read(s, ExampleFiles.child); // trig with MouseY crossing center of screen { var in, chain; in = PlayBuf.ar(1, b, BufRateScale.kr(b), loop: 1); chain = FFT(LocalBuf(204 ...

  2. PV_LocalMax Doc

    ... Instance Methods Inherited instance methods Examples s.boot; b = Buffer.read(s, ExampleFiles.child); ( SynthDef("help-localMax", { |out = 0| var in, chain; in = Mix.arFill(3, { LFSaw.ar(exprand(100, 500), 0, 0.1) }); chain = FFT(LocalBuf(20 ...

  3. BufSamples Doc

    ... mono, so the number of samples matches the number of frames b = Buffer.read(s, ExampleFiles.child); // indexing with a phasor { BufRd.ar(1, b, Phasor.ar(0, BufRateScale.kr(b), 0, BufSamples.kr(b))) }.play; // indexing by hand { BufRd.ar(1, ...

  4. PV_RectComb2 Doc

    ... Instance Methods Inherited instance methods Examples s.boot; b = Buffer.read(s, ExampleFiles.child); ( var exBuf; Dialog.getPaths({ |paths| // get a second soundfile; paths.do({ |p| exBuf = Buffer.read(s, p); SynthDef("help-max", { |out = 0 ...

  5. PV_MagSmear Doc

    ... nce methods Examples s.boot; ( b = Buffer.alloc(s, 2048, 1); c = Buffer.read(s, ExampleFiles.child); ) ( SynthDef("help-magSmear", { |out = 0, bufnum = 0| var in, chain; in = LFSaw.ar(500, 0, Decay2.ar(Impulse.ar(2, 0, 0.2), 0.01, 2)); chai ...

  6. 16_Playbuf Doc

    ... nent reuse (the oop mantra). ( // read a soundfile from disk b = Buffer.read(s, ExampleFiles.child); // a samplePlayer in mono ... one channel only SynthDef("aMonoSamplePlayer", { arg bus = 0, bufnum = 0, rateScale = 1; Out.ar( bus, PlayBuf ...

  7. PV_MagDiv Doc

    ... inA, chainB); Out.ar(out, 0.5 * IFFT(chain).dup); }).play; ) c = Buffer.read(s, ExampleFiles.child); ( SynthDef("help-magMul2", { |out = 0, soundBufnum = 0| var inA, chainA, inB, chainB, chain; inA = LFSaw.ar([100, 150], 0, 0.2); inB = Play ...

  8. PV_MagMul Doc

    ... Instance Methods Inherited instance methods Examples s.boot; b = Buffer.read(s, ExampleFiles.child); ( SynthDef("help-magMul", { |out = 0| var inA, chainA, inB, chainB, chain; inA = WhiteNoise.ar(0.2); inB = LFSaw.ar(100, 0, 0.2); chainA = ...

  9. PV_CopyPhase Doc

    ... Instance Methods Inherited instance methods Examples s.boot; b = Buffer.read(s, ExampleFiles.child); ( SynthDef("help-copyPhase", { |out = 0| var inA, chainA, inB, chainB, chain; inA = SinOsc.ar(SinOsc.kr(SinOsc.kr(0.08, 0, 6, 6.2).squared, ...

  10. VLayout Doc

    ... (VLayout(*a), VLayout(*b)); ) ( w = Window().front; f = { SoundFileView(w).load(ExampleFiles.child, 1e5.rand, 1e4) }; a = { HLayout(VLayout(*{ Slider(w, Rect(0, 0, 230, 20)).minSize_(Size(130, 20)) } ! 3), f.value) } ! 4; w.layout = HLayout ...

prev 1 2 3 4 5 6 7 8 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow