top of page

AZSTOKE/ALGAZODIK

GameAudio & Art

import sys

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

from AZSTOKE_BRONZE_python import *


def Msg(parm):

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

  

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

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

Msg(nameOut)


- SCRIPT -

mediaItem = AZ_InsertMediaTrackIdSecond(projID,track,filePath,startEndType,setSecond)

- API -

MEDIA

AZ_InsertMediaTrackIdSecond

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

- API Detail-

▼Input value

  • projID (integer): Project ID

  • trackID (int): Track ID

  • filePath(string): "File path name"

  • startEndType (integer): 0/time from 0 seconds 1/time from the last waveform point

  • setSecond(number): Installation position (seconds)

▼Output value

  • mediaItem(mediaItem) : Media item

bottom of page