-
/* \map_point Creates an UMap allowing dynamic mapped access to x and y of a point x: position x (-1 - 1, 0 means center) y: position y (-1 - 1) center: center of the mapped area radius: radius of the mapped area -- this is an UMapDef defin ...
-
/* \db_amp Creates an UMap for converting db values to amplitude db: the db value mute: if true amp becomes zero -- this is an UMapDef definition file part of the Unit lib default UMapDefs set */ HybridUMapDef( \db_amp, { |db = 64, mute = 0 ...
-
/* * Mosca: SuperCollider class by Iain Mott, 2016. Licensed under a * Creative Commons Attribution-NonCommercial 4.0 International License * http://creativecommons.org/licenses/by-nc/4.0/ * The class makes extensive use of the Ambisonic To ...
-
KeyCodesEditor : KeyDownActions { classvar all; var <window, <eas; *initClass { all = List.new; } *new { |parent, bounds| ^super.new.init(parent, bounds); } init { |parent, bounds| var platform, scrollArea, scrollView, flow; var editAreasBg ...
-
... "// post them with: \nq.process.foundNames.cs".postln; forkIfNeeded ({ var ndefKeysAlreadyThere, ndefKeysNowLoaded; q.load("0_globals/1_loadGlobalUtils.scd"); s.sync; "\n\nloading NTMI buffers and processes in %:\n".postf("2_process"); nde ...
-
... }; //Loop around the event entries and use as Stream, substituting entries def.keysValuesDo({ | key, entry | if(key != \def, { var parsedEntry = this.parseParamInner(entry, functionSynthDefDict); if(parsedEntry == nil, { ^nil }); //Finally ...
-
// backgroundImage_ + SCImage { drawBackground { |rect, tileMode=1, alpha=1.0, fromRect, operation = 'sourceOver'| var toRect; rect = rect ?? { Rect(0,0,400,400) }; switch ( tileMode, 1, { this.drawAtPoint( rect.leftTop, fromRect, operation ...
-
... meOrIndex) }; } pageByName { |pageKey| if (mktlDict[pageKey].notNil) { mktlDict.keysValuesDo { |key, mk| if (key == pageKey) { mk.enable } { mk.disable }; currPage = pageKey; }; }; } pageByIndex { |index, wrap = true| if (wrap) { index = in ...
-
( ( keys: #[master, rvbmc], initLevel: -12.dbamp, rvbLevel: -6.dbamp, // set: \tink, dir: thisProcess.nowExecutingPath.dirname +/+ "samples/oddhits", make: { |name| BP(name).free; PR(\abstractLiveCode).chuck(BP(name), nil, ( event: (eventKe ...
-
( //--settings var size= 700; //--images var images= [ \sCluster -> Image(SInstruments.rootDir+/+"images/sCluster-screenshot.png"), \sDrone -> Image(SInstruments.rootDir+/+"images/sDrone-screenshot.png"), \sFormant -> Image(SInstruments.roo ...