top of page

AZSTOKE/ALGAZODIK

GameAudio & Art

function Msg(param)

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

end


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

retval,name = reaper.AZ_GetMediaItemName(mediaItem)

Msg(name)

- SCRIPT -

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

- API -

ID

MEDIA

reaper.AZ_InsertMediaSelectedTrackIdSecond

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

- API Detail-

▼Input value

  • projID (integer): Project ID

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