Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1251) Code (12) Doc (469) Help (111) Quark (658) Plugin (1) SCDoc ↗ Forum ↗ Google ↗
  1. SGUI Quark

    ... t{|n| Scale.newFromKey(n)}; scalesList.items= [\_]++scales.collect{|s| s.name.asSymbol}; scalesList.action= {|view| var matchingTunings, current, tname, tindex; if(view.value==0, { this.clear; }, { scale= scales.detect{|s| s.name.asSymbol== ...

  2. DrawIcon Quark

    ... 2)).asRect; ^drawFuncs[ name ].value( rect, *more ); // returns pen function } *symbolArgs { |name, rect| var more; more = name.asString.split( $_ ); name = more[0].asSymbol; more = more[1..].collect( _.interpret ); ^this.new( name, rect, * ...

  3. DecodeAmbi Quark

    ... eter in: Array[] of Ambisonics channels (number depends on order) setup: a key (symbol) to the decoding scheme level: Level/gain Return out: Array[] of loudspeaker signals */ *ar { arg in, setup = '1_4_7_4', level=1; var coeffs; // check nu ...

  4. VoicerNode Quark

    ... me, value| if(#[\freq, \freqlag, \gate, \t_gate, \out, \outbus].includes(name.asSymbol).not // Buffers are 'noncontrol', per crucial-library and: { #[noncontrol, scalar].includes(value.rate) } ) { out = out ++ [name.asSymbol, value]; }; }); ...

  5. Assemblage Quark

    ... cArr(\spaceMaster); a.getSpec(\master, \volume); a.outputSettings.includes("".asSymbol); a.bus(1, 1, 0.4); // a.bus(1, 1, dirIn: false); a.routingMap.dopostln ~in = \bus3; ~arr = []; a.outputSettings.do{|item, index| if(item == ~in, {~arr = ...

  6. WFSPath Quark

    ... s // contains array of WFSPoints, an array of delta-times and a name (String or Symbol) WFSPath_Old { classvar <>defaultTime = 1; // default delta-time classvar <>azMax = 360; // more WFS Classes use this classvar nameIndex = 0; classvar <> ...

  7. CTK Quark

    ... aCtkScore.add(this); ^this; } addGetter {arg key, defaultVal; objargs.put(key.asSymbol, defaultVal); this.addUniqueMethod(key.asSymbol, {arg object; object.objargs[key]}); } addSetter {arg key, func; this.addUniqueMethod((key.asString++"_") ...

  8. Buffer Granulation Quark

    ... epFac = 0.01, brown2Ratio = 1, brown2StepFac = 0.01| // keyLo and keyHi must be Symbols, // other args may be Symbols var patLo, patHi, patDif; // avoid lo-hi reversing with Pbrown patLo = min( PL (keyLo), PL (keyHi)); patHi = max( PL (keyL ...

  9. wsgui Quark

    ... if the name is valid title ?? {title = ""}; windowID = title.replace(" ", "").asSymbol; responders = List(); if(allWsWindows[windowID].notNil, { Error("WsWindow with name \"" ++ title ++ "\" already exists. Please use other title or remove ...

  10. extColor-web Quark

    ... / convert web colors (removes '#' sign automatically) // hexName can be number, symbol or string // colors are 24 bits (each channel 00 - FF) var r, g, b, number; if(hexName.isNumber) { number = hexName; } { hexName = hexName.asString.remov ...

prev 61 62 63 64 65 66 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow