Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (783) Code (80) Doc (245) Help (61) Quark (379) Plugin (18) SCDoc ↗ Forum ↗ Google ↗
  1. allesAnAlle Quark

    ... , q.numChans); // in = in.round(0.5 ** bits); // down = Latch.ar(in, Impulse.ar(SampleRate.ir / downsamp.max(2))); // // ReplaceOut.ar(0, down); // }).add; // // // only works the first time ... sorry // q.fxNames = q.fxNames ?? { SynthDesc ...

  2. DXEnvFan Quark

    ... times must be larger than the duration of a control cycle. With default values sampleRate = 44100 Hz and blockSize = 64, this equals ca. 0.00145 sec. If you go below, the fade mechanism is messed up and you get jumps and clicks. Accordingl ...

  3. WFSPreviewSynthDefs Quark

    ... -2pi * ( ( 100000 / ( rho * \distanceFilter.kr(0).cubed ) ) .clip(0,10000000) / SampleRate.ir ) ).exp ); env = UEnv.kr( extraSilence: ( ( rho / WFSBasicPan.speedOfSound ) * (1 - latencyComp) ) + 0.12 ); input = input * env; input = panner.a ...

  4. Specs Quark

    ... s var <numFrames; var <>editMode; // nil (no gui), \seconds classvar <>useServerSampleRate = true; // override stored samplerate for duration display *new { |numChannels = 1, numFrames, editMode| ^super.newCopyArgs( numChannels, numFrames, ...

  5. plusSpec-makeView Quark

    ... applySmoothSkin .action_({ |vw| vws[ \val ].numFrames = (vw.value * vws[ \val ].sampleRate).asInteger; action.value( vw, vws[ \val ] ); } ).resize_(5) .fps_( 1000 ) .clipLo_( 128 / 44100 ) .clipHi_( 60 * 60 ); vws[ \updateViews ] = { vws[ \ ...

  6. ZeroXBufRd Quark

    ... ion: 2); }.play ) // this half waveset clearly shows the effect // (tested with samplerate 44100) s.scope x = { ZeroXBufRd .ar(b, z, nil , 220, rate: 0.1) * 2 }.play // adjust zeros, also works with arrays of Buffers // you can apply it whi ...

  7. Core_01 Quark

    ... ames = sf.numFrames.asInteger; chans = sf.numChannels.asInteger.max(1); sr = sf.sampleRate.asFloat; raw = FloatArray.newClear(frames * chans); sf.readData(raw); sf.close; mono = FloatArray.newClear(frames); frames.do { |i| mono[i] = raw[(i ...

  8. tests Quark

    ... sg]) }; }; z = Server(\nrt, options: ServerOptions.new.numOutputBusChannels_(2).sampleRate_(44100)); a = Score.new; protect { a.add([0, ['/d_recv', SynthDescLib.at(\default).def.asBytes]]); x = Syn.basicNew(\default, [ freq: Plug { XLine.kr ...

  9. Core_05 Quark

    ... ioBuf = buf; loadedSampleMeta[\dur] = buf.duration; loadedSampleMeta[\sr] = buf.sampleRate; loadedSampleMeta[\frames] = buf.numFrames; loadedSampleMeta[\channels] = buf.numChannels; refreshInfo.(if(timeSlider.notNil) { timeSlider.value ? 0. ...

prev 31 32 33 34 35 36 37 38

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow