-
... used interchangeably with patterns in control schemes and GUI's. The following example creates a group with nodeID = 2 and plays a synth within it. g = (id: 2).group; g.play; a = (group: 2).synth a.play; g.release; g.stop; interface: play ...
-
... tcut. Default value is false. doAction Evaluate the receiver's action function. Examples // Simple example g = SCMenuGroup ( nil , "stuff" , 10); i = SCMenuItem (g, "foo" ); j = SCMenuItem (g, "bar" ); j.action = { "bar!!" .postln}; k = SCM ...
-
PatternConductor superclass: Object PatternConductor provides a simple interactive control (supporting play, pause, resume, stop) for playing pattern, much like Pattern-play. However, PatternConductor creates its own clock and directly cont ...
-
... tionality The easiest way to get sound from SC is to use a Function. Below is a simple example of this. Execute this (after making sure the server is booted), and when you're sick of it, press Cmd - . (that's hold down the command key and p ...
-
... o specify a different class, one that subclasses ObjectGui. see [gui] It is the simplest display, just the the object asString. an example gui class YourSimpleGuiClass : ObjectGui { guiBody { arg layout; // we refer to the model and // acce ...
-
... hold the default Server . Assigning another value to 's' may cause some of the examples in the documentation to fail. clearAll set the values of the variables 'a' through 'z' to nil. ( x = 123; x.postln; this .clearAll; x.postln; ) Compile ...
-
... that may or may not have been completely loaded yet. In SC2 this was relatively simple to handle. One scheduled synchronous tasks during synthesis, i.e. within the scope of a Synth.play. Asynchronous tasks were executed in order, outside of ...
-
... ro all the magnitudes outside this band (otherwise they stay intact). For usage examples, see UnpackFFT , but also pvcollect , pvcalc , pvcalc2 . Here's an unusual example which uses PackFFT without using UnpackFFT first - essentially creat ...
-
... s - An instance of Rect , or a Point indicating width@height. ( w = SCWindow ( "Simple QC Test" ).front; b = SCButton (w, Rect (0, 0, 150, 20)) .states_([[ "pick another QC file" ]]) .action_({ File .openDialog( "" , { |path| m.path_(path) ...
-
... will be ignored for enclosed views. See SCScrollTopView . The default is false. Examples ///// simple example w = SCWindow .new( "Parent" ).front; // make a window ( // now attach a sheet x = SCModalSheet .new(w, 380@70); SCButton (x, Rect ...