top of page
- API -

reaper.AZ_SetSelectedMediaFade(projID,selectItemID,inType,inLen,outType,outLen)

- API Detail-

▼Input value

  • projID (ReaProject): Project ID

  • selectItemID(integer): Selected 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_SetSelectedMediaFade(0,0,2,0.5,2,1)

MEDIA

reaper.AZ_SetSelectedMediaFade

Supported versions:

1.0.3

onwards

Set the fade type and length for the selected media

bottom of page