-
... u are using this for i_freq spec = spec.as(ScalarSpec); // if you wanted it for patterns or instr then use a simple NumberEditor }); } rate { ^spec.rate } // \scalar or \static addToSynthDef { arg synthDef,name; synthDef.addIr(name,this.syn ...
-
... u are using this for i_freq spec = spec.as(ScalarSpec); // if you wanted it for patterns or instr then use a simple NumberEditor }); } rate { ^spec.rate } // \scalar or \static addToSynthDef { arg synthDef, name; synthDef.addIr(name, this.s ...
-
... index % buf.size; // or should this just be 0? }); currentEnvironment }; ~asNotePattern = { // Pfunc is roughly 6.7 times SLOWER than Prout Prout({ |inval| ~repeats.do { ~index = 0; while { ~index < ~sequence.size } { inval = ~sequence[~ind ...
-
... // remove them later.. // accept variuable names // resource key is ignored by pattern matching. "abcdefghijklmnopqrstuvwxyz".do { |char| events = events.add(char.asString); events = events.add({ ().addResource(\varname, char.asSymbol) }) ...
-
... he views created as its children will automatically be positioned in a specific pattern. See documentation of FlowLayout for details. w = Window.new("GUI Introduction", Rect(200,200,320,320)).front; // notice that FlowLayout refers to w.vie ...
-
... tAction)); this.resetAction; } resetAction { action = nil } flat { ^[this] } // pattern support embedInStream { |inval| this.value.embedInStream(inval); ^inval } asStream { ^Pfunc({ |inval| this.value }).asStream } // UGen support updateBus ...
-
... nction which is used to create an array of arguments for playing a synth def in patterns SynthDescLib .global.synthDescs.at( \default ).msgFunc.postcs; SynthDescs are needed by the event stream system, so when using Pbind , the instruments' ...
-
OSCMKtlDevice : MKtlDevice { classvar <protocol = \osc; classvar inversePatternDispatcher; classvar messageSizeDispatcher; var <source; // the NetAddr from which SC is receiving OSC from the source var <destination; // the addr SC should se ...
-
... ion: 2); OffsetOut .ar(out, Pan2 .ar(audio, pan, env) ); }).add; // I never use patterns. I don't get why amp doesn't work or why <> doesn't work pbind = patt; //patt <> Pbind(\instrument,\tinker,\dur,0.125) // API api = API ( 'stepper' ); ...
-
... il ] // 64-60 = 4 [ 7, 2.9, 2.9, nil ] // 67-60 = 7 To play the chord back, use patterns and streams. p = n.asStream; while { p.next.postln.notNil }; [ 60, 0.05, 3, nil ] [ 64, 0.05, 2.95, nil ] [ 67, 2.9, 2.9, nil ] nil This works also if ...