You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
2 years ago | |
---|---|---|
.gitignore | 2 years ago | |
LICENSE | 2 years ago | |
README.md | 2 years ago | |
batch_rename.sh | 2 years ago | |
expanseR.sh | 2 years ago | |
expansion_x10.R | 2 years ago | |
split_5s.sh | 2 years ago | |
tadarida_preprocessing.py | 2 years ago |
README.md
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.