top of page

AZSTOKE/ALGAZODIK

GameAudio & Art

function Msg(param)

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

end


retval,inType,inLen,outType,outLen =reaper.AZ_GetTrackMediaFade(0,0,1)


Msg(inType)

Msg(inLen)

Msg(outType)

Msg(outLen)

- SCRIPT -

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

- API -

MEDIA

reaper.AZ_GetTrackMediaFade

Gets the fade type and length for 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

  • 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