Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... rdwareBufferSize_( so.hardwareBufferSize ) .blockSize_( wfsOptions.blockSize ) .sampleRate_( wfsOptions.sampleRate ) .maxSynthDefs_(4096) .numWireBufs_(2048) .memSize_( (2**19).asInteger ) // 256MB .maxNodes_( (2**16).asInteger ); if( lb.op ...

  2. post_example Quark

    ... th package (uV) ~openbci= board; ) //note: specially when using wifi and a high samplerate, posting every data package can flood the post window and crash supercollider. ~openbci.dataAction= {|num, data, accel| if(num%10==0, {data.postln})} ...

  3. Shepard Quark

    ... pExp = 2| var masterPhase = if (slope == 0) { 0 } { A2K.kr(Phasor.ar(1, slope / SampleRate.ir, 0, 1)); }; ^this.new(num, interval, shift, ampExp, masterPhase); } } ShepardG : Shepard { // gaussian formula, adapted to use ampExp - hack! *new ...

  4. ServerOptionsGui Quark

    ... type: NumberBox, \pos: 2), \numOutputBusChannels: (\type: NumberBox, \pos: 3), \sampleRate: (\type: PopUpMenu, \pos: 4), \blockSize: (\type: NumberBox, \pos: 5), \memSize: (\type: NumberBox, \pos: 6), \numPrivateAudioBusChannels: (\type: Nu ...

  5. Segmentation Quark

    ... utputarray; outputarray=Array.fill(onsets.size,{arg i; [onsets[i],lengths[i]/(f.sampleRate),pats[i],timbre[i]]}); Post << outputarray <<nl; //? 1.0 }); threshslid = EZSlider( w, Rect( margin + viewwidth - sliderwidth, margin + viewheight + ...

  6. Hilbert Quark

    ... Uses PV_BrickWall and is therefore delayed by: (size - s.options.blockSize) / s.sampleRate Real and imaginary components can be accessed independently using HilbertWRe and HilbertWIm, respectively. */ HilbertW { *ar { |in, size = 2048, mul ...

  7. SlicedSndFile Quark

    ... ewBasic to prevent file reading path.formatGPath.quote, numFrames, numChannels, sampleRate, startFrame, endFrame, rate ] << ")" << if( this.useChannels.notNil ) { ".useChannels_(%)".format( useChannels ) } { "" } << if( sliceBuf.notNil ) { ...

  8. TheBFMixer Quark

    ... .add('dur' -> nil); dictArray[j].add('amp' -> nil); //set amp dictArray[j].add('sampleRate' -> nil); dictArray[j].add('playDur' -> nil); //duration of track after skiptime dictArray[j].add('globalStart' -> nil); dictArray[j].add('loadFile' ...

  9. XiiStratoSampler Quark

    XiiStratoSampler { classvar livebufInstances; var bufInBufferDictFlag; var <>xiigui, <>win, params; *new { arg server, channels, setting = nil; if(server.serverRunning, { ^super.new.initXiiStratoSampler(server, channels, setting); }, { XiiA ...

  10. gendyfyre Quark

    ... cutoff(0.001).kr(2); var env = Env([0] ++ levels ++ [0], samps * (timescale / s.sampleRate), curve); OffsetOut.ar(out, Pan2.ar(EnvGen.ar(env, doneAction: 2), pan, amp) ); }).add; /* (instrument: 'envGendy1').play; (instrument: 'envGendy1', ...

prev 11 12 13 14 15 16 17 18 19 20 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow