top of page

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)

- SCRIPT -

inType,inLen,outType,outLen= reaper.AZ_GetSelectedMediaFade(projID,selectTrackID,trackItemID)

- API -

ID

MEDIA

reaper.AZ_GetSelectedTrackMediaFade

対応バージョン:

以降

Gets the fade type and length of the specified media in the specified selected track.

- 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)

bottom of page