top of page
- API -

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

- API Detail -

▼入力値

・itemID(string) : WwiseオブジェクトのID

・excludeList(table) : 取得時に除外するオブジェクトの名前リスト

・busListOut(table)  : 出力用変数 「[]」を入力(任意)

・masterCountOut(integer)  : 出力用変数 「0」を入力(任意)


▼出力値

・itemID(string) : 入力値

・excludeList(table) : 入力値

・busList(table) : バスオブジェクトの配列

  -ID(string) : バスのID

  -Name(string) : バスの名前

  -Volume(number) : バスの音量値

  -OutputBusVolume(number) : 出力バスに対する音量値

  -BusVolume(number) : バスの音量値

・masterCount(integer) : マスターバスの数

- SIMPLE 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

対応バージョン:

1.0.0

以降

指定Wwiseオブジェクトに設定されたバスとその祖先をすべて取得

bottom of page