- API -
WwiseObject = reaper.AZ_Wwise_CreateSoundVoice(parentItemID, sourcePath, itemName, language, subFolder)
- API Detail-
▼input value
parentItemID(string) : Parent ID or Path
sourcePath(string) : Source path (optional Default: empty string)
itemName(string) : Item name (optional, default: blank)
language(string) : Language (optional Default: reference language)
subFolder(string) : Sub folder (under Original) (optional, default: directly under Original/language)
▼output value
WwiseObject(WwiseObject) : ID, Name, Path
- SCRIPT -
dofile(reaper.AZ_GetLuaInitPath())
require("reaper_AZSTOKE_GOLD")
function showObject(object, depth)
local obj = object
if depth == nil then depth = 0 end
if(type(obj) == "table") then
Msg("")
for k, v in pairs(obj) do
for i = 1, depth, 1 do reaper.ShowConsoleMsg(" ") end
reaper.ShowConsoleMsg(tostring(k) .. " : ")
showObject(v, depth + 4)
end
else
Msg(obj)
end
end
if reaper.AZ_Wwise_Connect("127.0.0.1", 8080) then
selectedobjList = reaper.AZ_Wwise_GetSelectedObjectList()
createdObj = reaper.AZ_Wwise_CreateSoundVoice(selectedobjList[1]["ID"], "D:\\rigdocks\\01_APIDock\\a\\import_4.wav")
showObject(createdObj)
Msg(reaper.AZ_GetErrorMsg())
reaper.AZ_Wwise_Disconnect()
end
Wwise
AZ_Wwise_CreateSoundVoice
Supported versions:
1.1.0
onwards
Create a SoundVoice object
![](https://static.wixstatic.com/media/fc32ca_cfec2d5db67f425193f906f3192acf1d~mv2.png/v1/fill/w_460,h_465,al_c,q_85,enc_avif,quality_auto/03_GOLD.png)