- API -
busList, masterCount = reaper.AZ_Wwise_GetAllBusAncestorList(itemID, excludeList)
- API Detail-
▼Input value
・itemID : Wwise object ID
・excludeList : A list of object names to exclude when retrieving
・busList: An array of bus objects
ID: Bus ID
Name: Name of the bus
Volume: The volume value of the bus.
OutputBusVolume : Volume value for the output bus
BusVolume : Bus volume value
・masterCount : Number of master buses
- SCRIPT -
dofile(reaper.AZ_GetLuaInitPath())
require("reaper_AZSTOKE_GOLD")
if (reaper.AZ_Wwise_Connect("127.0.0.1",8080)) then
itemList = reaper.AZ_Wwise_GetSelectedObjectList()
Msg("none exclusion")
busList, masterCount = reaper.AZ_Wwise_GetAllBusAncestorList(itemList[1]["ID"])
for k, obj in pairs(busList ) do
for k, v in pairs(obj ) do
Msg(k .. " : " .. tostring(v))
end
end
Msg("")
Msg("exclusion")
excludeList = {"Aux_02"}
busList, masterCount = reaper.AZ_Wwise_GetAllBusAncestorList(itemList[1]["ID"], excludeList)
for k, obj in pairs(busList ) do
for k, v in pairs(obj ) do
Msg(k .. " : " .. tostring(v))
end
end
Msg("")
Msg("masterCount : " ..tostring(masterCount))
reaper.AZ_Wwise_Disconnect()
end