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")

  

track = RPR_GetTrack(0,1)

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

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

Msg(nameOut)


- SCRIPT -

mediaItem = AZ_InsertMediaTrackItemFrame(track,filePath,startEndType,setSecond)

- API -

対応バージョン:

2.1.0

以降

MEDIA

AZ_InsertMediaTrackItemFrame

Insert media at a specific position (frame) in a specific track item

- API Detail-

▼Input value

  • track(mediaTrack) – The specified track ID

  • filePath(string): "File path name"

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

  • setFrame(int): Number of frames to set

▼Output value

  • mediaItem(mediaItem) : Media item

bottom of page