Go to file
2021-05-02 09:20:34 +02:00
.gitignore Added R and bash scripts 2021-05-01 08:02:59 +02:00
batch_rename.sh Added batch renaming 2021-05-02 09:17:29 +02:00
expanseR.sh Added standalone script 2021-05-01 10:40:48 +02:00
expansion_x10.R Added standalone script 2021-05-01 10:40:48 +02:00
LICENSE Initial commit 2021-04-30 22:00:42 +02:00
README.md Corrected gitea hostname 2021-05-02 09:20:34 +02:00
split_5s.sh Added standalone script 2021-05-01 10:40:48 +02:00

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 https://forge.ortion.xyz/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 change the parameters in this file such as vigie-chiro prefix (e.g

vigie_prefix="Car721035-2021-Pass0-Z2"

) and device prefix, if any.