Dear Community,
I have to code a little Synth who estimate the frequency of a music part,
and put this value all 100ms in a File.
So my first try is to code it so that postln; will show me this value.
A little Synth with a gape is already coded.:
(
SynthDef(\FreqMeter, { |freq=440|
var sig, freqf, hasfreq;
sig = SinOsc.ar(freq);
Out.ar(0, [sig, sig]);
# freqf, hasfreq = Pitch.kr(sig);
// here I’m not knowing the right Code
}).add;
)