snd.cut {rPraat} | R Documentation |
snd.cut
Description
Cut the specified interval from the Sound object and preserve time
Usage
snd.cut(snd, Start = -Inf, End = Inf, units = "seconds")
Arguments
snd |
Sound object (list with |
Start |
beginning sample/time of interval to be cut (default |
End |
final sample/time of interval to be cut (default |
units |
Units of |
Value
Sound object
See Also
snd.cut0
, tg.cut
, tg.cut0
, snd.read
, snd.plot
Examples
snd <- snd.sample()
snd2 <- snd.cut(snd, Start = 0.3)
snd2_0 <- snd.cut0(snd, Start = 0.3)
snd3 <- snd.cut(snd, Start = 0.2, End = 0.3)
snd3_0 <- snd.cut0(snd, Start = 0.2, End = 0.3)
snd4 <- snd.cut(snd, End = 0.1)
snd4_0 <- snd.cut0(snd, End = 0.1)
snd5 <- snd.cut(snd, Start = -0.1, End = 0.1)
snd5_0 <- snd.cut0(snd, Start = -0.1, End = 0.1)
snd6 <- snd.cut(snd, End = 1000, units = "samples")
snd6_0 <- snd.cut0(snd, End = 1000, units = "samples")
## Not run:
snd.plot(snd)
snd.plot(snd2)
snd.plot(snd2_0)
snd.plot(snd3)
snd.plot(snd3_0)
snd.plot(snd4)
snd.plot(snd4_0)
snd.plot(snd5)
snd.plot(snd5_0)
snd.plot(snd6)
snd.plot(snd6_0)
## End(Not run)
[Package rPraat version 1.3.2-1 Index]