top of page
- API -
reaper.AZ_SetMediaItemRate(mediaItem,setRare)
- API Detail-
▼Input value
MediaItem (MediaItem): Media item
rate(number) : The speed 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_SetMediaItemRate(mediaItem,2)
MEDIA
AZ_SetMediaItemRate
Supported versions:
1.0.3
onwards
Set the speed of the specified media item.
bottom of page