Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (694) Code (54) Doc (375) Help (75) Quark (189) Plugin (1) SCDoc ↗ Forum ↗ Google ↗
  1. NodeEvent Help

    ... 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 ...

  2. CocoaMenuItem Help

    ... 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 ...

  3. PatternConductor Help

    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 ...

  4. Functions and Other Functionality Help

    ... 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 ...

  5. ObjectGui Help

    ... 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 ...

  6. Interpreter Help

    ... 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 ...

  7. Sync-Async Help

    ... 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 ...

  8. PackFFT Help

    ... 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 ...

  9. SCQuartzComposerView Help

    ... 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) ...

  10. SCModalSheet Help

    ... 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 ...

prev 1 2 3 4 5 6 7 8 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow