Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... ted instance methods Examples pvcalc // a sound file c.free; c = Buffer.read(s, ExampleFiles.child); ( { var in, chain, v; in = PlayBuf.ar(1, c, BufRateScale.kr(c), loop: 1); chain = FFT(LocalBuf(1024), in); chain = chain.pvcalc(1024, { |ma ...

  2. PV_BinShift Doc

    ... stance Methods Inherited instance methods Examples s.boot; ( c = Buffer.read(s, ExampleFiles.child); ) ( SynthDef("help-binStretch", { |out = 0| var in, chain; in = LFSaw.ar(200, 0, 0.2); chain = FFT(LocalBuf(2048), in); chain = PV_BinShift ...

  3. Resize Doc

    ... ) .action_({ arg sbs; a.resize_(sbs.value+1); }); f = SoundFile.new; f.openRead(ExampleFiles.child); a = SoundFileView(w, Rect(10,40, 700, 180)) .soundfile_(f) .readWithTask(0, f.numFrames, showProgress: false ) .resize_(1); w.front; ) ⧉ ✔ ...

  4. Sweep Doc

    ... 500, 0, 0.2) }.play; ) // using sweep to index into a buffer b = Buffer.read(s, ExampleFiles.child); ( { var trig; trig = Impulse.kr(MouseX.kr(0.5, 10, 1)); BufRd.ar(1, b, Sweep.ar(trig, BufSampleRate.ir(0))) }.play; ) // backwards, variabl ...

  5. PG_Cookbook05_Using_Samples Doc

    ... urce file that loops in a musically sensible way. For this example, we will use ExampleFiles.child from ExampleFiles because it's readily available. Empirically, we can find that the segment from 0.404561 to 3.185917 seconds produces a rhyt ...

  6. PartConv Doc

    ... data anymore, just needed spectral version }.fork; } ) ~target = Buffer.read(s, ExampleFiles.child); ( { var input = PlayBuf.ar(1, ~target, loop: 1); PartConv.ar(input, ~fftsize, ~irspectrum.bufnum, 0.5) }.play ) // convolve with live input ...

  7. GrainBuf Doc

    ... ds Inherited instance methods Examples s.boot; ( var winenv; b = Buffer.read(s, ExampleFiles.apollo11); // a custom envelope winenv = Env([0, 1, 0], [0.5, 0.5], [8, -8]); z = Buffer.sendCollection(s, winenv.discretize, 1); SynthDef(\buf_gra ...

  8. Loudness Doc

    ... stance methods Examples // assumes hop of half fftsize, fine d = Buffer.read(s, ExampleFiles.child); // analyse loudness and poll result ( { var in = PlayBuf.ar(1, d, BufRateScale.kr(d), 1, 0, 1); var chain = FFT(LocalBuf(1024).clear, in); ...

  9. BufRd Doc

    ... = Server.local; // note: not *that* columbia, the first one b = Buffer.read(s, ExampleFiles.child); ) // use any AUDIO rate ugen as an index generator { BufRd.ar(1, b, SinOsc.ar(0.1) * BufFrames.ir(b)) }.play; { BufRd.ar(1, b, LFNoise1.ar( ...

  10. PG_06f_Server_Control Doc

    ... es that are worth reading. Here is just one simple case that loads the standard ExampleFiles.child sound file and plays fragments from it. ( SynthDef(\playbuf, { |bufnum, start, dur = 1, amp = 0.2, out| var sig = PlayBuf.ar(1, bufnum, BufRa ...

prev 1 2 3 4 5 6 7 8 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow