-
... Reference Intro To Objects Method Calls Assignment Comments Expression Sequence Functions Scope Control Structures Classes Polymorphism Syntax Shortcuts Symbolic Notations Adverbs Partial Application J Concepts In SC List Comprehensions Lit ...
-
... em. compile Compiles a String containing legal SuperCollider code and returns a Function. ( var f; f = "2 + 1" .compile.postln; f.value.postln; ) asCompileString Returns a String formatted for compiling. ( var f; f = "myString"; f.postln; f ...
-
... methods section @*/ // Then each method can be marked up with a description of functionality, followed by a description of each argument. Then, multiline examples can be inserted. // After each method you can write /*@ desc: a description ...
-
... ng is printed while compiling the class library, but the interpreter will still function after that. In extensions that are published (e.g. as quarks), it's considered rude to litter the startup output with non-fatal warnings unless there i ...
-
... for more descriptive names. You should consider using variable definitions and Function s wherever no later direct access is needed – a large number of environment variables may cause bugs that are hard to find. Remember to clear the curre ...
-
... ing methods must be called within an SCWindow-drawHook or a SCUserView-drawFunc function, and will only be visible once the window or the view is refreshed. Each call to SCWindow-refresh SCUserView-refresh will 'overwrite' all previous draw ...
-
Ref a reference to a value superclass: AbstractFunction A Ref holds an object which may be retrieved and altered with the messages value and value_(obj) . The backquote ` is a unary operator that is equivalent to calling Ref.new(obj). Refs ...
-
... patterns by external control Issuing 'play' to a pattern can occur in an action function for many different kinds of objects: GUI, MIDI, OSCresponder, HID actions. This allows triggering patterns from a variety of interfaces. It's very unli ...
-
... f the new measurement, and the previous minus tmask phons A perceptual loudness function which outputs loudness in sones; this is a variant of an MP3 perceptual model, summing excitation in ERB bands. It models simple spectral and temporal ...
-
... icode,keycode; [char,modifiers,unicode,keycode].postln; }; w.front; ) // adding functionality to a view by the method addAction // this is useful for adding things to existing frameworks // that have action functions already. ( w = Window . ...