top of page
- API -

inType,inLen,outType,outLen= GetTrackMediaFade(projID,trackID,trackItemID)

- API Detail-

▼Input value

  • projID (ReaProject): Project ID

  • trackID(integer): 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_GetTrackMediaFade(0,0,1)


Msg(inType)

Msg(inLen)

Msg(outType)

Msg(outLen)

MEDIA

reaper.AZ_GetTrackMediaFade

Supported versions:

1.0.3

onwards

Gets the fade type and length for the specified media in the specified track.

bottom of page