top of page
- API -
inType,inLen,outType,outLen= reaper.AZ_GetSelectedMediaFade(projID,selectTrackID,trackItemID)
- API Detail-
▼Input value
projID (ReaProject): Project ID
selectTrackID(integer): Select track ID
trackItemID(integer): Track item ID
▼Output value
retval(boolean): Success or failure of API execution
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)
- SCRIPT -
function Msg(param)
reaper.ShowConsoleMsg(tostring(param).."\n")
end
inType,inLen,outType,outLen =reaper.AZ_GetSelectedTrackMediaFade(0,1,2)
Msg(inType)
Msg(inLen)
Msg(outType)
Msg(outLen)
MEDIA
AZ_GetSelectedTrackMediaFade
Supported versions:
1.0.3
onwards
Gets the fade type and length of the specified media in the specified selected track.
bottom of page