-
... epresents a sine wave with keys for 'freq', 'amp', and 'phs' //uncomment for examples /*sine (the default)*/ spectrum = [ (freq:1, amp:1, phs:0) ]; // /*harmonics 1 & 2 */ spectrum = [ (freq:1, amp:1, phs:0), (freq:2, amp:1/2, phs:0) ] ...
-
... des "-Bold" to the name. This is only useful for fonts that have bold variants. Examples ( w= SCWindow .new.front; t= SCStaticText (w, w.view.bounds).align_( \center ); t.string= " SUPERCOLLIDER" ; ) t.font= Font ( "Monaco" , 24); ( var upd ...
-
... ill Commands gen sine1 sine2 sine3 cheby fillWithEnv Inherited instance methods Examples Real-time uses Uses with CtkScore Classes (extension) | Libraries > CTK'>CTK CtkBuffer Extension Representation of a buffer for CTK objects Location: N ...
-
... d to write the new and init class methods. See existing subclasses of EZGui for examples of this. You may also want to override the following: . widget Returns the active widget. Subclasses will typically refer to it or ignore it, e.g.: MyE ...
-
... point) set highlight extend highlightColor(color) set color of highlighted item Examples // you may want to use Swing or Cocoa SwingOSC .default.boot GUI .swing ( var data = 1000.collect{ [1.0.rand, exprand(0.01, 1)]}; w = GUI .window.new(b ...
-
... tom of this document there is a template class code that you can refer to as an example of the steps taken in the tutorial. To test it simply copy it into a file ending with '.sc' and place the file into your SC Extensions folder. If you ar ...
-
... defines how a view behaves when a window is resized. See resize for details and examples. Defining Actions Actions are Functions which are evaluated when the primitive calls doAction in response to user input of some sort. Typically a view ...
-
... the playing piece. signal To see what this does, see the help for MoltenPiece . Examples // to make sense of all that is going on here // be sure to check MoltenPiece help too. s.boot; ( SynthDef ( \piece1 , { arg buf, hold = 1; var env = E ...
-
... rted/installing-npm-packages-locally): ```bash $ npm install http-errors ``` ## Example ```js var createError = require('http-errors') var express = require('express') var app = express() app.use(function (req, res, next) { if (!req.user) r ...
-
... ion may be used as a trailing argument, even if it evaluates to a Function. For example, you cannot use a variable name as a trailing argument, even if this variable was assigned a Function. Using a selector as an infix binary operator (dis ...