This package is an attempt to provide an R interface to the DiViMe tools. In addition, it provides some utilities dealing with audio and video (based on ffmpeg
and sox
) and dealing with ELAN .eaf files.
I wrote and tested this package on a MacOS system. Testing in Windows was very limitied up to now and I suspect there might be some glitches specific to how file paths are handled in Windows.
Current functionality:
-
get info about audio and video files (duration, size, bit rate etc) and some basic file manipulations (extracting audio from video, split audio files)
-
read_elan
extracts annotations and time stamps, separated by tiers, from ELAN.eaf
files (fairly experimental) -
rrtm2elan
writes an.eaf
file that can be opened in ELAN (very experimental) -
set-up a virtual machine to run the DiViMe tools
-
run specific DiViMe tools, currently:
-
SAD noisemse, SAD opensmile, SAD tocombo
-
diartk
-
yunitator
-
vcm
-
wce
word count estimator
-
Requirements:
-
for audio and video processing:
sox
binary (https://sourceforge.net/projects/sox/) andffmpeg
binary (https://ffmpeg.org/download.html). These don't need to be installed, but you should make sure that you know the location of the files on your system. Actually, if you are using Windows, you might to install them after all... -
for DiViMe tools:
vagrant
software installed (e.g. https://releases.hashicorp.com/vagrant/) andVirtualBox
(https://www.virtualbox.org/wiki/Download_Old_Builds_5_2) -
if you have a Windows machine, you'll also need
git
-
if you have a Mac, you might need to install
Xcode
in order to getgit
running
And finally, in order to install the actual R package, use:
library(devtools)
install_github("gobbios/avutils")