Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... similar to PitchShiftPA // beware of feedback! s.boot; ( b = Buffer.alloc(s, s.sampleRate.asInteger * 1, 1); x = { var in = SoundIn.ar(0); var freq, hasFreq, phase; #freq, hasFreq = Pitch.kr(in); phase = PitchShiftPAWr.ar(in, b); PitchShif ...

  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. Non-Realtime-Synthesis Doc

    ... a = Score(...); a.recordNRT( oscFilePath: , outputFilePath: , inputFilePath: , sampleRate: , headerFormat: , sampleFormat: , options: , completionString: , duration: , action: ); ) ⧉ ✔ oscFilePath Recommended to omit (leave as nil ). Score ...

  4. SmoothDecimator Doc

    ... rs'>Filters SmoothDecimator : UGen : AbstractFunction : Object Extension Smooth samplerate and bitrate reduction Source: DistortionPlugins.sc See also: CrossoverDistortion , Decimator , SineShaper , Disintegrator Description Decimates (redu ...

  5. FincoSprottM Plugin

    ... oSprottS] An example using just the x value: { FincoSprottM .ar( MouseX .kr(20, SampleRate .ir)) * 0.3 }.play(s); An example utilising the three different outputs as pitch, PWM and pan values (respectively): ( { # x,y,z = FincoSprottM .ar( ...

  6. 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 ...

  7. 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 ...

  8. BufRateScale Doc

    ... ase : UGen : AbstractFunction : Object Buffer rate scaling in respect to server samplerate. Source: InfoUGens.sc See also: BufChannels , BufDur , BufFrames , BufSampleRate , BufSamples Description Returns a ratio by which the playback of a ...

  9. Ringz Doc

    ... gz.ar(exc, 440, decaytime: 0.2), rms = sqrt(Integrator.ar(sig.squared) * (0.2 / SampleRate.ir)), end = DetectSilence.ar(sig, doneAction: 2); rms.poll(end); Silent.ar(1) }.play; ) ⧉ ✔ At 44.1 kHz, this prints a RMS amplitude of 1.0758. At 88 ...

  10. 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 + ...

prev 31 32 33 34 35 36 37 38 39 40 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow