top of page

function Msg(param)

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

end


mediaItem = reaper.AZ_GetMediaItemSelect(0,0,0)

reaper.AZ_SetMediaItemFade(mediaItem,6,1,1,0.5)

- SCRIPT -

reaper.AZ_SetMediaItemFade(mediaItem,inType,inLen,outType,outLen)

- API -

ID

MEDIA

reaper.AZ_SetMediaItemFade

対応バージョン:

2.0.0

以降

Sets the fade time type and duration (seconds) for the specified media item.

- API Detail-

▼Input value

  • MediaItem (MediaItem): Media item

  • 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(bool): Whether the API execution was successful or not

bottom of page