aboutsummaryrefslogtreecommitdiff
path: root/examples/dfreq~.pd
blob: a211c632b494f626b72df7dbdb11d1e3468f0882 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#N canvas 307 9 598 301 10;
#X obj 61 163 dfreq~;
#X obj 61 133 osc~ 440;
#X obj 61 231 print~;
#X msg 96 208 bang;
#X obj 85 28 dfreq~;
#X text 146 27 a frequency detector that counts zero-crossings;
#X floatatom 61 109;
#X text 182 104 every zero-crossing the frequency-estimation is updated \, therefore this estimation is given as a signal...;
#X text 179 170 this detector won't work properly on complex signals (e.g. zero-crossings should not be caused by higher partials);
#X text 177 205 on the other hand \, this is much cheaper than fft's or fiddle...;
#X connect 0 0 2 0;
#X connect 1 0 0 0;
#X connect 3 0 2 0;
#X connect 6 0 1 0;