-
... hannel]; }; inout; }) } prMappedInputs { var result, mappings = Set(); controls.keysValuesDo { |key, value| var mapped; if (value.isString || value.isCollection.not) { value = [value]; }; mapped = value.select({ |v| (v.isKindOf(Symbol) || v ...
-
... esetManager( Color ); presetManager.presets = Color.web16.getPairs( Color.web16.keys.as(Array).sort ); presetManager.applyFunc_( { |object, preset| if( object === Color ) { preset.deepCopy; } { object.red = preset.red; object.green = preset ...
-
... ren.size < 1) { this.build_nk2_list; }; model.midi !? { model.midi.nk_last_seen.keysValuesDo({|uid,time| var active = (now - time) < 0.1; nk_indicators[uid] !? ( _.value = active.asInteger ); }); }; model.osc !? { var active = (now - model. ...
-
... th.parseYAMLFile; fileParse = IdentityDictionary(know: true); // replace String keys with Symbol keys, make "knowable" dict.keysValuesDo{ |k, v| fileParse.put(k.asSymbol, (v == "nil").if({ nil }, { v }) // so .info parsing doesn't see nil a ...
-
number extras Additions of psychoacoustic, music theoretical and harmonic math operations to numbers and collections for SuperCollider Some of these added methods are used by the other classes in DissonanceLib. They are also useful for gene ...
-
... ; synthDefs = modes.collect({ |mode| types.collect({ |type| pannerFuncs[ type ].keys.as(Array).collect({ |which| this.generateDef( which, mode, type ).justWriteDefFile( dir ); }) }) }).flatten(2); action.value(this); ^synthDefs; } }
-
[ [ 'sin', {arg freq=0.1, phase=0, mul=1, add=0; SinOsc.ar(freq, phase, mul).map + add} ], [ 'saw', {arg freq=0.1, phase=0, mul=1, add=0, dir=0; Select.ar(dir, [LFSaw.ar(freq, phase, mul, add).range(-1,1), LFSaw.ar(freq, phase, mul, add).ra ...
-
/* Filename: DecodeAmbi.sc created: 11.4.2005 Copyright (C) IEM 2005, Christopher Frauenberger [frauenberger@iem.at] Copyright (C) Tim Blechmann 2010-2011 This program is free software; you can redistribute it and/or modify it under the ter ...
-
... var connectIP, connectPort; var mouseOverFunc; var modsDict, arrModsDict, arrowKeys; var funcString; buildCheckbox = { |active, view, props, font| var cBox; if(GUI.id === \cocoa, { cBox = Button(view, props) .states_([ ["", Color.white, Co ...
-
... (0..19), inf ), `( // generate array of oscillators to slide over { var sym = e.keys.choose; sym.asClass.performList( \ar , e[sym]); } ! 20 ), fadeTime: Dstutter ( Diwhite (2, 5), Dwhite (0.01, 1).linexp(0.01, 1, 0.01, 1) ), width: 2, maxWi ...