butter_filter {soundClass} | R Documentation |
Apply a butterworth filter to sound samples
Description
Apply a butterworth filter, high pass or/and low pass, to sound samples. Based on the function butter
Usage
butter_filter(sound_samples, low = NA, high = NA, fs, tx, order = 10)
Arguments
sound_samples |
Numeric vector with the sound samples to filter |
low |
Numeric. Minimum frequency in kHz for the butterworth filter |
high |
Numeric. Maximum frequency in kHz for the butterworth filter |
fs |
Integer with the sampling frequency of the recording |
tx |
Integer indicating the expanded time factor of the recording |
order |
Integer indicating the filter order to apply to the recording |
Details
Butterworth filter
Value
A vector with the filtered sound samples
Author(s)
Bruno Silva
[Package soundClass version 0.0.9.2 Index]