-
... n explicit creation of control names see: NamedControl , Control // example a = SynthDescLib .global; // the global library of SynthDescs x = a.synthDescs.at( \default ); // get the default SynthDesc x.controls.do { |ctl| [ \name , ctl.name ...
-
... ) See also: 00_Introductory tutorial SynthDefのプロパティに関する議論を続けるために、次を評価してみて下さい。 ( SynthDescLib.global.read; SynthDescLib.global.browse; ) ⧉ ✔ そして、それぞれのシンセのためのコントロールをリストと表示するボックスに注目して下さい。 /////////////////////////////////////////////////////// ...
-
... gs); } initAbstractSVoice {|grp, args| var name= this.defName; forkIfNeeded{ if(SynthDescLib.at(name).isNil, { this.def.add; grp.server.sync; }); syn= Synth(name, args, grp); }; } *type {^this.subclassResponsibility(thisMethod)} //also synt ...
-
... ctionary superclass: Penvir *new(dict, keyPattern, repeats, default) // example SynthDescLib .read; ( e = ( a: Pbind ( \dur , 0.1, \degree , Pseq ([0, 5, 4, 3, 2])), b: Pbind ( \dur , 0.06, \degree , Pseq ([7, 8, 7, 8])), c: Pbind ( \dur , ...
-
... { | synthName, metaKey = \specs, useGlobalSpecs = true | var desc, spec; desc = SynthDescLib.global[synthName.asSymbol]; spec = desc.tryPerform(\metadata).tryPerform(\at, metaKey) ?? { useGlobalSpecs.if { Spec.specs[this] } }; spec.isNil.if ...
-
... argItem.patternpairs.pairsDo{|key, pat| var desc; if(key==\instrument, { desc= SynthDescLib.global.synthDescs[pat]; if(desc.notNil, { channels= desc.outputs[0].numberOfChannels;//is this correct? rate= desc.outputs[0].rate; //is this corre ...
-
... mine which bindings to pass to the server. Synthdefs that have been stored in a SynthDescLib ("synth description library") construct the msgFunc automatically. The default event looks up the instrument name in a SynthDescLib of your choosin ...
-
... .asKeyValuePairs++[\sController_bus, bus]; name= this.defName; forkIfNeeded{ if(SynthDescLib.at(name).isNil, { this.def.add; target.server.sync; }); syn= Synth(name, args, target); }; } defName { ^(this.class.name++bus.numChannels).asSymbol ...
-
... play; (instrument: \able).play; (instrument: \bubble).play; r.postExamples; b = SynthDescLib.global.synthDescs[\bla] SynthDescLib.global.synthDescs.do { |sd| sd.exampleEventString.postln }; ""; */
-
... var isPlaying; SynthDef(\xxx_test, { |freq, zzzz, gate = 1| }).add; this.assert(SynthDescLib.global.at(\xxx_test).canFreeSynth.not, "SynthDesc detects that Synth can't free itself"); SynthDef(\xxx_test, { |freq, zzzz, gate = 1| EnvGen.kr(En ...