Pre-processing of files for Wind Detection program
Source:R/wind_detection_functions.R
wind_detection_pre_processing.Rd
This function takes a vector of wave file names and returns a list of three vectors that can be provided to the wind detection software or written to files that the software can read. Details of the usable fork of the wind detection software can be found at https://github.com/dhope/WindNoiseDetection
Usage
wind_detection_pre_processing(
wav_files,
site_pattern,
output_directory,
write_to_file = FALSE,
chunk_size = NULL
)
Examples
wind_files <-
wind_detection_pre_processing(
wav_files = example_clean$path,
output_directory = td,
site_pattern = create_pattern_site_id(
p_digits = c(2, 3), sep = "_",
s_digits = c(1, 2)
),
write_to_file = FALSE, chunk_size = NULL
)