- API -
objList = reaper.AZ_Wwise_SearchSoundItemFromName(parentID, name, isPartialMatch)
- API Detail-
▼Input value
parentID(string): The ID or path of the parent object (if blank, the whole project)
・name(string) : Name to filter by (blank for no filtering)
・isPartialMatch(bpplean) : True partial match / False exact match
▼Output value
・objList(table): List of search results
-ID(String): ID of the object
-Name(String) : Name of the object
-Path(String) : The path of the object.
- 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()
objList = reaper.AZ_Wwise_SearchSoundItemFromName(itemList[1]["ID"], "vo_1000", true)
for k, obj in pairs(objList ) do
for k, v in pairs(obj ) do
Msg(k .. " : " .. tostring(v))
end
end
objList = reaper.AZ_Wwise_SearchSoundItemFromName(itemList[1]["ID"], "vo_1000", false)
for k, obj in pairs(objList ) do
for k, v in pairs(obj ) do
Msg(k .. " : " .. tostring(v))
end
end
objList = reaper.AZ_Wwise_SearchSoundItemFromName("", "vo_1000", true)
for k, obj in pairs(objList ) do
for k, v in pairs(obj ) do
Msg(k .. " : " .. tostring(v))
end
end
reaper.AZ_Disconnect()
end