top of page

AZSTOKE/ALGAZODIK

GameAudio & Art

function Msg(param)

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

end


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


Msg(inType)

Msg(inLen)

Msg(outType)

Msg(outLen)

- SCRIPT -

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

- API -

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