sound_wav: create a soundWav object

Description Usage Arguments Examples

View source: R/sound_wav.R

Description

create a soundWav object

Usage

1
2
sound_wav(filename, channel = c("left", "right"), te_factor = 1,
  max_length = 5)

Arguments

filename

The name of the file

channel

Select the left or the right channel

te_factor

The factor to which the original sound was slowed down prior to recording

max_length

Maximum length of the recording to use in seconds. If the recording is longer, the last part is ignored.

Examples

1
2
3
4
5
wav <- sound_wav(
  system.file("demo.wav", package = "soundcluster"),
  te_factor = 10,
  max_length = 0.1
)

ThierryO/soundcluster documentation built on May 26, 2019, 12:30 a.m.