Version

menu_open
Wwise SDK 2023.1.4
Importing audio files and creating multiple Sound SFX

Imports files specified by "audioFile" into "objectPath"

Function URI

ak.wwise.core.audio.import

Arguments

{
"importOperation": "useExisting",
"default": {
"importLanguage": "SFX"
},
"imports": [
{
"audioFile": "C:\\audio0.wav",
"objectPath": "\\Actor-Mixer Hierarchy\\Default Work Unit\\<Sequence Container>Test 0\\<Sound SFX>My SFX 0"
},
{
"audioFile": "C:\\audio1.wav",
"objectPath": "\\Actor-Mixer Hierarchy\\Default Work Unit\\<Sequence Container>Test 0\\<Sound SFX>My SFX 1"
}
]
}

Options

{
"return": [
"id",
"name",
"path"
]
}

Result

{
"log": [],
"files": [
"C:\\Projects\\Example\\Originals\\SFX\\audio0.wav",
"C:\\Projects\\Example\\Originals\\SFX\\audio1.wav"
],
"objects": [
{
"id": "{A5B353C5-ED95-4CFB-B90F-1650BB4E57BA}",
"name": "Test 0",
"path": "\\Actor-Mixer Hierarchy\\Default Work Unit\\Test 0"
},
{
"id": "{05D7495F-DC8F-4610-B485-91452F1DDC67}",
"name": "audio0",
"path": "\\Actor-Mixer Hierarchy\\Default Work Unit\\Test 0\\My SFX 0\\audio0"
},
{
"id": "{04E3C1E5-119F-4530-930C-2F5B4095A750}",
"name": "My SFX 0",
"path": "\\Actor-Mixer Hierarchy\\Default Work Unit\\Test 0\\My SFX 0"
},
{
"id": "{26019629-142E-4B07-A856-EBFE0758C64B}",
"name": "audio1",
"path": "\\Actor-Mixer Hierarchy\\Default Work Unit\\Test 0\\My SFX 1\\audio1"
},
{
"id": "{1543FE94-E262-4F35-BAB2-F58519976469}",
"name": "My SFX 1",
"path": "\\Actor-Mixer Hierarchy\\Default Work Unit\\Test 0\\My SFX 1"
}
]
}

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