Page tree
Skip to end of metadata
Go to start of metadata

getPeak(start, length, rms)

Description

Available in: Controller, Processor.

Arguments

startThe start position in samples.number
lengthThe duration in samples. Set this to values below 0 to use all samples from the specified start to the end of the file.number
rmsIf this is set to 0, the peak level of the specified range will be returned. If this is set to a value above 0, the RMS level over the specified range will be calculated.number

Return Values

Returns the level of the specifed range as a linear value. The example shows how to convert the value from linear to dB.

Example

1 Comment