This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Gdef : Singleton { | |
classvar <groupOrder, rebuildBundle, <nodeMap; | |
var <group, <afterList, <beforeList, <server, <>permanent=true; | |
classvar blockUpdate=false, updateCount=0; | |
*initClass { | |
[Event, EventTypesWithCleanup].do(Class.initClassTree(_)); | |
groupOrder = LinkedList(); | |
nodeMap = IdentityDictionary(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
+String { | |
unicodeSize { | |
var size = this.size; | |
size = size - (this.select({ |c| c.ascii < 0 }).size / 3 * 2).asInteger; | |
^size; | |
} | |
unicodeIndex { | |
|index| | |
var i = 0; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
( | |
Ndef(\synth, { | |
var lpf, res, distort, rate, decay, | |
freq, amp, sig, env, trig, detune; | |
// CONTROLS | |
lpf = \lpf.ar(540); | |
res = \res.ar(0.9); | |
distort = \distort.ar(0.7); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
( | |
var guiFunc; | |
var ampMin = -70; | |
var ampMax = 36; | |
var numberBoxHeight = 22; | |
var oscDef; | |
var compressFunc = { | |
|isSynth, amp, aboveRatio, belowRatio, ratioScale, aboveThreshold, belowThreshold, knee, curve, expandMax, plot=false| |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
+UGen { | |
fadeChange { | |
|func, fadeTime=1, fadeClass=(XFade2)| | |
^[this].fadeChange(func, fadeTime, fadeClass) | |
} | |
fadeTrig { | |
|func, fadeTime=1, fadeClass=(XFade2)| | |
^[this].fadeTrig(func, fadeTime, fadeClass) | |
} | |
fadeSteps { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Pmonophonic : Pattern { | |
embedInStream { | |
|inEvent| | |
var id, offEvent; | |
var event = inEvent.copy; | |
var cleanup = EventStreamCleanup(); | |
cleanup.addFunction(event, { | |
offEvent.play; | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PparStream : Stream { | |
var <>initStreamAction, <>endStreamAction; | |
var priorityQ, <now; | |
var <injectFunc, pausedStreams; | |
*forkPatterns { | |
|pattern| | |
var event, outerEvent, recursionLevel, instrument, embeddingLevel, freq, rest; | |
var args, defaults, timingOffset, sustain, gatePattern; | |
var size, newPatterns = []; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Gdef : Singleton { | |
classvar <groupOrder, rebuildBundle, <nodeMap; | |
var <group, <afterList, <beforeList, <server, <>permanent=true; | |
classvar blockUpdate=false, updateCount=0; | |
*initClass { | |
[Event, EventTypesWithCleanup].do(Class.initClassTree(_)); | |
groupOrder = LinkedList(); | |
nodeMap = IdentityDictionary(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// XMP parsing requires: | |
// Quarks.install("XML"); [in supercollider] | |
// brew install exiftool [in terminal] | |
+SoundFile { | |
exiftoolPath { | |
^"/usr/local/bin/exiftool" | |
} | |
extractMarkers { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
+Object { | |
|> { | |
|other| | |
^other.value(this) | |
} | |
+> { | |
|other, adverb| | |
^(this +.(adverb) other.value(this)) | |
} |
NewerOlder