-
... } // this is an amplitude converted into ...ppp - fff asDynamic {|freq = 1000, ref = 100, fff = 3| var num, char; num = freq.asSone(this.ampdb, ref).log2.round(1) - fff; if (num == 0) { ^\mf }{ if (num.isNegative) { char = 'p' } { char = ' ...
-
... his, gen) } plot { this.copy.toIntervals.list.as(Array).plot.plotMode_(\plines).refresh } size { ^list.size } // conversions change receiver toIntervals { var offset; (mode == \points).if { offset = (list.size != 0).if { list.first }; this. ...
-
... ializer, synths, buffer; // communicatin with the audio server var embeddedSynthRef; var <scInBus, <>triggerFunc, <>firstTime; // sc synth specific // common automation and ossia parameters var input, <file, <stream, <scSynths, <external, < ...
-
... nge[1],0.0,1.0) }; ^super.new(func,2).init(low,high) } init{ |alow,ahigh| low = Ref(alow); high = Ref(ahigh); } value { |point| ^func.(point).range(low.value,high.value) } valueUnmapped{ |point| ^func.(point) } prGradElemUnmapped{ |i,vector ...
-
... a hack, // but it should actually be local to the pattern // must protect in a Ref // Pbindf will extract its value automatically // but not use composeEvents() Pbindf(pattern, \type, \psSet, \proxyspace, currentEnvironment, \releaseHolder ...
-
// this is turning into a bit of a god-object // but I'm not going to refactor it today JMMIDI_OSCBridge { classvar <profiles; var <patch, <func, <profile; var <midi, midictl, controls, learning; var aliveThread, addr; *initClass { profiles ...
-
... ry: i is on or before a bracket // return 'i' is one after the closing bracket; Ref(i) if a bracket mismatch ~scanDelimiters = { |str, i, step = 1, lastMatchIndex(i), level = 0, assumeClosing, end = "\n"| var return = nil, ch, pair, matchPa ...
-
... / because we need to stop one item early, not reach the actual arg value // the Ref skulduggery is because a Pseq list cannot be empty path = Pseq( path.asString.split($/).collect(_.asSymbol) .drop(-1).add(Ref(\end)), 1 ).asStream; while { ...
-
... ~fillOne currently expects a 12-note chromatic scale ~stepsPerOctave = 12; // preferred forms for individual intervals ~preferred = [ 1, 16/15, // C, C# 16/15 = P4 - M3 9/8, 6/5, // D, D# 6/5 = pure m3 5/4, // E 4/3, 45/32,// F, F# 45/32 = ...
-
VGScale { classvar <>scales, <refOct = 5, <refNote = 6, <refInst = \SaronA; *refNoteKey { ^(refOct.asString ++ refNote).asSymbol } *initClass { VGScale.scales = (); // by ear/reading from slendro, SaronA, ref = \56. VGScale.scales.put( \pel ...