top of page


GameAudio & Art

import sys

sys.path.append(RPR_GetResourcePath() + r"\UserPlugins")

from AZSTOKE_BRONZE_python import *

def Msg(parm):

    RPR_ShowConsoleMsg(str(parm) + "\n")

retval = AZ_SetSelectedMediaFade(0,2,2,0.2,3,0.5)


retval = AZ_SetMediaFade(projID, selectItemID, inTypeOut,inLenOut,outTypeOut,outLenOut)

- API -



Set the fade type and length for the selected media

- 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

bottom of page