Calculate sound(s) duration.

get_sound_duration(file_name)

Arguments

file_name

a sound file

Author

George Moroz <agricolamz@gmail.com>

Examples

get_sound_duration( system.file("extdata", "test.wav", package = "phonfieldwork") )
#> file duration #> 1 test.wav 0.6526757