-
... d midiLearn midiSrc midiChan midiCtrl oscEditBut calibBut actionsBut background stringColor Inherited instance methods Examples Classes (extension) | GUI | Conductor | External Control > MIDI'>MIDI | External Control > OSC'>OSC CVWidgetKnob ...
-
... |...args| args.postln}, rate: 120, cutoff: 0.3); a.close; ⧉ ✔ Arguments: port a String with the name of the serial port. by default this is "/dev/tty.BlueVAS_H-Data" action a Function that is evaluated each time new sensor data arrives. the ...
-
... line 1 and then some more in line 3 " ); f.close; ) // open file, read and put strings into array, close file. x = TabFileReader.read("TabDelTest.sc").postcs; // can skip empty lines: x = TabFileReader.read("TabDelTest.sc", true).postcs; / ...
-
... ook at the code. The first bit, "Hello World!" , is a kind of Object , called a String. An object is basically just a way of representing something in the computer, for instance a bit of text, or an oscillator, that allows you to control it ...
-
... nd true for Event . e = Environment[ 'someVariable' -> 5, 'printMe' -> { |self, string| string.postln } ]; e.know = true; ⧉ ✔ More typically, Events are used to define such prototypes because the syntax is simpler. e = (someVariable: 5, pri ...
-
... henResized url interpolation saving and archiving write rendering plot draw drawStringAtPoint drawAtPoint drawInRect tileInRect Instance Methods / accessing and setting pixels setPixel getPixel setColor getColor pixels loadPixels setPixels ...
-
... posting several values, some more verbose posts can be useful. postf formats a string and inserts values for %-characters. here separate statements are needed. var n = 8, x = 0; (1..n).do { |num| x = x + num.squared; "num: % num-squared: % ...
-
... delimited data; 123;;4; 0.5;0.6;0.7 " ); f.close; ) // open file, read and put strings into array, close file. x = SemiColonFileReader.read("SemiColonTest.sc").postcs; // can skip empty lines: x = SemiColonFileReader.read("SemiColonTest.sc ...
-
... se -info . . writeToFile Write the matrix to a file Arguments: fileNameOrPath A String of the file name. The file extension determines the format: .yml allows for additional user-specified metadata (recommended). .txt writes the matrix coef ...
-
... xamples: // Demonstrate the algorithm by hand first: // a corpus of two example strings - text sequences are easiest to follow. a = [ "was it a car or a cat i saw", "warsaw" ]; // and a context snake with that corpus. c = ContextSnake(a); / ...