top of page
- API -

objList = reaper.AZ_Wwise_GetTotalVolume(itemID, language, options)

- API Detail-

▼Input values

・itemID(string): Wwise object ID or path

・language(string): language

・options(table): processing options (optional)

  -ExcludeBusList(table): list of bus names to exclude (string array)

  -ExcludeActorList(table): list of Actor-Mixer names to exclude (string array)

-AddBusList(table): list of bus objects to add

   -Name(string): name of the bus to add

   -Volume(number): volume


▼Output values

・totalVolume(number): total of volume settings

- 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()


    options = {

        ExcludeBusList = {

           "Aux_02"

        },

        ExcludeActorList = {

            "ACTOR_02"

       },

       AddBusList = {

          Name = "Aux_01", 

          Volume = -3.5

      }


    }


    totalVolume = reaper.AZ_Wwise_GetTotalVolume(itemList[1]["ID"], "Japanese", options)

    

    Msg(totalVolume)


    reaper.AZ_Wwise_Disconnect()

end


Wwise

AZ_Wwise_GetTotalVolume

Supported versions:

1.0.0

onwards

Calculates the sum of the volume settings up to the output of the specified Wwise object

bottom of page