top of page
- API -

reaper.AZ_SetMediaItemAddVolume(mediaItem,addVolume)

- API Detail-

▼Input value

  • MediaItem (MediaItem): Media item

  • addVolume(number): Amount of volume increase or decrease

▼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)

retval = reaper.AZ_SetMediaItemAddVolume(mediaItem,1)

MEDIA

AZ_SetMediaItemAddVolume

Supported versions:

1.0.3

onwards

Add the volume (dB) of the specified media item.

bottom of page