-
Other event and pattern shortcuts various shortcut writings for events and patterns Part of: miSCellaneous See also: EventShortcuts , PLx and live coding with Strings Apart from the class EventShortcuts itself, which handles bookkeeping of ...
-
... change the default, put something else in the library. Library.put(\fitFactors, Dictionary[ 0 -> 10, 1.0 -> 6, // 2nd 2.0 -> 10, // 3rd -- note, privileging triadic notes 3.0 -> 4, 4.0 -> 10, 5.0 -> -10, // 6th degree makes chord root perce ...
-
... this calls MIDIClient.init; input device is filtered in MIDIdef nk_last_seen = Dictionary[]; nk_sources = MIDIClient.sources.select {|e| e.device.containsi("nanoKontrol") }; if (nk_sources.size > 0 && nk_source.isNil) { this.choose(nk_sour ...
-
... anApp; this.initMIDI; } initMIDI{ MIDIClient.init; MIDIIn.connectAll; synths = Dictionary.new; MIDIFunc.noteOn({|vel, key| var tab = app.gui.tabs[app.gui.tabView.activeTab.index]; var name = "colliding_" ++ app.id ++ "_" ++ tab.id; synths[ ...
-
... e = "sclork-s01.local"| if (syncStarted.isNil, { syncStarted = true; clockMap = Dictionary.new; syncNetAddr = NetAddr.new(serverName, SCLOrkClockServer.syncPort); timeDiffs = Array.newClear(historySize); timeDiffSum = 0.0; roundTripTimes = ...
-
... ; globalvol = 1; synthGroup = Group.new(server, \addToHead); stateDict = (); // dictionary of saved states codeArray = Array.fill(tracks, {()}); // a dictionary inside the array codeFlagArray = Array.fill(tracks, {true}); audioStreamFlagArr ...
-
... st index by classname *initClass { var traverseSubclasses; collection = IdentityDictionary.new; // recursively go thru subclasses to add a collection for each subclass to the coll (traverseSubclasses = { |class| // do not add a collection f ...
-
... init; } init { Server.default.waitForBoot { alivePlugs = List.new; idPlugDict = Dictionary.new; isDirty = false; canvasObj = HadronCanvas.new(this); blackholeBus = Bus.audio(Server.default, 1); win = Window("Hadron", Rect(300, 40, 675, 70), ...
-
... newFromDef , \mix1x2 , s, (level: 0.25, pan: -0.5)); The initValues should be a dictionary with control names as keys. (key: value, key: value) is a shortcut syntax. Not all controls need be specified--values not assigned here will take the ...
-
... newFromDef , \mix1x2 , s, (level: 0.25, pan: -0.5)); The initValues should be a dictionary with control names as keys. (key: value, key: value) is a shortcut syntax. Not all controls need be specified--values not assigned here will take the ...