strongdecay
strongdecay(
@mode 0
) -> llll
Generates an audio descriptor to compute the strong decay of a buffer. The strong decay is built from the non-linear combination of the signal energy and the signal temporal centroid, the latter being the balance of the absolute value of the signal. A signal containing a temporal centroid near its start boundary and a strong energy is said to have a strong decay.
The resulting buffer will be updated with the following keys:
strongdecay
info
strongdecay is a mirror implementation of the same algorithm in the Essentia library.
For more details on the algorithm, please check the Essentia Algorithms reference.
Arguments
@mode[int]: Analysis mode. (default:0).0: Global1: Time series2: Time-tagged time series3: Buffer
Output
Strongdecay descriptor [llll]
Usage
strongdecay is meant to be used with the analyze function:
$buffer = importaudio('singing.wav'); ## input buffer
$descr = strongdecay(); ## generate strongdecay audio descriptor
$buffer.view('before analysis');
$buffer = $buffer.analyze($descr); ## apply analysis
$buffer.view('after analysis')