Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... time, Pkey(\delta) / Pfunc { thisThread.clock.tempo }, ⧉ ✔ ( b = Buffer.read(s, ExampleFiles.child); SynthDef(\stretchedFragments, { |out, bufnum, start, time = 1, stretch = 1, amp = 1, attack = 0.01, decay = 0.05| var sig = PlayBuf.ar(1, b ...

  2. Convolution2 Doc

    ... r this trigger, the change will take effect. // next example b = Buffer.read(s, ExampleFiles.child); ( { var input, kernel; input = SoundIn.ar(0); // must have power of two framesize Out.ar(0, Convolution2.ar(input, b.bufnum, 0, 512, 0.5)); ...

  3. TGrains Doc

    ... Instance Methods Inherited instance methods Examples s.boot; b = Buffer.read(s, ExampleFiles.child); ( { var trate, dur, rate; trate = MouseY.kr(2, 200, 1); dur = 4 / trate; rate = Dseq([10, 1, 1, 0.5, 0.5, 0.2, 0.1], inf); TGrains.ar(2, Im ...

  4. Non-Realtime-Synthesis Doc

    ... sing here is almost instantaneous. ( var server, inputFile = SoundFile.openRead(ExampleFiles.child); inputFile.close; // doesn't need to stay open; we just need the stats server = Server(\nrt, options: ServerOptions.new .numOutputBusChannel ...

  5. MFCC Doc

    ... bands by 1 and summing // assumes hop of half fftsize, fine d = Buffer.read(s, ExampleFiles.child); ( x = { var in, fft, array; // in = PlayBuf.ar(1, d, BufRateScale.kr(d), 1, 0, 1); in = SoundIn.ar(0); fft = FFT(LocalBuf(1024), in); // fo ...

  6. BeatTrack2 Doc

    ... oad something useful for testing, like a one minute pop song b = Buffer.read(s, ExampleFiles.child); // very feature dependent ( SynthDef(\help_beattrack2_1, { |out, vol = 1.0, beepvol = 1.0, lock = 0, bufnum| var in, kbus; var trackb, trac ...

  7. Pproto Doc

    ... a = Pproto({ ~newgroup = (type: \group).yield; ~sf1 = (type: \allocRead, path: ExampleFiles.apollo11).yield; }, Pbind(*[ instrument: \help_playbuf, dur: Pseg([0, 0, 0.25, 0.5, 0.75, 1], 10).linexp(0, 1, 0.01, 2), legato: 4, startPos: Pn(Ps ...

  8. Sync-Async Doc

    ... .load(s); y = Synth.basicNew("help-Buffer"); // not sent yet b = Buffer.read(s, ExampleFiles.child, action: { arg buffer; // synth send its s_new msg to follow // after the buffer read completes s.sendBundle(nil, y.newMsg(s,[\bufnum,buffer] ...

  9. recursive_phrasing Doc

    ... rom, to, sustain) * BufFrames.kr(bufnum) ) * env ) }).add; ) b = Buffer.read(s, ExampleFiles.child) ( Pdef(\poch, { arg sustain=1.0, from=0.0, to=1.0, n=3; var step; sustain = sustain.value; step = (to - from) / n; Pbind( \instrument, \play ...

  10. Plotter Doc

    ... 357]) * SinOsc.ar([400, 476]) * 0.2 }.plot; // Buffer { var b = Buffer.read(s, ExampleFiles.sinedPink); s.sync; b.plot }.fork(AppClock); // Env Env.perc(0.4, 0.6).plot; ⧉ ✔ plotGraph (n, from, to, ...) { |x| sin(x) }.plotGraph(300, 0, 2*pi ...

prev 1 2 3 4 5 6 7 8 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow