Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (3519) Code (203) Doc (848) Help (193) Quark (2225) Plugin (50) SCDoc ↗ Forum ↗ Google ↗
  1. CondVar Doc

    ... ns. ( var full = CondVar(), empty = CondVar(); var queue = Array(); var maxQueueSize = 5; // The producer and consumer will wait between tasks for a duration // somewhere in these ranges. Over time, you'll see the queue grow // and shrink b ...

  2. SuperDirtUGens Quark

    ... svar <>defaultPanningFunction; *initClass { // signals is an array of arbitrary size defaultPanningFunction = #{ | signals, numChannels, pan, mul | var channels, inNumChannels; // NOTE: later on, we should move these special cases to one si ...

  3. Show a chord in music notation in a sclang window by 56228375 (56228375) Code

    ... engraver'); // make sure the produced svg file is cropped; use a large staff size for sufficient resolution // use a hack to make lilypond crop the svg file since Fosc doesn't expose lilypond command line arguments, and I didn't find an ...

  4. EmacsGUI.help Help

    ... efix, suffix p.front; t = EmacsText( p, "hello", 30 ); // args: buffer, string, size, align p.front; p.newline; t = EmacsText( p, "helloooo", 30, \right ); // args: buffer, string, size, align p.newline; e = EmacsEditableField( p, "edit fie ...

  5. core-synth-hacks-02 Quark

    ... Scratching through samples: */ ( // write variants for different sample buffer sizes (1..SuperDirt.maxSampleNumChannels).do { |sampleNumChannels| var name = format("dirt_sample_%_%", sampleNumChannels, ~dirt.numChannels); SynthDef(name, { ...

  6. GUI Quark

    ... SoundFileView(win, Rect(15, 80, win.bounds.width-30, win.bounds.height-100)) .resize_(5) .gridResolution_(soundfile.hoptime) .gridOn_(false) .soundfile_(SoundFile.openRead(filename)).read(closeFile: true).refresh .background_(Color(1,1,1)) ...

  7. SpectrogramWindow Doc

    ... ogramWindow shows the spectrum of a sound of a specified audio bus. It can be resized. By clicking on the view, a crosshair cursor appears that indicates the frequency underneith. Panel commands: Power Turns the scope on and off. BusIn The ...

  8. BufEnvir Quark

    BufEnvir : EnvironmentRedirect { var <server; var <>fftsize = 2048; *new { arg server; ^super.new.initServer(server) } initServer { arg s; server = s } makeBuffer { ^Buffer.new(server, 0, 1) } updateInfo { envir.do(_.updateInfo) } clear { a ...

  9. MCLDFFTUGens Plugin

    ... e UGen knows how many freqs to expect ^this.multiNew('control', chain, cutfreqs.size, square, scalemode, *cutfreqs) } init { arg ... theInputs; inputs = theInputs; numbands = inputs[1] + 1; ^this.initOutputs(numbands, rate); } *categories { ...

  10. WFSPositionTracker Quark

    ... Units = pannerUnits.add( unit ); typeDict[ i ] = \plane; }; }); if( pannerUnits.size > 0 ) { repliers = pannerUnits.collect({ |unit, i| var synth, unitIndex; synth = unit.synths.last; // prepan synth is always last synth unitIndex = uchain. ...

prev 151 152 153 154 155 156 157 158 159 160 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow