/** create new A-design filter
+ \param channels number of channels to allocate
\param samplerate sampling frequency of the signal to filter. Should be one of
8000, 11025, 16000, 22050, 24000, 32000, 44100, 48000, 88200, 96000, and
192000 Hz
- \param channels number of channels to allocate
\return a new filter object
/** set feedback and feedforward coefficients of a A-weighting filter
\param f filter object to get coefficients from
+ \param samplerate sampling frequency of the signal to filter. Should be one of
+ 8000, 11025, 16000, 22050, 24000, 32000, 44100, 48000, 88200, 96000, and
+ 192000 Hz
*/
uint_t aubio_filter_set_a_weighting (aubio_filter_t *f, uint_t samplerate);
/** set coefficients of a biquad filter
+ \param f filter object as returned by new_aubio_filter()
\param b0 forward filter coefficient
\param b1 forward filter coefficient
\param b2 forward filter coefficient
\param b2 forward filter coefficient
\param a1 feedback filter coefficient
\param a2 feedback filter coefficient
+ \param channels number of channels to allocate
*/
aubio_filter_t *
/** create new C-design filter
+ \param channels number of channels to allocate
\param samplerate sampling frequency of the signal to filter. Should be one of
8000, 11025, 16000, 22050, 24000, 32000, 44100, 48000, 88200, 96000, and
192000 Hz
- \param channels number of channels to allocate
\return a new filter object
/** set feedback and feedforward coefficients of a C-weighting filter
\param f filter object to get coefficients from
+ \param samplerate sampling frequency of the signal to filter. Should be one of
+ 8000, 11025, 16000, 22050, 24000, 32000, 44100, 48000, 88200, 96000, and
+ 192000 Hz
*/
uint_t aubio_filter_set_c_weighting (aubio_filter_t *f, uint_t samplerate);
Some convenience functions are provided:
- new_aubio_filter_a_weighting() and aubio_filter_set_a_weighting(),
- new_aubio_filter_c_weighting() and aubio_filter_set_c_weighting().
+ - new_aubio_filter_biquad() and aubio_filter_set_biquad().
*/
*/
uint_t aubio_filter_set_samplerate (aubio_filter_t * f, uint_t samplerate);
-/** reset filter memory */
+/** reset filter memory
+
+ \param f filter object as returned by new_aubio_filter()
+
+*/
void aubio_filter_do_reset (aubio_filter_t * f);
/** create new filter object
This function creates a new ::aubio_filter_t object, given an order
and a specific number of channels.
- \param samplerate signal sampling rate
\param order order of the filter (number of coefficients)
\param channels number of channels to allocate