Skip to main content

envmaxtime

envmaxtime() -> llll

Generates audio descriptor to extract the time at which the global maxima of the buffer's envelope occurs. See analyze.

The resulting buffer will be updated with the following keys:

  • envmaxtime
info

envmaxtime is a mirror implementation of the same algorithm in the Essentia library. For more details on the algorithm, please check the Essentia Algorithms reference.


Output

envmaxtime descriptor [llll]


Usage

envmaxtime is meant to be used with the analyze function:

$buffer = importaudio('singing.wav'); ## input buffer
$descr = envmaxtime(); ## generate envmaxtime audio descriptor
$buffer.inspect('before analysis');
$buffer = $buffer.analyze($descr); ## apply analysis
$buffer.inspect('after analysis')