Learn R Programming

sequenceR (version 1.0.1)

plot.soundSample: Plot a sound sample

Description

Plot a sound sample. Uses plotly to add zooming capability.

Usage

# S3 method for soundSample
plot(x, ...)

Value

nothing - plotting function.

Arguments

x

sound sample object.

...

further arguments passed to tuneR plotting function.

Examples

Run this code
# Define sound sample
sam <- soundSample(sin(2*pi*seq(0,1,,44100)*440)+0.1*rnorm(44100)) # 1-second noisy A
# plot it
plot(sam)

Run the code above in your browser using DataLab