Creates a Sound and an Impacter source plug-in, then imports WAV files.
Function URI
ak.wwise.core.object.set
Arguments
{
"objects": [
{
"object": "\\Actor-Mixer Hierarchy\\Default Work Unit",
"children": [
{
"type": "Sound",
"name": "Impacter",
"children": [
{
"type": "SourcePlugin",
"name": "Impacter",
"classId": 12058626,
"import": {
"files": [
{
"audioFile": "C:\\Sound1.wav"
},
{
"audioFile": "C:\\Sound2.wav"
},
{
"audioFile": "C:\\Sound3.wav"
}
]
}
}
]
}
]
}
],
"onNameConflict": "merge"
}
Result
{
"objects": [
{
"id": "{FF8CD9E6-627F-4760-B0A9-F9AD3B3EB477}",
"name": "Default Work Unit",
"children": [
{
"id": "{5EB1DA04-E70C-450A-87C1-EFA673466B6E}",
"name": "Impacter",
"children": [
{
"id": "{0DF0AE5B-48E0-44B9-A9BB-23296814AE78}",
"name": "Impacter",
"import": {}
}
]
}
]
}
]
}
Refer to Using the Wwise Authoring API (WAAPI) for more information about Wwise Authoring API.