Version

menu_open
Wwise SDK 2023.1.3
Importing an audio file to create a Sound SFX using a relative object path

Imports files using the importLocation, a relative objectPath, and an objectType.

Function URI

ak.wwise.core.audio.import

Arguments

{
"importOperation": "useExisting",
"default": {
"importLanguage": "SFX",
"importLocation": "\\Actor-Mixer Hierarchy\\Default Work Unit"
},
"imports": [
{
"audioFile": "C:\\audio0.wav",
"objectPath": "MySound",
"objectType": "Sound SFX"
}
]
}

Options

{}

Result

{
"log": [],
"files": [
"C:\\Projects\\Example\\Originals\\SFX\\audio0.wav"
],
"objects": [
{
"id": "{5EF24DFF-B9EC-4042-BF49-EC27B1135FB0}",
"name": "audio0"
},
{
"id": "{EB3051A3-5611-4608-AB5C-0EA3F9C3DD6C}",
"name": "MySound"
}
]
}

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