-
... sig, chain, freq, hasFreq; sig = SoundIn.ar( (in-1).max(0) ); # freq, hasFreq = Pitch.kr(sig, minFreq: minFreq, maxFreq: maxFreq, ampThreshold: ampThreshold, median: median).lag(lag); ((hasFreq * 2 - 1) * mul).exprange(20.0, 20000.0) + add; ...
-
... data choosen var <> wait; //Wait time for playback var <> rate; //play rate for pitch adjustment var <> position; //start position in the buffer var <> expand; //Granular expansion var <> midiChannel; var <> duration; //play duration after ...
-
... 1, {1.0.rand}!10 * timescale, curve, releaseNode: 9, loopNode: loopnode) ); var pitch = (env * [1, 0.33, -1] * intv).midiratio * freq; Splay.ar( Formant.ar(pitch, pitch.scramble * formfact, pitch.scramble * widfact), spread) * amp; }); // a ...
-
... stop A, B, F, and C ~abfc.stop; //change the speed of the sequence and the pitch of A, B, C, and Fs ( ~speed = 0.03; ~aay_freq = 400; ~bee_freq = 1500; ~f_freq = 350; ~c_freq = 300; ) //stop all routines ( ~abcf_synth.stop ...
-
... rve, releaseNode: n-1, loopNode: loopnode.min(n-3)), timeScale: timescale); var pitch = (env * [1, 0.33, -1] * intv).midiratio * freq; var form = Formant.ar(pitch, pitch.rotate(1) * 1.6, pitch.rotate(2) * 2.6); var dusty = Ringz.ar(Dust.ar( ...
-
... ((upper - note.beat) / lower); note.tie_(\start); adds = adds.add( NtkNote(note.pitch, diff / lower, note.measure + 1, 0).tie_(\end)); }); }); voices[i] = voices[i] ++ adds; this.sortVoice(i) }); } // there has to be a more efficient way to ...
-
... this gives better than just integer wavelength resolution. This is a very crude pitch follower, but can be useful in some situations. in - input signal. Server .internal.boot; ( { var a; a = SinOsc .ar( SinOsc .kr(1, 0, 600,700), 0, 0.1); [ ...
-
... asFreq; in = SinOsc.ar(440 * LFSaw.kr(100, 1000)); # freq, hasFreq = Pitch.kr( in, ampThreshold: 0.09, median: 1); freq = freq * hasFreq; //freq.poll; SinOsc.kr(freq).poll; Out.ar(0, in + SinO ...
-
... tting started. input args are mostly self explainatory: freq controls pitch of carrier and modulator wave modratio scales the freq of modulator wave carratio scalese the freq of carrier wave (useful for creating differen ...
-
... as above but then retrieves the "template vector" from the SOM and uses it for pitch/cutoff of a tone. // Top of screen = hi cutoff, bottom of screen = lo cutoff. Left = lo pitch, right = hi pitch. // Notice how the SOM mapping constrains ...