top of page
function Msg(param)
reaper.ShowConsoleMsg(tostring(param).."\n")
end
mediaItem = reaper.AZ_GetMediaItemSelect(0,0,0)
retval,inType,inLen,outType,outLen = reaper.AZ_GetMediaItemFade(mediaItem)
Msg(inType)
Msg(inLen)
Msg(outType)
Msg(outLen)
- SCRIPT -
retval,inType,inLen,outType,outLen = reaper.AZ_GetMediaItemFade(mediaItem)
- API -
ID
MEDIA
reaper.AZ_GetMediaItemFade
対応バージョン:
2.0.0
以降
Get the fade time type and duration (seconds) for the specified media item.
LUA
- API Detail-
▼Input value
MediaItem (MediaItem): Media item
▼Output value
retval(bool): Whether the API execution was successful or not
inType(integer): Type of start fade (0 to 6)
inLen(number): Length of the start fade (in seconds)
outType(integer): End fade type (0 to 6)
outLen(number): Length of the end fade (in seconds)
bottom of page