top of page

import sys

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

from AZSTOKE_BRONZE_python import *


def Msg(parm):

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

  

mediaItem = AZ_InsertMediaSelectedTrackIdSecond(0,1,"E:\\Test_sound\\AZ_vo_women_01.wav",0,1)

retval,_,nameOut,_ = AZ_GetMediaItemName(mediaItem,"",1024)

Msg(nameOut)


- SCRIPT -

mediaItem = AZ_InsertMediaSelectedTrackIdSecond(projID,selectTrackID,filePath,startEndType,setSecond)

- API -

対応バージョン:

2.1.0

以降

MEDIA

AZ_InsertMediaSelectedTrackIdSecond

Insert media at specified position (seconds) of specified selected track ID

- API Detail-

▼Input value

  • projID (int) : Project ID

  • selectTrackID (int): Selected track ID

  • filePath(string): "File path name"

  • startEndType (int) : 0/Time from 0 seconds 1/Time from the last waveform point

  • setSecond(float): Installation position (seconds)

▼Output value

  • mediaItem(mediaItem) : Media item

bottom of page