Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (924) Code (27) Doc (315) Help (54) Quark (524) Plugin (4) SCDoc ↗ Forum ↗ Google ↗
  1. Idem-test Quark

    /* Various algebraic objects: Idem, Immute, */ /* Idem is a wrapper that forwards computations to its object but keeps it wrapped. It can be used as a superclass for particular other wrappers. It is a generalisation of the existing Operand ...

  2. SolarSystem Quark

    ... //////// SolarSystem { var <planets; *new { ^super.new.init; } init { planets = Dictionary.new; planets.add(\mercury -> Planet.mercury); planets.add(\venus -> Planet.venus); planets.add(\earth -> Planet.earth); planets.add(\mars -> Planet.m ...

  3. DimpleGUI Quark

    ... of default values for attributes // initialized in init() var defaultValues; // Dictionary mapping GUI elements for an attribute var attributeInterfaces; *new { |dimple| ^super.newCopyArgs(dimple).init } init { // initalize attributes attri ...

  4. Opus+Score Quark

    ... m the file name. Saving this as ev.scd, will create an event in the Opus:scores Dictionary with the key \ev, and give the CtkScore the same ID. Calling opus:newScoreFromProcess expects the processKey to use for creating the new CtkPMod, and ...

  5. 5_Adding_soundfiles Quark

    ... // By default, NTMI loads these soundfiles into buffers, // and puts them in a dictionary called q.bufs, // under the name 'global': q.bufs.global; q.bufs.global.choose.play; // you can put multiple collections of soundfiles // into this u ...

  6. ValidatingDictionary Quark

    ValidatingDictionary { var <>dict; var <>validator, <>putFallback; *new { |dict, validator, putFallback| ^super.newCopyArgs(dict, validator, putFallback) } // raison d'etre put { |key, value| if(validator.(value, key, dict) ?? { true }) { d ...

  7. WFSOptions Quark

    ... var <device; var <hardwareBufferSize = 512; var <useForWFS = false; *presets { ^Dictionary[] } inDevice { ^if( thisProcess.platform.name == \linux ) { nil } { if( device.isString or: device.isNil ) { device } { device[0] } } } outDevice { ^ ...

  8. FuzzyDictionary Quark

    /* dictionary that keeps objects with the same key in a list and returns randomly one of them */ FuzzyDictionary : IdentityDictionary { put { arg key, item; super.put(key, super.at(key).add(item)) } at { arg key; var list = super.at(key); l ...

  9. bufPerc Quark

    ... licated behaviors only after getting comfortable with the basics. The parameter dictionary used at initialization can get rather long. Use a BP Factory to simplify use in performance. Important: The drum machine processes are not polyphonic ...

  10. bufPerc Quark

    ... licated behaviors only after getting comfortable with the basics. The parameter dictionary used at initialization can get rather long. Use a BP Factory to simplify use in performance. Important: The drum machine processes are not polyphonic ...

prev 21 22 23 24 25 26 27 28 29 30 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow