-
... key) * (2 ** (key div: 12)) }; ~syntonic = 80/81; ~fillOne = { |offset = 0| var out = Array.newClear(12); 12.do { |i| var commaK; i = i - 5; commaK = (i + offset) div: 4; out.wrapPut(i * 7, ~flattenOctave.((1.5 ** i) * (~syntonic ** commaK) ...
-
... "\notFound" hook in dirt. ~dirt.set(\notFound, { autoLoad.(~s) }); ) // try it out: while playing any tidal pattern, now remove all samples: ~dirt.freeSoundFiles // they should automatically come back.
-
... dimensions. The values are always within the range between 0 and 1. Scaling the output and input values to your needs can easily be achieved by using a ControlSpec with its -map and -unmap methods. The -step variable determines the amount b ...
-
... in order to form a context-sensitive generative grammar. Everything that falls outside the closure suc as A and B in A<X>B are not rewritten - X is rewritten only if AXB match. The class Prewrite by James McCartney does a similar thing wit ...
-
... s, s; s = server ? Server.default; // mono SynthDef(\xiiDelay1x1, {arg inbus=0, outbus=0, maxDelay=2, // hardcoded here delay=0.4, feedback=0.0, fxlevel = 0.7, level=1.0; Ê Êvar fx, sig; Ê Êsig = InFeedback.ar(inbus,1); Ê Êfx = sig + LocalI ...
-
LastValue LastValue.ar(in, diff) LastValue.kr(in, diff) output the last value before the input changed more than a threshhold in input diff difference threshhold d = { arg freq=440; SinOsc .ar( LastValue .ar(freq, 20), 0, 0.2) }.play; d.set ...
-
... ster/strant) ChallengeAuthenticator : NMLAbstractAuthenticator { classvar <>timeOut = 5; var challenge, oscPath, challInds, challResponseOSCFunc; *new {|challenge, oscPath = '/challengeAuth'| ^super.newCopyArgs(challenge, oscPath).init; } i ...
-
... di hardware interface we connect it to. k.desc.fullDesc.at(\idInfo); // 2. find out which midi interfaces are there: MKtl.find(\midi); z = ( 'destPortIndex': 0, 'srcPortIndex': 0, 'deviceName': "USB MIDI Device" ); k.openDeviceVia( z ); k.d ...
-
... e sound server, which we configure first to get more audio buses and to have 36 output channels. s.quit; // quit the server first if it is still running with another configuration. ( ServerOptions.devices; s = Server.local; Server.local = S ...
-
... er the order of event preparation between different patterns in the client, without desynchronizing sonic events that should play together. PG_06g_Data_Sharing has an example of its use to pass data from a bass pattern to a chord pattern. \ ...