top of page
- 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)
  • isUnique(Bool): Whether to create a new object if one with the same name already exists



▼output   value

WwiseObject(WwiseObject) : ID, Name, Path

- SCRIPT -

dofile(reaper.AZ_GetLuaInitPath())

require("reaper_AZSTOKE_GOLD")


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

bottom of page