top of page
- API -

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

- API Detail-

▼Input value

  • projID (ReaProject): Project ID

  • itemID(integer): Item ID

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

▼Output value

  • retval(boolean): Success or failure of API execution

- SCRIPT -

function Msg(param)

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

end

reaper.AZ_SetSelectedTrackMediaFade(0,2,2,6,0.5,1,0.2)

MEDIA

reaper.AZ_SetSelectedTrackMediaFade

Supported versions:

1.0.3

onwards

Set the fade type and length for the specified media in the specified selected track

bottom of page