Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (3519) Code (203) Doc (848) Help (193) Quark (2225) Plugin (50) SCDoc ↗ Forum ↗ Google ↗
  1. Matrix Doc

    ... ourier transform matrix of shape (n,n). Matrix.newDFT(3).postln; n = 51; // DFT size // Make a sinusoidal test signal (3 partials: 1st, 3rd and 10th) x = Matrix.withFlatArray(n, 1, n collect: { |i| sin(2pi*i/(n - 1)) + sin(6pi*i/(n - 1)) + ...

  2. ProxyPreset Doc

    ... urr) + [0.1.rand2]).flat); b.setRelFrom(\coco, { 0.3.rand2 }.dup(b.namesToStore.size)) ⧉ ✔ Class Methods . new make a new anonymous ProxyPreset Arguments: proxy a TaskProxy or PatternProxy namesToStore which paramNames to store in presets. ...

  3. QuickStart Doc

    ... presentation. At the most basic level an entity has a radius that describes its size and a position in space. ( ~unit1 = SVUnit( ~gameloop, position: RealVector2D[18,22], radius: 0.4 ); ) ⧉ ✔ Not very exciting but it is a start. Since we di ...

  4. NNdef Quark

    ... nameStr.beginsWith("a = "); isSingle = this.objects.isEmpty or: { this.objects.size == 1 and: { this.objects.indices.first == 0 } }; isInCurrent = envir.includes(this); isOnDefault = server === Server.default; // [\isAnon, isAnon, \isSingl ...

  5. SymbolicNotations Doc

    ... , 3, 5, 7, 9 a[..j] same as a.copySeries(0, j) a[j..] same as a.copySeries(i, a.size-1) (this is OK--Array is finite) ~ access an environment variable ~abc compiles to \abc.envirGet ~abc = value compiles to \abc.envirPut(value) Adverbs to m ...

  6. JSONlib Doc

    ... stomDecoder: {|x| if(x.class==String) { if(x.beginsWith("--func")) { x["--func".size()..].compile().(); } } }); ) // -> ( 'myFunc': a Function, 'data': 42 ) b[\myFunc].(4) // -> 16.0 ⧉ ✔ Transfer nested objects via OSC JSON allows to distri ...

  7. tests Quark

    ... = bndl.reverse; // ids = ids.reverse // }; strumOffset = Array.series(~syn.node.size, offset, strum.abs); i = bndl.messages.size - ~syn.node.size; { var start = thisThread.seconds; bndl.doPrepare(server, inEnvir { var latency; latency = ~la ...

  8. CVWidget Doc

    ... with -setMidiMean . default: 64 midiResolution if midiMode is set to 1 the step-size of each slider is determined by this parameter. Can be set with -setMidiResolution . default: 1 softWithin if midiMode is set to 0 this determines the tole ...

  9. TabbedView Quark

    ... bool ) default true. Set tabs parallel or perpendicular to container edges . resize_ ( val ) int sets the resize flag (1-9 ). default 1. ; labelColors_ ( colorarray ) Array of Colors for the tabs . unfocusedColors_ (colorarray ) Array of C ...

  10. UMenuBarIDE Quark

    ... nset = #[0,-4,0,0]| var menuView; menuView = View( parent, bounds ); menuView.resize_( 2 ); menuView.bounds = menuView.bounds.insetAll( *inset ); menuView.background_( RoundView.skin !? _.menuStripColor ?? { Color.gray(0.9) }); if( menuStri ...

prev 341 342 343 344 345 346 347 348 349 350 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow