-
... nstr([\percOrc4, \tabla],{arg trig=0.0, impulseToNoise=0.5,fingerToDrum=0.5,freqScale=1.0,freqOffset=0.0,timeScale=1.0; var finger, tabla; finger = Decay2.ar( Impulsar.ar(trig), 0.001, 0.01, (PinkNoise.ar(impulseToNoise) + (1 - impulseToNoi ...
-
... (meter: XMLMeter (4, 4), key: XMLKey .major( \Bf ))); // create a B-flat major scale in quarter notes // uses XMLVoice's internal 'clock' to keep track of beats [58, 60, 62, 63, 65, 67, 69, 70].do({ arg keynum; y.add( XMLNote (keynum, y.no ...
-
... ance methods asBuffer asEvent channelPeaks fileptr info play readHeaderAsString scaleAndWrite seek toCSV Examples Classes | Files SoundFile : Object sclang soundfile data Source: SoundFile.sc See also: File , Buffer Description The SoundFil ...
-
... value1, time2, value2 ... timeN, valueN], curve]. For envelopes, all times are scaled from 0 to 1 (0 is the begining of the track, 1 is the end). All values are in dB. A curve value of 1 produces linear breakpoints. >1 produce concave curv ...
-
... methods sendFuncs Inherited class methods Instance methods destsDict addDest setScaler setOffsets Inherited instance methods Examples Classes (extension) | Influx InfluxSpread Extension Influx variant that can spread influences to multiple ...
-
// create a new module ( ~module = Neuromodule( x: [0.1, 0], theta: [0.1, 0.3], weights: [[-3, 2], [-2, 0]], outs: 0 ); ) // forward time ~module.next; ~module.next; ~module.next; // or (this is implemented in a superclass) ~module.nextN(8) ...
-
... rate(base440, noteindex); } cps { |noteindex| // base * (2 ^ octave) * (ratio ^ scaleDegree) // 2 ^ octave factor reduces rounding errors from simpler formula ^basefreq * (octaveRatio ** ((noteindex / stepsPerOctave).trunc)) * (ratio ** (no ...
-
... rate(base440, noteindex); } cps { |noteindex| // base * (2 ^ octave) * (ratio ^ scaleDegree) // 2 ^ octave factor reduces rounding errors from simpler formula ^basefreq * (octaveRatio ** ((noteindex / stepsPerOctave).trunc)) * (ratio ** (no ...
-
... in .allocBuf(s, ~numnodes, 2, 3); SOMTrain .initBufGridRand(~som, ~numnodes, 2, scales: 3); // Grid init - a 2D grid is randomly oriented in the target space (which here is 3D) //~som.plot(minval:nil.dup(3), maxval: nil.dup(3)); // Also, ju ...
-
... nstead of a Routine function. This example uses Pspawner to trigger overlapping scale segments at different speeds. Unlike Ppar, which could handle a fixed number before stopping, Pspawner can keep going indefinitely. ( p = Pspawner({ |sp| ...