-
... 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 ...
-
... 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 ...
-
... 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 ...
-
... 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_( ...
-
... 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 ...
-
... 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 ...
-
... 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 ...
-
... 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 ...
-
... '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]) ...
-
... 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 ...