top of page
- API -

rate = reaper.AZ_GetMediaItemRate(mediaItem)

- API Detail-

▼Input value

  • MediaItem (MediaItem): Media item

▼Output value

  • retval(bool): Whether the API execution was successful or not

  • rate(number):Speed

- SCRIPT -

function Msg(param)

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

end


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

rate = reaper.AZ_GetMediaItemRate(mediaItem)

Msg(rate)

MEDIA

AZ_GetMediaItemRate

Supported versions:

1.0.3

onwards

Get the speed of the specified media item.

bottom of page