-
... r <>presets; var <>presetManager; *initClass { Class.initClassTree(Spec); all = IdentityDictionary[]; specDict = ( \freq: FreqSpec( 20, 20000, \exp, 0, 440 ).asSpec, \rq: [ 0.001, 10, \exp, 0.01, 0.707 ].asSpec, \rs: [ 0.6, 10, \exp, 0.1, 1 ...
-
... ".postln; nameStrings.do { |str| str.postln; }; "".postln; } *initClass { all = IdentityDictionary.new; // for symplectic integration it's a bit more efficient at SynthDef compile time // to pass Functions in the arrays as - in contrast to ...
-
... // holder for all buffers // var <unit, <unitArgName; *initClass { allBuffers = IdentityDictionary(); allUnits = IdentityDictionary(); } *new{ |numFrames, numChannels = 1, sampleRate = 44100| ^super.newCopyArgs(numFrames, numChannels, sampl ...
-
... ctPbindFx / miSC_getFxOrderData ~fxOrder = ~fxOrder.asArray; fxOrderPositions = IdentityDictionary(); fxOrderPositions.put(0, 0); ~fxOrder.do { |x,i| fxOrderPositions.put(x, i+1) }; fxNum = ~fxOrder.size; withFxs = ((fxNum == 1) && (~fxOrde ...
-
... out.add(name).add(value) }); }); ^out } makeInitArgDict { |initArgs| var out = IdentityDictionary.new; initArgs.pairsDo({ |name, value| out.put(name, value) }); ^out } initArgAt { |name| ^initArgDict[name.asSymbol] } controlNames { var des ...
-
... ath: " ++ algaSynthDefPath).error; }); } *initAlgaPlay { var alreadyDonePairs = IdentityDictionary.new; var percentageCounter = 0.0; "\n(1/6) Generating the alga_play definitions...".postln; algaMaxIO.do({ | i | var arrayOfZeros_in, arrayOf ...
-
... drumThing: (buf, channel, defaults, postDefaults...) loadDrums: { var parmMap = IdentityDictionary.new, volAdjust = if(~drumID.size > 1) { 3.dbamp } { 1 }, path; ~drums = ~drumID.collect { |key, i| var thing = ~available[key], chan = MixerC ...
-
+ SSampler { *initClass{ allSampler = IdentityDictionary.new; defaultLoadingServer = Server.default; //from Halim Beere and Henrich Taube StartUp.add({ SynthDef(\ssplaybuf1, {arg buf, rate = 1, dur = 1, amp = 1, pan = 0, bend=nil, out = 0, ...
-
... PriorityQueue.new, // faster than storing indices in an array minIndicesDict = IdentityDictionary.new; offsets.isNil.if { offsets = 0!(items.size) }; // if Sieve is passed adjust offset items.do { |item, i| item.isKindOf(Sieve).if { // set ...
-
... // holder for all buffers // var <unit, <unitArgName; *initClass { allBuffers = IdentityDictionary(); allUnits = IdentityDictionary(); } *new{ |numFrames, numChannels = 1, sampleRate = 44100| ^super.newCopyArgs(numFrames, numChannels, sampl ...