-
... Off; } { this.legatoOn; } }) ,2, 0, 1, 2, \center); mainLayout.add(StaticText().string_("MIDI Ch1: "), 3, 0); mainLayout.add(NumberBox().clipLo_(0).clipHi_(127).action_({| caller | this.midiCh1(caller.value); }), 3, 1); mainLayout.add(Stati ...
-
... the given header `field` to the `Vary` response header of `res`. This can be a string of a single field, a string of a valid `Vary` header, or an array of multiple fields. This will append the header if not already listed, otherwise leaves ...
-
UAudioDeviceSpec : Spec { /* a device can be: - String (same name for input and output device) - Array[ String, String ] (input, output) - nil (system default) GUI will try to match output to input device, unless the user sets it manually. ...
-
... SON(o); this.assertEquals(j, "{ \"foo\": { \"bar\": \"baz\" } }"); } test_objectStringKeysEncode { var o = ("foo": "bar"); var j = JSONlib.convertToJSON(o); this.assertEquals(j, "{ \"foo\": \"bar\" }", "use strings as keys"); } test_arrayEn ...
-
... ) this cmdName must be the same like the LocalClient reciever cmdName interpret(string) if the remote client has the same password, it interprets the string LocalClient represents a listener to a remote sclang application superclass: Client ...
-
... j.enpath }) } loadDocument { ^this.collect({ arg obj; obj.loadDocument }) } } + String { loadPath { arg warnIfNotFound=true; var obj,path; path = this.standardizePath; if(File.exists(path),{ { obj = thisProcess.interpreter.executeFile(path) ...
-
... ass ); UMIDIDict.start( false ); ^learnFunc; } viewNumLines { ^2 } *formatDeviceString { |inString| case { inString.size == 0 } { ^"*/*"; } { inString.find( "/" ).isNil } { ^inString ++ "/*"; } { inString == "/" } { ^"*/*" } { inString.spli ...
-
... # API ```js var contentType = require('content-type') ``` ### contentType.parse(string) ```js var obj = contentType.parse('image/svg+xml; charset=utf-8') ``` Parse a content type string. This will return an object with the following propert ...
-
TestFloat : UnitTest { test_storeOn { var stored; stored = String.streamContents({ arg stream; stream <<< 1e-05}); this.assert(stored != "1e-05.0", "scientific notation should not have a .0 at the end"); this.assertEquals(stored , "1e-05", ...
-
... Rect); win.layout= HLayout( VLayout( //--amplitude control section StaticText().string_("Amplitude control"), VLayout( HLayout( StaticText().string_("AmpHi").fixedWidth_(50), [ampHiElement.addView(Slider().orientation_(\horizontal)), stretc ...