|
|
(One intermediate revision by the same user not shown) |
Line 34: |
Line 34: |
| | descr=Calculates biquad coefficients for various filter types. | | | descr=Calculates biquad coefficients for various filter types. |
| | arguments=none | | | arguments=none |
− | | attributes=mode <'lp'|'lowpass'|'hp'|'highpass'|'bpcskirt'|'resonant'|'bpcpeak'|'bandpass'|'peaking'|'peaknotch&#\ 039;|'notch'|'bs'|'bandstop'|'ap'|'allpass'|'ls'|'lowshelf'|'hs'|'highshelf': type> - filter type [lowpass]<br>f0 <num: freq> - cutoff or centre frequency (default is half Nyquist frequency)<br>unit <'nyquist'|'hz'|'hertz': unit> - set unit for freq as ratio to Nyquist frequency or in hz [nyquist]<br>sr <num: sr> - sample rate for freq in Hertz [44100]<br>q <num: q> - quality/resonance [1]<br>qnorm <num: qnorm> - if qnorm = 1, divide q by 1./sqrt(2.) so as to get a monotonic filter response with q = 1. (instead of 1./sqrt(2.), which is the default with qnorm = 0)<br>gain <num: gain> - linear gain [1]<br>out <matrix: coeffs> - output biquad coefficients<br> | + | | attributes=mode <'lp'|'lowpass'|'hp'|'highpass'|'bpcskirt'|'resonant'|'bpcpeak'|'bandpass'|'peaking'|'peaknotch'|'notch'|'bs'|'bandstop'|'ap'|'allpass'|'ls'|'lowshelf'|'hs'|'highshelf': type> - filter type [lowpass]<br>f0 <num: freq> - cutoff or centre frequency (default is half Nyquist frequency)<br>unit <'nyquist'|'hz'|'hertz': unit> - set unit for freq as ratio to Nyquist frequency or in hz [nyquist]<br>sr <num: sr> - sample rate for freq in Hertz [44100]<br>q <num: q> - quality/resonance [1]<br>qnorm <num: qnorm> - if qnorm = 1, divide q by 1./sqrt(2.) so as to get a monotonic filter response with q = 1. (instead of 1./sqrt(2.), which is the default with qnorm = 0)<br>gain <num: gain> - linear gain [1]<br>out <matrix: coeffs> - output biquad coefficients<br> |
| | messages=postdoc - post external doc to console<br>bang - output coefficients<br>out <matrix: coeffs> - output biquad coefficients<br> | | | messages=postdoc - post external doc to console<br>bang - output coefficients<br>out <matrix: coeffs> - output biquad coefficients<br> |
| | inlets=none | | | inlets=none |
Line 253: |
Line 253: |
| | brief=Stats | | | brief=Stats |
| | descr=Stats has to be documented. | | | descr=Stats has to be documented. |
− | | arguments=<vector: histogram> [<num: low> [<num: high>] ] - set histogram vector and boundaries<br> | + | | arguments=<vector: histogram> [<num: low> <num: high>] - set histogram vector and boundaries<br> |
| | attributes=norm <bool: normalize> - switch normalization [off]<br> | | | attributes=norm <bool: normalize> - switch normalization [off]<br> |
− | | messages=postdoc - post external doc to console<br>bang - output stats<br>clear - clear histogram<br>set <vector: histogram> [<num: low> [<num: high>] ] - set histogram vector and boundaries<br> | + | | messages=postdoc - post external doc to console<br>bang - output stats<br>clear - clear histogram<br>set <vector: histogram> [<num: low> <num: high>] - set histogram vector and boundaries<br> |
| | inlets=1 <num: value> - data input<br> | | | inlets=1 <num: value> - data input<br> |
| | outlets=1 <num: average> - output average<br>2 <num: stddev> - output standard deviation<br>3 <num: count> - output count<br> | | | outlets=1 <num: average> - output average<br>2 <num: stddev> - output standard deviation<br>3 <num: count> - output count<br> |