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