- API -
middlewareInfo = reaper.AZ_MIDDLESCANNER_Wwise_GetVolumeForMediaItem(item,language,parentID,options)
- API Detail-
▼Input value
・item(mediaItem): Media item
・language(string): Language
・parentID(string):
・options: Processing options (optional)
・ExcludeBusList: List of bus names to exclude (string array)
・ExcludeActorList: A list of actor-mixer names to exclude (string array)
・AddBusList: Object list of buses to add
・Name: Name of the bus to be added
・Volume: Volume
▼Output value
- middlewareInfo: The sum of the volume settings for the output of the Wwise object that corresponds to the media
・Item: Media item
・Volume: Volume
- SCRIPT -
dofile(reaper.AZ_GetLuaInitPath())
require("reaper_AZSTOKE_GOLD")
options = {
ExcludeBusList = {"Hall"},
}
item = reaper.AZ_GetMediaItemSelect(0,0,0)
if reaper.AZ_Wwise_Connect("127.0.0.1",8080) then
middlewareInfo = reaper.AZ_MIDDLESCANNER_Wwise_GetVolumeForMediaItem(item,"English(US)","",options)
Msg(middlewareInfo.Volume)
reaper.AZ_Wwise_Disconnect()
end