top of page

function Msg(param)

 reaper.ShowConsoleMsg(tostring((param)).."\n")

end


length = reaper.AZ_GetTrackMediaLength(0, 1, 1)

Msg(length)

- SCRIPT -

length= reaper.AZ_GetTrackMediaLength(projID, trackID, trackItemID)

- API -

対応バージョン:

1.0.1

以降

MEDIA

reaper.AZ_GetTrackMediaLength

Get the length (in seconds) of the specified media in the specified track

- 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

  • length(number): Length of the media (seconds)

bottom of page