top of page

function Msg(param)

  reaper.ShowConsoleMsg(tostring(param).."\n")

end


track = reaper.GetTrack(0,1)

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

retval,name = reaper.AZ_GetMediaItemName(mediaItem)

Msg(name)

- SCRIPT -

mediaItem = reaper.AZ_InsertMediaTrackItemFrame(track,filePath,startEndType,setFrame)

- API -

対応バージョン:

2.1.0

以降

MEDIA

reaper.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 (integer): 0/time from 0 seconds 1/time from the last waveform point

  • setFrame(number): Installation position (frame)

▼Output value

  • mediaItem(mediaItem) : Media item

bottom of page