-
... tering a code example from the Vowel helpfile written by Florian Grond. q = (); NdefMixer (s) ( q.freqs = { |i| 50 * 1.5.pow(i) }!9; q.dt = 1.5 * 2.sqrt; q.numHarms = 60; ) ( SynthDef ( \impulser , { |out = 0, pan = 0, dur = 35| var amps = ...
-
Ndef('xf-jetSet').addSpec(\freqMul, [0.75, 8, \exp] ); Ndef('xf-jetSet').addSpec(\dGain, [0, 5, \amp] ); Ndef('xf-jetSet').addSpec(\fFreq, [200, 10000, \exp] ); Ndef('xf-jetSet').addSpec(\filterF, [200, 10000, \exp] ); Ndef('xf-jetSet').add ...
-
>> lp 1 @1 == radpost == Ndef('block1', {arg rate=1 , trigger=1 , startPos=0 , mul=1 ; PlayBuf.ar(~buffer0.numChannels, ~buffer0, rate, trigger, startPos.linlin(0,1,0, ~buffer0.numFrames), 1)*mul;}); == radpostcont == (none) >> pl 2 @1 == r ...
-
... # hcutoff "<3000 700 900>" # hresonance "0.05" // example: trigger and route an Ndef from tidal ( Ndef(\x, { Decay.kr(\trig.tr(0), 0.1) * PinkNoise.ar }); ~dirt.soundLibrary.addSynth(\myNdef, (playInside: { |e| Ndef(\x).set(\trig, 1); // tr ...
-
... ---------------- on - off -------------- // the simplest version is just on-off Ndef( \testSynth, { |on=0| SinOsc.ar( 440, 0, on * 0.5 ) } ); Ndef( \testSynth ).play; k.elementAt( \pad, \on, 1 ).action = { arg el; Ndef( \testSynth ).set( \o ...
-
... add ); // play it in tidal: // d1 $ s "gendy" # legato "1.2" ~dirt.set(\fratio, Ndef(\ctrl1)); Ndef(\ctrl1, 0); Ndef(\ctrl1, 0.1); Ndef(\ctrl1, { MouseX.kr(0, 2) }); // you can use a MIDI controller or any external device to set Ndef(\ctrl1 ...
-
Ndef('xf-ringMod').addSpec(\oct, [-5, 5]); Ndef('xf-ringMod').addSpec(\which, [-2, 2]); Ndef('xf-ringMod').addSpec(\pow, [0.5, 8, \exp]); Ndef('xf-ringMod').ar(q.numChans); Ndef('xf-ringMod', { arg amp=0.1, oct=2, which=0, pow=1; var sines, ...
-
>> fx 1 harm == radpost == Ndef.ar('filterTrack_1_1', 1); Ndef('filterTrack_1_1').fadeTime = 0.5; Ndef('filterTrack_1_1', {arg pitchRatio1=1.0, pitchRatio2=1.0, pitchRatio3=1.0, pitchRatio4=1.0, vol1=1.0, vol2=1.0, vol3=1.0, vol4=1.0, pitch ...
-
MFdef(\ndefVolStep).add(\step, { |ndef, step = 1| var acceleration = step.abs ** 1.0; var stepsize = 0.01; // 100 steps from 0 to 1 var ampspec = \amp.asSpec; "% ndefVolStep %\n".postf(ndef, step); ndef.vol = ampspec.map(ampspec.unmap(ndef. ...
-
... amount. let obj provide the spec, if there is none, make it unipolar. // tests: Ndef(\a).gui.moveTo(0,400); // does nothing (no current value yet) RelSet(Ndef(\a), \freq, 0.05); // works when there is a value set(Ndef(\a), \freq, 200); RelS ...