Description Usage Arguments Details Value Author(s) See Also Examples
Convert wave file into single channel EMG file.
1 |
wave |
An audio wave of class |
downsample |
logical. If |
samp.freq |
numeric. The new sample frequency. Defaults to 11025. |
This function takes as imput an audio wave file read in using the
readWave function from the tuneR
package. The
returned wave has print and plot methods. By default, plotting
reduces the number of points to 1/10 of the original wave using
the downsample
parameter.
Vector of class "EMG". Class "EMG" has print and plot methods.
Kevin Middleton (middletonk@missouri.edu)
1 2 3 4 5 | wav <- readWave(system.file("extdata",
"pulse_1.wav",
package = "EMG"))
y <- as.EMG(wav)
str(y)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.