Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (239) Code (15) Doc (75) Help (22) Quark (121) Plugin (6) SCDoc ↗ Forum ↗ Google ↗
  1. Core_01 Quark

    ... .0; ( mag: ((re * re) + (im * im)).sqrt, phase: atan2(im, re) ) }; ~findSpectralPeaksV541 = { |sig, start, fftSize, sr, minFreq, maxFreq, maxPeaks| var spec, binMin, binMax, raw, peaks; spec = ~fftComplexFrameV541.(sig, start, fftSize); bin ...

  2. ATSAnalyzer Quark

    ... umber of partials kept (sorted by strength). nil = keep all var <>sortMode; // \peak (default), \energy, or \none — how to rank partials var peakDetector; var peakTracker; var result; // Z354Sound result var cosTableCache; // Cached FFT cos ...

  3. bendenv_align_tests Quark

    // Automated tests for bendenv peak alignment (cumulative-integral inversion). // Run headless: sclang Testcode/tests/bendenv_align_tests.scd // Prints TESTS_PASSED or TESTS_FAILED <n> and exits with matching status code. ( var failures = 0 ...

  4. ATSPeakDetector Quark

    ... ///////////////////////////////////////////////////////////////////////// // ATSPeakDetector.sc // Peak detection via parabolic interpolation on FFT magnitudes // Port of peak-detection.lisp from ATS-CUDA /////////////////////////////////// ...

  5. SensorData Quark

    ... , <>thdiv, <>maFactor1,<>maFactor2; var <crossOn, <crossIDon, <crossIDoff, <lastPeak, <peakUp, <movingAverage1, <movingAverage2, <peaks; *new{ |ltl,stl,tn,tf,td,maf| ^super.new.init(ltl,stl,tn,tf,td,maf); } init{ |ltl,stl,tn,tf,td,maf| ltle ...

  6. SamplerQuery Quark

    ... .copy.do{|voice| if(ids.includes(voice.gestureID)) { voice.gateOff }; }; }; } //Peak-normalization gain for one (sample, section): align sample peaks to //SSampler.headroomRef when the owning sampler has normalize enabled. *normGainFor {|sa ...

  7. peak Quark

    /* \peak Parametric equalizer freq: cutoff frequency. rq: the reciprocal of Q. bandwidth / cutoffFreq db: boost/cut the center frequency (in dBs). -- this is an Udef definition file part of the Unit lib default Udefs set */ Udef( \peak, { | ...

  8. peak Quark

    /* \peak Parametric equalizer freq: cutoff frequency. rq: the reciprocal of Q. bandwidth / cutoffFreq db: boost/cut the center frequency (in dBs). -- this is an Udef definition file part of the Unit lib default Udefs set */ Udef( \peak, { | ...

  9. bendenvListeningTest Quark

    // Listening test: peak alignment under bendenv (2026-07 cumulative-integral rewrite). // The automated math tests live in Testcode/tests/bendenv_align_tests.scd (run headless). // This script is for the ears: with the fix, every chord belo ...

  10. listening-mod-peak Quark

    >> blkset 1 freq peak == radpost == Ndef('mod1', {arg in=1, mul=1, add=0, lag=0; var sig, chain, freq, mag; sig = SoundIn.ar( (in-1).max(0) ); chain = FFT(LocalBuf(2048), sig); # freq, mag = FFTPeak.kr(chain); (freq.explin(20,20000,-1,1) * ...

prev 1 2 3 4 5 6 7 8 9 10 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow