Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... 4757,6727,9514,13454]; // Hz a = f.asBark.criticalBW; // x = log frequency, y = size of critical bandwidth: f.collect{ |x,i| x + a[i]}.plot; // in hertz f.collect{ |x,i| x.cents(x+a[i]).abs}.plot; // in cents b = Array .series(60, 0, 0.2).b ...

  2. Smooth Clipping and Folding Quark

    ... moothFoldS .ar( SinOsc .ar(50) * 10, foldRange: 0.3), // folding with different sizes of border ranges SmoothFoldS2 .ar( SinOsc .ar(50) * 10, foldRangeLo: 0.5, foldRangeHi: 0.2) ] }.plot(1/50) Ex. 2: Generating rich spectra by folding sine ...

  3. LoudnessModel Doc

    ... namic(440); ⧉ ✔ For arrays of amps and freqs, you can use an array (of the same size as the amp array) for the freq arg: // a series o frequencies in relation to 0.5 amp // (like the representation in musical notation of an equal loudness c ...

  4. RedDiskInPlayer Quark

    ... dFiles= []; win= Window( this.class.name, Rect(500, 200, w+10, argNumItems*(fnt.size+2)+150), false ); win.alpha_(0.9); win.view.background= bgcol; win.view.layout= VLayout( HLayout( volNumView= NumberBox().fixedWidth_(w*0.25) .background_( ...

  5. Buffer Doc

    ... in the server app before they can hold values. (At boot time all buffers have a size of 0.) Server -side buffers are identified by number, starting from 0. When using Buffer objects, buffer numbers are automatically allocated from the Serve ...

  6. CutStream3 Quark

    ... analysis with stream buffer playback. //An offset at a given beat location and size is used to find all recent events with start times (quantised) within that cut. //since no wraparound on absolute time tags, a reprieve from some of the co ...

  7. MIDISliderWindow Quark

    ... s.actionDict = (); } *new1 {arg nC = 16, busOffset = 0, initValues = [], historySize = 1, maxMIDIVal = 127, inAction, windowName, windowOffset = Point(540,10), windowH = 290; var midiValues, busMessage, fullAction, midiSliders, midiFunc, mi ...

  8. that-system-functions Quark

    ... messageTrig, cmdName, valuesInChannel.flat, i); } }; numChannels = allChannels.size; }); // receive OSC messages for the cmdName OSCdef(uniqueName, { |msg| var values = msg[3..]; var channelIndex = msg[2]; var event = (); if(multichannelEx ...

  9. ChannelStrip by meunierfabien (meunier.fabien) Code

    ... 'addToTail'); channels = Array.newClear(4); // number of channels channels.size.do { arg i; channels[i] = Bus.audio(s, 2); currentEnvironment.put((\channel ++ i).asSymbol, Synth(\ChannelStrip, [\in, channels[i], \out, masterBus]) ...

  10. Freesound Quark

    ... d({|res, pid| var obj = nil; var str = File(filePath,"r").readAllString; if(str.size > 0){ obj = objClass.new(Freesound.parseFunc.value(str)); }{"ERROR: received empty response from Freesound".postln}; action.value(obj); }); } *retrieve{|ur ...

prev 311 312 313 314 315 316 317 318 319 320 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow