Version

menu_open
Wwise SDK 2023.1.3
Importing audio files to create Sound SFX and Audio File Sources

Imports files using an absolute objectPath that includes the object type for the Sound SFX and the Audio File Source.

Function URI

ak.wwise.core.audio.import

Arguments

{
"importOperation": "replaceExisting",
"default": {
"importLanguage": "SFX"
},
"imports": [
{
"audioFile": "C:\\audio0.wav",
"objectPath": "\\Actor-Mixer Hierarchy\\Default Work Unit\\<Sound SFX>MySound\\<AudioFileSource>_MyActiveSource"
},
{
"audioFile": "C:\\audio1.wav",
"objectPath": "\\Actor-Mixer Hierarchy\\Default Work Unit\\<Sound SFX>MySound\\<AudioFileSource>OtherSource"
}
]
}

Options

{}

Result

{
"log": [],
"files": [
"C:\\Projects\\Example\\Originals\\SFX\\audio0.wav",
"C:\\Projects\\Example\\Originals\\SFX\\audio1.wav"
],
"objects": [
{
"id": "{FC700D71-5AF1-4B43-A669-6D208591BDFD}",
"name": "MySound"
},
{
"id": "{5F3C304E-6BFF-47E2-9089-B4A17FB229B2}",
"name": "_MyActiveSource"
},
{
"id": "{281AB61E-2D79-465B-B050-24986AACB2AF}",
"name": "OtherSource"
}
]
}

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