.getDuration {soundgen}R Documentation

Get duration per sound

Description

Internal soundgen function called by getDuration.

Usage

.getDuration(audio, silence = 0.01, rms = list(windowLength = 20, step = 5))

Arguments

audio

a list returned by readAudio

silence

leading and trailing sections quieter than this proportion of maximum RMS amplitude are removed when calculating duration_noSilence (NULL = don't calculate duration_noSilence to save time)

rms

a list of control parameters passed to getRMS


[Package soundgen version 2.7.2 Index]