top of page
- API -

objList = reaper.AZ_Wwise_SearchSoundItemFromName(parentID, name, isPartialMatch)

- API Detail-

▼Input values

・parentID(string): parent object ID or path (blank means the entire project)

・name(string): name to filter by (no filter if blank)

・isPartialMatch(bpplean): True: partial match / False: exact match


▼Output values

・objList(table): list of search results

  -ID(String): object ID

  -Name(String): object name

  -Path(String): object path

- 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("pratial, under an object")

    objList = reaper.AZ_Wwise_SearchSoundItemFromName(itemList[1]["ID"], "AZ_vo_PL0000_ACTION", true)

    for k, obj in pairs(objList ) do

        for k, v in pairs(obj ) do

            Msg(k .. " : " .. tostring(v))

        end

    end

    Msg("")

    

    Msg("perfect, under an object")

    objList = reaper.AZ_Wwise_SearchSoundItemFromName(itemList[1]["ID"], "AZ_vo_PL0000_ACTION", false)

    for k, obj in pairs(objList ) do

        for k, v in pairs(obj ) do

            Msg(k .. " : " .. tostring(v))

        end

    end

    Msg("")

    

    Msg("pratial, global")   

    objList = reaper.AZ_Wwise_SearchSoundItemFromName("", "AZ_vo_PL0000_ACTION", true)

    for k, obj in pairs(objList ) do

        for k, v in pairs(obj ) do

            Msg(k .. " : " .. tostring(v))

        end

    end


    reaper.AZ_Wwise_Disconnect()

end

Wwise

AZ_Wwise_SearchSoundItemFromName

Supported versions:

1.0.0

onwards

Get the sound object with the matching name

bottom of page