You should probably have a look at the sound packages for R, "tuneR" and "sound", I believe, on http://cran.r-project.org. Applying a filter can be done with filter(), but you need to come up with filter coefficients. "High-pass" and "low-pass" have simple descriptions in the Fourier transform space, so you might want to specify the frequency response of your filter directly there, then do an inverse Fourier transform (fft() in R) to get coefficients. The ingredients are all there in R itself; but the packages tuneR and sound might have exactly what you want. A book on time series or signal processing might be helpful. Reid Huntsinger -----Original Message----- From: r-help-bounces at stat.math.ethz.ch [mailto:r-help-bounces at stat.math.ethz.ch] On Behalf Of tom wright Sent: Monday, September 19, 2005 10:36 AM To: R-help mailing list Subject: [R] waveform filtering I'm not an engineer so I hope I'm using the correct terminology here. I have a recorded waveform that I want to apply low and high pass filters too, are tehre already R functions existing to do this or am I going to have to program my own? thanks for any pointers tom ______________________________________________ R-help at stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
waveform filtering
2 messages · Huntsinger, Reid, Uwe Ligges
Huntsinger, Reid wrote:
You should probably have a look at the sound packages for R, "tuneR" and "sound", I believe, on http://cran.r-project.org. Applying a filter can be done with filter(), but you need to come up with filter coefficients. "High-pass" and "low-pass" have simple descriptions in the Fourier transform space, so you might want to specify the frequency response of your filter directly there, then do an inverse Fourier transform (fft() in R) to get coefficients. The ingredients are all there in R itself; but the packages tuneR and sound
Unfortunately, methods for filtering are neither in sound nor in tuneR (yet). Contributions are welcome, of course! Uwe Ligges
might have exactly what you want. A book on time series or signal processing might be helpful. Reid Huntsinger -----Original Message----- From: r-help-bounces at stat.math.ethz.ch [mailto:r-help-bounces at stat.math.ethz.ch] On Behalf Of tom wright Sent: Monday, September 19, 2005 10:36 AM To: R-help mailing list Subject: [R] waveform filtering I'm not an engineer so I hope I'm using the correct terminology here. I have a recorded waveform that I want to apply low and high pass filters too, are tehre already R functions existing to do this or am I going to have to program my own? thanks for any pointers tom
______________________________________________ R-help at stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html ______________________________________________ R-help at stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html