Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (535) Code (4) Doc (98) Help (27) Quark (405) Plugin (1) SCDoc ↗ Forum ↗ Google ↗
  1. Conductor Quark

    ... ndows var <>player; var <>preset; *initClass { StartUp.add ({ Conductor.specs = IdentityDictionary.new; Conductor.specs.putPairs([ // set up some ControlSpecs for common mappings // you can add your own after the fact. unipolar: ControlSpec ...

  2. Unit Quark

    ... = \audio, index = 0, name| if( this.ioNames.isNil ) { this.ioNames = MultiLevelIdentityDictionary(); }; this.ioNames.put( mode, rate, index.asInteger, name ); } audioInName { |index=0| ^this.prGetIOName( \in, \audio, index ); } controlInNa ...

  3. 03. GeoGraphyAudio Quark

    ... h ; // init is relevant var p, l, name ; samplesPath = aSamplesPath ; bufDict = IdentityDictionary .new ; server.doWhenBooted({ // load a buffer for all the files in samplePath p = Pipe .new( "ls -R" + samplesPath, "r" ) ; l = p.getLine ; w ...

  4. SWBusNode Quark

    ... <>dt = 0.05; var <stopwatcher = false; var <>verbose = false; *initClass{ all = IdentityDictionary.new; } *new{|id,network,input,serv,autostart=false| ^super.new.init( id, network, input,serv,autostart ); } *at{ |id| ^all.at( id ); } initSy ...

  5. Image Quark

    ... var <path=nil, reps, <isCached=false, <>autoTransform=true; *initClass { all = IdentityDictionary.new; } *releaseAll { all.asArray.do {|object| this.remove(object); } } *numberOfImages { ^all.size; } *add {|image| all.put(image.path.asSymb ...

  6. EQspecs Quark

    ... initClass { // each func takes "in" and outputs eq'ed signal (1 band) eqFuncs = IdentityDictionary[ \eq -> { arg in, k, freq, rq; MidEQ.ar(in, freq, rq, k.ampdb) }, \lopass -> { arg in, k, freq; LPF.ar(in, freq) }, \hipass -> { arg in, k, f ...

  7. 02. GeoGraphyStructure Quark

    ... raph It is devoted to handling all the data representing a graph. A graph is an IdentityDictionary following this format: {vID: [x, y, vDur, vLabel, vOpts, [end, eDur, eID, eOpts], ...etc], etc:...} where: vID: ID of a vertex; x, y: its pos ...

  8. EQdef Quark

    ... r <>presets; var <>presetManager; *initClass { Class.initClassTree(Spec); all = IdentityDictionary[]; specDict = ( \freq: FreqSpec( 20, 20000, \exp, 0, 440 ).asSpec, \rq: [ 0.001, 10, \exp, 0.01, 0.707 ].asSpec, \rs: [ 0.6, 10, \exp, 0.1, 1 ...

  9. FoaMatrixChain Quark

    ... pack the above transform specification triplets in to a dictionary xFormDict = IdentityDictionary(know: true); xformSpecs.do({ |clump| var name, ctls, func; #name, ctls, func = clump; // unpack the clump xFormDict.put(name, IdentityDiction ...

  10. SETOServer Quark

    ... r-new: argument setoClass is not subclass of SETObject.".error; }); knownObjs = IdentityDictionary.new; objectIDs = Set[]; iClass = argInteractionClass; // ? SETOInteraction; (iClass.notNil && {iClass.isKindOf(Meta_SETOInteraction).not}).if ...

prev 31 32 33 34 35 36 37 38 39 40 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow