top of page
- API -

WwiseObject = reaper.AZ_Wwise_CreateSoundSFX(parentItemID, sourcePath, itemName, 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: empty string)
  • subFolder(string) : Subfolder (folder under Original) (optional, default: directly under Original/SFX)
  • isUnique(boolean): 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_CreateSoundSFX(selectedobjList[1]["ID"], "D:\\rigdocks\\01_APIDock\\a\\import_1.wav", "AZSTOKE")

     

    ShowObject(createdObj)

          

    Msg(reaper.AZ_GetErrorMsg())


    reaper.AZ_Wwise_Disconnect()


end

Wwise

AZ_Wwise_CreateSoundSFX

Supported versions:

1.1.0

onwards

Create a SoundSFX object

bottom of page