Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    //Instance of SamplerDB is a database of multiple Sampler //The data structure of SamplerDB Instance is a Dictionary in this format // [ \Sampler_Name -> Sampler_Instance, \Sampler_Name -> Sampler_Instance, ...] SamplerDB{ classvar < dbs; / ...

  2. RedLoop Quark

    //redFrik RedLoop { var sampler, magic; *new {|path, amp= 1, out= 0, group| ^super.new.initRedLoop(path, amp, out, group); } initRedLoop {|path, amp, out, group| magic= 999999.9.rand.asSymbol; Server.default.waitForBoot{ sampler= this.prTyp ...

  3. load_action_tests Quark

    //Headless integration tests for SSampler.load's action semantics. //Boots a real scsynth and loads real files: action must fire exactly ONCE, //only after every file's buffers are loaded AND the sampler's post-processing //(averages, kd-tr ...

  4. extInteger Quark

    ... fft helper */ // the receiver is fft.real.size or fft.imag.size fftFreqs { arg sampleRate; var fftHalfSize, nyquist, step; this.isPowerOfTwo.if({ fftHalfSize = this / 2; nyquist = (sampleRate == nil).if({ 1 // use normalized freq }, { samp ...

  5. SFPlay Quark

    ... rttime = 0, outbus = 0, server; var c, soundfile, info, numChannels, numFrames, sampleRate, duration; c = Condition.new; server = server ? Server.default; path.notNil.if({soundfile = path; info = SoundFile.new; info.openRead(soundfile); num ...

  6. Maths2 Quark

    ... { *ar {|rise=0.1, fall=0.1, linExp = 0.5, loop = 1, plugged = 0, trig = 0| var sampleRate = SampleRate.ir, isExp, isPlugged; var riseIn = rise.clip(0.0001,10*60), fallIn = fall.clip(0.0001,10*60); var freq = 1/(riseIn+fallIn), width=riseIn ...

  7. Bstore Quark

    ... ], [ 'alloc', 'alloc0', [ 44100, 2 ] ], [ 'alloc', 'alloc1', [ 44100, 2 ] ], [ 'sampler', 'audio', 'str' ], [ 'sampler', 'audio', 'hhk' ], [ 'sampler', 'audio', 'tom' ] ] ], [ 'test2', [ [ 'play', 'audio', 'marilyn1' ], [ 'play', 'audio', ' ...

  8. sampleEfx Quark

    ... 1.0, windowSize=0.1, overlaps=10, windowRandRatio = 0.1, windowEnv,mul=1.0; var sampleRate, bufSize,amp,bufBySR; var offset,rateScale,timeScale; sampleRate = sample.sampleRateKr; bufSize = sample.bufSamplesKr; rateScale = sample.bufRateScal ...

  9. DataFilter Quark

    //--abstract class for filtering OpenBCI data DataFilter { var <type, <sampleRate; var <filt_b, <filt_a; var nconst, clear, prev_x, prev_y; var dataN, prev_xN, prev_yN, kN; *keys {^this.constants.keys.asArray.sort} *new {|type, sampleRate, ...

  10. extFreqSpectrum Quark

    ... { *hoaProx { |size, radius = (AtkHoa.refRadius), order = (AtkHoa.defaultOrder), sampleRate = nil, speedOfSound = (AtkHoa.speedOfSound)| var hoaOrder = order.asHoaOrder; var freqs, complexCoeffs, magnitudes, phases; var rfftsize; if(size.isP ...

1 2 3 4 5 6 7 8 9 10 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow