.gitignore | ||
batch_rename.sh | ||
expanseR.sh | ||
expansion_x10.R | ||
LICENSE | ||
README.md | ||
split_5s.sh |
time-expanseR
Convert .WAV in real time into .WAV in time expansion x10 using warbleR R package.
Installation
Requirements
apt install -y r-base cmake libcurl4-openssl-dev libfftw3-*
R packages
R
install.packages("warbleR")
Scripts
git clone http://localhost:3400/Chiro-Canto/time-expanseR.git
chmod +x expanseR.sh
chmod +x split_5s.sh
chmod +x expansion_x10.R
Usage
chmod +x expanseR
bash expanseR -o /path/to/your/input/directory -i /path/to/your/output/directory
You can also use R script in standalone, you will have to specify your folders in the r script.
Renaming files
You can rename your files before converting them using the bash script batch_rename.sh
. You will have to switch the parameter in it such as vigie-chiro prefix
(e.g
vigie_prefix="Car721035-2021-Pass0-Z2"
) and device prefix.