sox.clip.Rd
This function uses SoX to clip a .wav file to a desired length.
sox.clip( file.path, out.path = file.path(getwd(), "Clipped_Selection"), duration = list(start = 0, end = 180) )
file.path | String path to .wav file. |
---|---|
out.path | String path to where to save your file. Defaults to a folder "Clipped_Selection". |
duration | A list for the start and end time of the clip in seconds. Default is start = 0 and end = 180 for a 3 min clip. |
A clipped .wav file.
sox.clip("C:/LV-01-01-01/LV-01-01-01_20170609_033500.wav",out.path = file.path(getwd(),"Clipped_Selection"), duration = list(start = 0, end = 180))