Learn R Programming

rPraat (version 1.3.2-1)

snd.plot: snd.plot

Description

Plots interactive Sound object using dygraphs package. If the sound is 2-channel (stereo), the 1st channel is plotted around mean value +1, the 2nd around mean value -1.

Usage

snd.plot(snd, group = "", stemPlot = FALSE)

Arguments

snd

Sound object (with $sig and $fs members at least)

group

[optional] character string, name of group for dygraphs synchronization

stemPlot

[optional] discrete style of plot using

See Also

snd.read

Examples

Run this code
# NOT RUN {
snd <- snd.sample()
snd.plot(snd)

snd.plot(list(sig = sin(seq(0, 2*pi, length.out = 4000)), fs = 8000))
# }

Run the code above in your browser using DataLab