-
... , 900], 0, 0.2) + LPF.ar( LFPulse.ar(226 * [1, 2, 5], [0, 0.1, 0.1], 0.2, 0.2), MouseX.kr(20, 10000, 1) ) }.scope; ) // server.scope only changes the properies explicitly given: s.scope(numChannels: 5); s.scope(index: 12); s.scope(zoom: 4); ...
-
... e-controlled tones ( x = { Pan2.ar(AY.ar( tonea: MouseY.kr(10, 3900, 1), toneb: MouseX.kr(10, 3900, 1), control: 3, vola: 14, volb: 14, volc: 0, mul: 0.1 )) }.play; ) x.free; // A random walk in a ZX Spectrum ( x = { var rate = MouseX.kr(0. ...
-
... b ( SynthDef("test",{ arg out=0,bufnum=0; RecordBuf.ar(SinOsc.ar(2990*SinOsc.ar(MouseX.kr(1, 20)), 0, MouseY.kr(0, 1)!2), bufnum, 0, 1, 0); // RecordBuf.ar(LoopBuf.ar(2, y.bufnum, 1, 1, 0, 0, y.numFrames), bufnum, 0, 1, 0); // RecordBuf.ar( ...
-
... bamp); // theta is our angle on the X-Y plane and phi is our elevation // use a MouseX to control theta in real time, from pi to -pi theta = MouseX.kr(pi, -pi); phi = 0; // Encode into our foa signal foa = FoaPanB.ar(src, theta, phi); // de ...
-
... SynthDef ( "help-VDiskin" , { arg bufnum = 0; Out .ar(0, VDiskIn .ar(1, bufnum, MouseX .kr(0.5, 2.0))); }).send(s); ) ( x = Synth .basicNew( "help-VDiskin" ); m = { arg buf; x.addToHeadMsg( nil , [ \bufnum , buf])}; b = Buffer .cueSoundFile ...
-
... scaleBuf = LocalBuf(scale.size, 1).set(scale); var degree = Index.kr(scaleBuf, MouseX.kr(0, BufFrames.kr(scaleBuf))); var vibrato = SinOsc.kr(6, mul:4); var base = 4 * 12; var in = Saw.ar(((degree + base).midicps + vibrato).lag(0.3)); Out. ...
-
... mpleRate / s.options.blockSize; x = { TZeroXBufRd .ar( b, z, trig: Impulse .ar( MouseX .kr(10, ~maxTrigRate )), zeroX: Dseq ([2, 3], inf ), rate: 0.2 ) * 0.1 }.play ) s.scope x.release // In this example waveforms are slightly crossing the ...
-
... tepper, { |out| var rate, clock, index, freq, ffreq, env, out, rev, lfo; rate = MouseX.kr(1, 5, 1); clock = Impulse.kr(rate); env = Decay2.kr(clock, 0.002, 2.5); index = Stepper.kr(clock, 0, 0, 15, 1, 0); freq = BufRd.kr(1, 10, index, 1, 1) ...
-
... .start; {SinOsc.ar(MouseY.kr(22050,1).poll(10, "frequency: "))}.play; ) {Saw.ar(MouseX.kr(1, 1000))}.play; // check also the spectrogram window ( a = SpectrogramWindow.new; {SinOsc.ar(MouseY.kr(22050, 1).poll(10, "frequency: "))}.play ) ⧉ ✔ ...
-
... .sampleRate / s.options.blockSize; x = { TZeroXBufRd.ar( b, z, trig: Impulse.ar(MouseX.kr(10, ~maxTrigRate)), zeroX: Dseq([2, 3], inf), rate: 0.2 ) * 0.1 }.play ) s.scope x.release // In this example waveforms are slightly crossing the x ax ...