top of page
- API -

maxMomentary,maxMomentaryPos = reaper.AZ_GetMediaItemLoudnessMaxMomentary(item)

- API Detail-

▼Input value

item (MediaItem): Media item


▼Output value

maxMomentary(double): Maximum loudness value (Momentary)

*The momentary value of the largest location within the specified media will be output.

maxMomentaryPos(double) : Maximum loudness start position (seconds)

- SCRIPT -

function Msg(param)

reaper.ShowConsoleMsg(tostring(param).."\n")

end


item = reaper.AZ_GetMediaItemSelect(0,0,0)

maxMomentary,maxMomentaryPos = reaper.AZ_GetMediaItemLoudnessMaxMomentary(item)


Msg(maxMomentary)

Msg(maxMomentaryPos)

Loudness

AZ_GetMediaItemLoudnessMaxMomentary

Supported versions:

1.0.3

onwards

Gets the maximum instantaneous loudness of the specified media.

bottom of page