top of page
- API -

mediaItem = reaper.AZ_InsertMediaSelectedTrackIdFrame(projID,selectTrackID,filePath,startEndType,setFrame)

- API Detail-

▼Input value

  • projID (integer): Project ID

  • selectTrack(integer): 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

- SCRIPT -

function Msg(param)

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

end


mediaItem = reaper.AZ_InsertMediaSelectedTrackIdFrame(0,1,"E:\\Test_sound\\AZ_vo_women_01.wav",0,30)

name = reaper.AZ_GetMediaItemName(mediaItem)

Msg(name)

MEDIA

AZ_InsertMediaSelectedTrackIdFrame

Supported versions:

2.1.0

onwards

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

bottom of page