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_SetTrackMediaFade(0,2,0,1,0.2,3,0.5)


retval = AZ_SetTrackMediaFade(projID, trackID,trackItemID, inTypeOut,inLenOut,outTypeOut,outLenOut)

- API -



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

- API Detail-

▼Input value

  • projID (ReaProject): Project ID

  • trackID(integer): Track ID

  • trackItemID: Track 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