Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (2448) Code (83) Doc (560) Help (165) Quark (1637) Plugin (3) SCDoc ↗ Forum ↗ Google ↗
  1. MixerChannelDef Quark

    ... ary init { name = name.asSymbol; fader = fader.asSynthDef; controls.respondsTo(\keys).not.if({ MethodError("Error constructing MixerChannelDef - controls must be a Dictionary", this).throw }); Library.global.put(\mixerdefs, name, this); thi ...

  2. busdict3 Quark

    ... lastBus, lastBusChans; (rate != \control).if({ hiBus = audioObjects.at(server).keys.maxItem; // allow access to all channels of highest bus hiBus = hiBus + (audioObjects@(server)@(hiBus)).numChannels; lastBus = 0; lastBusChans = 1; ^Array. ...

  3. busdict3 Quark

    ... lastBus, lastBusChans; (rate != \control).if({ hiBus = audioObjects.at(server).keys.maxItem; // allow access to all channels of highest bus hiBus = hiBus + (audioObjects@(server)@(hiBus)).numChannels; lastBus = 0; lastBusChans = 1; ^Array. ...

  4. ModKey Quark

    ModKey part of wslib a class for testing modifier keys from strings given by mouseActions and keyActions. Tested on a PBG4. Please tell me if it doesn't work for your machine info@woutersnoei.nl Based on empirical testing... Creation ModKey ...

  5. ModKey Quark

    ModKey { classvar <numberDict; classvar <dict; var <>list; var <>extra; // extras bit indexes for 24bits modifier number // extra args contain left/right shift and cmd and some unknown bits // no setting yet, only testing (except directly w ...

  6. GenericDef Quark

    ... ss.all[ this.name ] = nil; this.addToAll( name ); } *allNames { ^this.class.all.keys.as( Array ).sort } addArgSpec { |argSpec, replaceIfExists = false| var index; if( argSpec.notNil ) { argSpec = argSpec.asArgSpec; }; index = argSpecs.detec ...

  7. MView Quark

    /* TODO MView // 1. editStr action runs twice - why? x = 0; j = JITView(123); // now type "x = x + 1" // -> 2 // 2. Window resize by code loops when userview with drawfunc is present. m = MView(123); m.drawFunc.disable(\all); m.parent.bound ...

  8. SCluster Quark

    //f.olofsson 2019 SCluster : AbstractSInstrument { var syn; *new {|numVoices= 4, target, outbus= 0, addAction= \addToHead, args| ^super.new(numVoices, target, outbus, addAction, args) .initSCluster(numVoices, target, outbus); } initSCluster ...

  9. GenericDef Quark

    ... ss.all[ this.name ] = nil; this.addToAll( name ); } *allNames { ^this.class.all.keys.as( Array ).sort } addArgSpec { |argSpec, replaceIfExists = false| var index; if( argSpec.notNil ) { argSpec = argSpec.asArgSpec; }; index = argSpecs.detec ...

  10. Salience Quark

    ... ]] = 0}}; x.do{ |x0, i| x0.do{ |x1, j| p[x1.first] = p[x1.first] + x1.last}}; p.keys.size p.keys.asArray.asNote d = p.values.select{ |h| h >= 0.5}.removeDuplicates; r = d.collect{ |dd| [p.findKeyForValue(dd), dd]} r.do{ |rr| [rr[0].asNote, ...

prev 91 92 93 94 95 96 97 98 99 100 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow