top of page
- API -

unmatchedPathList = reaper.AZ_TALKTRON_InsertMediaItems(subjectLangPath,baseLangPath, startPos, mediaInterval, startEndType, isVolMatch, isHANDAUTOMER, HANDAUTOMER_ratioType, trackNameList)

- API Detail-

▼Input value

・subjectLangPath: Path to the folder where the localized audio is stored

・baseLangPath: The path to the folder where the base audio is stored

・startPos: Media insertion start position (seconds)

・mediaInterval: Media interval (seconds)

・startEndType: Type of media insertion start position (0: From the beginning : 1: From the end of the project)

・isVolMatch: Whether to adjust the volume

・isHANDAUTOMER : Whether to execute HANDAUTOMER before adjusting the volume

・HANDAUTOMER_ratioType: Adjustment rate type when executing HANDAUTOMER (see HANDAUTOMER)

・trackNameList : List of tracks to be created (Audio containing the track name will be inserted into that track, and audio without a corresponding track will be inserted into the "None" track)


▼Output value

・unmatchedPathList : Paths of localized audio that were not processed because the base audio did not exist

- SCRIPT -

dofile(reaper.AZ_GetLuaInitPath())

require("reaper_AZSTOKE_SILVER")


retval, pathList = reaper.AZ_GetUserInputList("GetPath",3,"basePath:,sujectPath:,trackList:","D://,D://,3")


if retval then

   retval, trackList = reaper.AZ_GetUserInputList("TrackList",tonumber(pathList[3]),"track1,track2,track3,track4,track5","PL0000,PL0001,PL0002,PL0003,PL0004,PL0005")

   

   if retval then 

      unmatchedPathList = reaper.AZ_TALKTRON_InsertMediaItems(pathList[2],pathList[1], 0, 1, 0, true, true, 2, trackList)

      for i, value in pairs(unmatchedPathList) do

          Msg("主ボイスに存在しないファイル:"..value)

      end

   end

end

TALKTRON

AZ_TALKTRON_InsertMediaItems

Supported versions:

1.1.0

onwards

Multilingual volume auto-adjustment function

bottom of page