View source: R/Clip_wav_file.R
format_clip_wave | R Documentation |
Process multiple wav files by copying them with a new filename or clipping to a given length.
format_clip_wave(
segment_df,
in_base_directory,
out_base_directory,
length_clip_col,
sub_dir_out_col,
filepath_in_col,
out_filename_col,
filewarn = T,
use_job = F,
...
)
segment_df |
Data frame with details of file locations. |
in_base_directory |
String. Directory where wav files are read from. |
out_base_directory |
String. Directory to output files to |
length_clip_col |
String with column name for the length of clip in seconds |
sub_dir_out_col |
String or vector of strings with column name for directories to output to, nested in out_base_directory |
filepath_in_col |
String with column name for path to file, either nested in base directory or absolute |
out_filename_col |
String with column name for output filename |
filewarn |
Logical. Default to TRUE. Should function provide warnings about file movements |
use_job |
Logical. Default to FALSE. Use the job package to copy files. |
logical or logical vector of status of file copy.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.