top of page
- API -
volume = reaper.AZ_GetMediaItemVolume(mediaItem)
- API Detail-
▼Input value
MediaItem (MediaItem): Media item
▼Output value
retval(bool): Whether the API execution was successful or not
volume(number): The acquired volume
- SCRIPT -
function Msg(param)
reaper.ShowConsoleMsg(tostring(param).."\n")
end
mediaItem = reaper.AZ_GetMediaItemSelect(0,0,0)
volume = reaper.AZ_GetMediaItemVolume(mediaItem)
Msg(volume)
MEDIA
AZ_GetMediaItemVolume
Supported versions:
2.0.0
onwards
Get the volume (dB) of the specified media item.
bottom of page