Description Usage Arguments Details Value
This function reads wave data from a file. The data is read using
the readWave
function and then automatically
simplified for further processing.
1 2 |
filename |
The filename to be read |
channels |
The channel(s) that should be used. The wave file is automatically
reduced to a mono wave file, either by selecting a single channel (values
|
filter |
List of filter parameters (set to |
The wavefile is filtered upon loading using an elliptic bandpass filter.
The filter parameters are passed as a list within the filter
argument, which must contain the following elements. Set the filter
argument to NULL
to deactivate the bandpass filter.
Default values are based on the telephony voice band
lowLow border (in Hz) of the bandpass region. Default 300Hz
highHigh border (in Hz) of the bandpass region. Default 4kHz
RpMaximum ripple in the bandpass region (in dB). Default to 0.001dB
RsAttenuation within the stop bands (in dB). Default to 40dB
steepnessWidth of the transition region (in octaves). Default to 1octave
So for the default parameters the first stopband goes from 0Hz to 150Hz (1octave below 300Hz) with an attenuation of 40dB. Then there is a transition band from 150Hz to 300Hz and a passband from 300Hz to 4kHz. The next transition band ranges from 4kHz to 8kHz and everything above 8kHz is again fully attenuated.
An object of type WaveData
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.