-
... ik RedLZ77 { classvar <>window= 4096, <>length= 32; *compress {|input| var out= List[], i= 0, len, off, sub, j; while({i<input.size}, { len= length; while({ sub= input.copyRange(i, (i+len-1).min(input.size-1)); len= len.min(sub.size); off= ...
-
... ty See also: Demand , TDuty Description A value is demanded of each UGen in the list and output according to a stream of duration values. The unit generators in the list should be 'demand' rate. When there is a trigger at the reset input, t ...
-
... ar num = 1000; // less than s.options.numBuffers var t0 = Main.elapsedTime; var listOfTexts = Object.allSubclasses.reject(_.isMetaClass).keep(num).collect { |cl| cl.name.asString }; listOfTexts.do { |text, i| var recstr = "-o %/%.aiff".form ...
-
... r".postln; }; buttons.do { |but, i| var name, kind, funcOrLevel, setupFunc; var list = specs[i]; but.visible_(list.notNil); if (list.notNil) { #name, kind, funcOrLevel, setupFunc = list.asArray; kind = kind ? \slotCtl; if (kind == \slotCtl) ...
-
... zyDictionary Description A dictionary that keeps objects with the same key in a list and returns randomly one of them. Part of MathLib , a diverse library of mathematical functions. Class Methods Inherited class methods Instance Methods . p ...
-
... lterVals{|sampleRate, numSplits| var filtVals; if(sampleRate<50000){ filtVals = List.fill(8, {|i| 1/2**(i+1)}).dup.flatten.add(0).add(1).sort.clump(2); }{ filtVals = List.fill(8, {|i| 1/4**(i+1)}).dup.flatten.add(0).add(1).sort.clump(2); }; ...
-
... r = -1, <>demandIndexOffset = 0, <>lastDemandIndexOffset = 0, <>inputCheck, <>isListening = false, <>isPlaying = false, <>isRunning = false, <>isPHelpSynthPlaying = false, <>hasJustStartedWithPause = false, <>granularity = 200, // time grai ...
-
... e .ar(1.95, 0.1), freq, 0.05) }.play(s); x.set( \freq , 1500); x.free; Argument lists in node messages Several node messages accept lists of values to map onto the controls of Synth nodes, as in some of the examples already given: s.sendMsg ...
-
... t only); rate = 1/myRate; }); if(isRunning.not, {nil}, {rate}); }); } decide {| list | var selection, min, priorities, beat, data, selection2; var priors2Use, finalData, tmpArr; priorities = list[1].flop[0]; data = list[1]; // all events pr ...
-
Understanding Streams, Patterns and Events - Part 3 ListPatterns ListPatterns are Patterns that iterate over arrays of objects in some fashion. All ListPatterns have in common the instance variables list and repeats. The list variable is so ...