snd.plot: snd.plot

Description Usage Arguments See Also Examples

View source: R/snd.R

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

1
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

1
2
3
4
5
6
7
## Not run: 
snd <- snd.sample()
snd.plot(snd)

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

## End(Not run)

rPraat documentation built on Feb. 28, 2021, 1:06 a.m.