-
... egrees_(\bartok); // change tuning a.tuning_(\just); // change all -- should be done simultaneously when switching // number of steps per octave a.scale_(\bayati, \et24); // ... but if you don't, we warn you and continue with // default tun ...
-
... } resample { |nSamples = 20| // number of equal times // linear interpolation (done by Env) var envs, timeUnit; envs = this.asEnvs; timeUnit = this.length / nSamples; times = timeUnit.dup(nSamples); positions = Array.fill(nSamples + 1, { | ...
-
... en ? 0) + 1; ("ATS editor v6.1a export-validation + playsweep fix startup guard done. analysisToken=" ++ ~atsAnalysisToken).postln; ~autoSoloOnSelectV66 = false; ~mkTrack = { |id, points, color| ( id: id, points: points ? [], color: color ? ...
-
... ar lvPitchBendSpec= ControlSpec(0, 1200, 'lin', 1, 200, "cents"); var lvPitchBendOnElement= SGUIelement(); var lvSustainElement= SGUIelement(); var lvSustainSpec= ControlSpec(0.01, maxSustain, 1, 0, defaultSustain); var lvSustainOnElement= ...
-
... ) * amp * mute * EnvGen.kr(Env([0.001, 1, 1, 0.001], [0.01, dur - 0.02, 0.01]), doneAction: 2) * (BufRd.ar(1, buffer + 100, LFSaw.ar(trackDur.reciprocal, 1 + (offset * 2), 512, 512), 0, 4)).dbamp)); }).load(s); SynthDef(\mixer_playbuf_in, { ...
-
... le times. returns array of index pairs reduceTriplets { |tripletArray| var pairsDone, retPairs, wrapped; // reduce to point pairs to remove repeated lines retPairs = []; pairsDone = []; // list of pairs already found tripletArray.do{ |trip| ...
-
... "" a.recordNRT(outputFilePath: "~/syn-nrt-test.wav".standardizePath, action: { "done".postln }); // access args ( x = Syn(\default, [ freq: Plug( \freqlfo, [rate: Plug( \freqlfo, [rate: 0.7, low: 1, high: 70] )] ), amp: 0.05 ]); ) // ok, on ...
-
... ror, // clear it so that a new stream will be built next time // if this is not done, probable result is that sclang crashes { repository[~pool] = nil } ).asStream; }; stream = repository[~pool]; loop { // Insurance against failure: auto-re ...
-
... [i], rq).softclip * amp * EnvGen .kr( Env .adsr(att, dec, susLevel, rel), gate, doneAction: 2); // random spatialization (for sequencing) by L/R delay [ DelayL .ar(src, maxDelay, Rand (0, maxDelay)), DelayL .ar(src, maxDelay, Rand (0, maxDe ...
-
... used by the pattern. It should only be freed when the pattern is freed, as it's done //in the stopPatternAndFreeSynths function. LEAVE THIS FUNCTION EMPTY, OR FAST PATTERNS WILL BUG OUT!!! freeAllBusses { | now = false, time, isClear = fals ...