top of page
- API -

busList, masterCount = reaper.AZ_Wwise_GetAllBusAncestorList(itemID, excludeList)

- API Detail-

▼Input values

・itemID(string): Wwise object ID

・excludeList(table): list of object names to exclude when retrieving

・busListOut(table): output variable, pass "[]" (optional)

・masterCountOut(integer): output variable, pass "0" (optional)


▼Output values

・itemID(string): input value

・excludeList(table): input value

・busList(table): array of bus objects

  -ID(string): bus ID

  -Name(string): bus name

  -Volume(number): bus volume value

  -OutputBusVolume(number): volume value for the output bus

  -BusVolume(number): bus volume value

・masterCount(integer): 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

Wwise

AZ_Wwise_GetAllBusAncestorList

Supported versions:

1.0.0

onwards

Get all buses and their ancestors set on a specified Wwise object

bottom of page