Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (90) Code (10) Doc (32) Help (10) Quark (37) Plugin (1) SCDoc ↗ Forum ↗ Google ↗
  1. BufDur Help

    BufDur current duration of soundfile in buffer superclass: BufInfoUGenBase returns the current duration of soundfile *kr(bufnum) *ir(bufnum) the .ir method is not the safest choice. Since a buffer can be reallocated at any time, using .ir w ...

  2. TGrains Help

    ... .5, 0.2, 0.1], inf); TGrains .ar(2, Impulse .ar(trate), b, rate , MouseX .kr(0, BufDur .kr(b)), dur, Dseq([-1, 1], inf), 0.1, 2); }.scope(zoom: 4); ) ( { var b = 10, trate, dur, clk, pos, pan; trate = MouseY .kr(8,120,1); dur = 12 / trate; ...

  3. 12_Playbuf Help

    ... .ar( 1, bufnum, BufRateScale .kr(bufnum) * rateScale ) * EnvGen .kr( Env .sine( BufDur .kr(bufnum))) ) }).load(s); ) ( // test the synthdef ... does it work? (yes, it's fine. it plays on the left channel) Synth ( "aMonoSamplePlayer" , [ \bu ...

  4. 12 Help

    ... .ar( 1, bufnum, BufRateScale .kr(bufnum) * rateScale ) * EnvGen .kr( Env .sine( BufDur .kr(bufnum))) ) }).load(s); ) ( // SynthDef をテストする ... 動く?(はい、大丈夫。左チャンネルで再生する。) Synth ( "aMonoSamplePlayer" , [ \bus , 0, \bufNum , b]); ) ( // コンポーネントの再 ...

  5. Convolution2 Help

    ... nds. Right after the recording ( trigPeriod gets delayed by the buffer duration BufDur , using the TDelay UGen) the two convolution UGens alternatingly update their kernels (using two triggers convTrigs ). At the frequency of the kernel upd ...

  6. UGens Help

    ... g4 round scaleneg sqrdif sqrsum sumsqr thresh trunc wrap2 InfoUGens BufChannels BufDur BufFrames BufRateScale BufSampleRate NumRunningSynths SampleDur SampleRate Synth-Controlling-UGens see overview: Synth-Controlling-UGens Control DetectSi ...

  7. BufRd Help

    ... ) * BufFrames .ir(0)) }.play; // original duration { BufRd .ar(1, 0, LFSaw .ar( BufDur .ir(0).reciprocal).range(0, BufFrames .ir(0)) ) }.play; //use a phasor index into the file { BufRd .ar(1, 0, Phasor .ar(0, BufRateScale .kr(0), 0, BufFra ...

  8. Tour_of_UGens Help

    ... 200,1); dur = 4 / trate; TGrains .ar(2, Impulse .ar(trate), b, 1, MouseX .kr(0, BufDur .kr(b)), dur, 0, 0.1, 2); }.scope(2, zoom: 4); ) ( { var trate, dur, clk, pos, pan; trate = MouseY .kr(8,120,1); dur = 12 / trate; clk = Impulse .kr(trat ...

  9. Writing_Unit_Generators Help

    ... UFRATE (unit->mRate->mBufRate) BUFRATE always returns the control rate. #define BUFDUR (unit->mRate->mBufDuration) BUFDUR is the reciprocal of the control rate. ____________________________________________________________________ Pointer al ...

  10. Buffer Help

    ... s.boot; ( SynthDef ( \help_Buffer_copy , { arg out=0, buf; Line .ar(0, 0, dur: BufDur .kr(buf), doneAction: 2); // frees itself Out .ar(out, PlayBuf .ar(1, buf)); }).add; ) ( b = Buffer .read(s, "sounds/a11wlk01.wav" ); c = Buffer .alloc(s ...

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow