bandpass | R Documentation |
Creates a band pass WaveFilter between values specified to a Wave object.
bandpass(from, to, ...)
from |
Bottom of bandpass frequency (Hz). |
to |
Top of bandpass frequency (Hz). |
... |
Further arguments to pass to ffilter. |
This is a simple wrapper function to the seewave ffilter function allowing its use with filterw and pipes.
A WaveFilter object.
## Not run:
nwave <- noise("white", duration=44100, samp.rate=44100)
fwave <- filterWave(nwave, bandpass(from=1000, to=2000))
nwave |> filterWave(bandpass(from=1000, to=2000)) -> fwave
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.