Version

menu_open
Wwise SDK 2023.1.4
Creating a new SFX with no file and setting a value to a property

Creates a new SFX under "objectPath", setting its volume attribute to 1.

Function URI

ak.wwise.core.audio.import

Arguments

{
"importOperation": "createNew",
"default": {},
"imports": [
{
"importLanguage": "SFX",
"@Volume": "1",
"objectPath": "\\Actor-Mixer Hierarchy\\Default Work Unit\\<Actor-Mixer>Test 0\\<Sequence Container>Container 0\\<Sound SFX>Sound 0"
}
]
}

Result

{
"log": [],
"files": [],
"objects": [
{
"name": "Test 0",
"id": "{47EF0874-4C86-4DB6-A63B-4411A1EA766E}"
},
{
"name": "Container 0",
"id": "{E9AD319F-BCC3-43C0-9645-851B758A86FD}"
},
{
"name": "Sound 0",
"id": "{692C77EB-7542-4AE9-A56A-ADB9D4CE0008}"
}
]
}

Refer to Using the Wwise Authoring API (WAAPI) for more information about Wwise Authoring API.


Was this page helpful?

Need Support?

Questions? Problems? Need more info? Contact us, and we can help!

Visit our Support page

Tell us about your project. We're here to help.

Register your project and we'll help you get started with no strings attached!

Get started with Wwise