-
... elsRate)*t, '/levels', p); ReplaceOut.ar(out, o*gate.lag(0.05)); }, metadata: ( specs: ( \out: \audiobus.asSpec, \lag: ControlSpec(0, 99, 'lin', 0, 0.05), \levelsRate: ControlSpec(0, 60, \lin, 0, 15), \bal: \bipolar.asSpec, \amp: ControlSpe ...
-
Library.put(\menuItems,'introspection','ClassBrowser',{ Object.gui }); Library.put(\menuItems,\test,'listen to audio busses',{ BussesTool.new(Server.default) }); Library.put(\menuItems,\introspection,\classfinder,{ var close=true; Sheet.get ...
-
... ode( it ); } }; setters.do{ |it| if ( nodes[it].notNil ){ this.addExpected( it, spec.findNode( it ), nodes[it].size, nodes[it].type ); }{ this.addExpected( it, spec.findNode( it ) ); }; }; }{ "Unregistered as client at DataNetwork".postln; ...
-
... .collect{ |x| putStrLn(string++" : "++x) }.reactimate; } //Utilities mapWith { |spec| ^this.collect{ |v| spec.map( v ) } } selectSome { ^this.select(_.isDefined).collect(_.get) } storePrevious { |init = 0.0| ^this.inject( Tuple2(init,init), ...
-
RadiationPatternSpec : Spec { var <>default; *new { |default = #[0,1,0,1]| ^super.newCopyArgs( default ); } *testObject { |obj| ^(obj.isKindOf( ArrayedCollection ) ) && (obj.size == 4); } constrain { |value| value = value.asCollection; if( ...
-
... yout.addSpanning(togglePlay, 0, 1, rowSpan: 2); sliderVolume = SCMSliderView() .spec_(\db.asSpec) .value_(volume) .labelText_(patternBoxView.patternBoxName) .action_({ |sender | this.onSliderVolumeChanged(sender); }) .actionTextChanged_({ | ...
-
... ^paramsHiLo; } scalePointLists { // this is the envelope sent to the Synth var spec, yloclists; yloclists = pointlists.collect({arg pointlist, i; pointlist.collect({arg point; point.y}) }); //[\paramshilo, paramsHiLo, \controls, controls]. ...
-
... l[\clients].add(object); coll[\lastChange] = SystemClock.seconds; } *registerOutSpec { |object, function, rate, numChannels| var coll = this.findCollFor(object, function); if(coll.isNil) { "Can't register output spec for non-registered func ...
-
... these can be useful for testing that code works // on various conditions, e.g. specific platforms: NTMI.hasGui = false; // headless mode, e.g. for raspi or bela NTMI.isPi = true // simulate default raspi OS account NTMI.isPatch = false; // ...
-
... .fixedWidth_(50).string_("wtPos"), posSlider = LayoutValueSlider( initValue: 0, spec: [0, model.tables.size - 1.001] ) ), HLayout( StaticText() .align_(\center).fixedWidth_(50).string_("freq"), freqSlider = LayoutValueSlider( initValue: 440 ...