-
... at.freq( name: \inputFreq, input: Ndef(\input), callback: {|r| Ndef(\thatSound).set(\freq, r[0])} ) ) :: // Markov Chain ( // create an event in which we store our markov functions q = q ? (); // some parameters to tweak q[\timeStep] = 0.05 ...
-
... new synth after old oldSynthList[i].release; } { synth = oldSynthList[i]; synth.set(*args); }; synthList[j] = synth; argList[j] = args; }; }, beginFunc: { if(server.serverRunning.not) { Error("server not running").throw }; this.initArgument ...
-
... round hilightColor Colors, Gradients and SCImages can be used with these getter/setters. ( // random colors w = Window ( "colorful" , Rect ( 200 , 200 , 250 , 120 ) ).front.decorate; 7 .do({ |i| RoundSlider ( w, 30 @ 100 ) .knobColor_( Colo ...
-
... p; nowBuildingUMap = unit; if( bounds.isNil ) { bounds = parent.asView.bounds.insetBy(4,4); if( parent.asView.class.name == \SCScrollTopView ) { bounds.width = bounds.width - 12; }; if( parent.asView.class.name == \QScrollTopView ) { bounds ...
-
... c distance and gradus suavitatis), see HarmonicVector , HarmonicMetric and PitchSet for more info regarding harmonic arithmetic. Additions to SimpleNumber Some of these methods also work for collections of numbers, as implemented in Sequenc ...
-
... }; } => Func(\chuckIf); // a pattern helper: like a combination of Pchain and Psetp Proto { ~canEmbed = true; ~outerOverridesInner = true; // how many empty embeds of the inner pattern are permitted? // without this, infinite outer pattern ...
-
... ar <>positionResponder, <>moveposResponder; var <>la, <>lb, <>lorient; var <>offsetAngle, <>newPi, <>scapeWidth, <>scapeHeight, <>address; var <>perceptionArea; var <>counter = 0; *new { arg a = 50, b = 50, scapeWidth = 1, scapeHeight = 1; ...
-
... e call to an `assert` method. These methods are defined in the class `UnitTest` Set up and a tear down is often needed before running the test. SuperCollider's testing framework has two built-in helper functions that can do just that. The f ...
-
TestMixedBundleTester : UnitTest { var t; setUp { t = MixedBundleTester.new; MixedBundleTester.reset; } test_findMessage { t.add( [ "/n_free",1001]); t.send(Server.default); Server.default.latency.wait; 0.01.wait; this.assert( MixedBundleTe ...
-
... gram", Rect(200, 450, 600, 300)); bounds = boundsarg ? window.view.bounds; this.setWindowImage; if(parent.isNil, { // view is not in a user-defined window another drawhook is needed window.drawHook_({ index = index+1; image.drawInRect(windo ...