Creates a Sound and a Soundseed Grain source plug-in, then imports a WAV file.
関数URI
ak.wwise.core.object.set
引数
{
"objects": [
{
"object": "\\Actor-Mixer Hierarchy\\Default Work Unit",
"children": [
{
"type": "Sound",
"name": "Grain",
"children": [
{
"type": "SourcePlugin",
"name": "Grain",
"classId": 11993090,
"import": {
"files": [
{
"audioFile": "C:\\Sound1.wav"
}
]
}
}
]
}
]
}
],
"onNameConflict": "merge"
}
結果
{
"objects": [
{
"id": "{FF8CD9E6-627F-4760-B0A9-F9AD3B3EB477}",
"name": "Default Work Unit",
"children": [
{
"id": "{54129975-8649-42C5-B5AE-BE5871C4D373}",
"name": "Grain",
"children": [
{
"id": "{4A8356D6-C925-4945-8C84-9F67D0B774EB}",
"name": "Grain",
"import": {}
}
]
}
]
}
]
}
Wwise Authoring APIの詳細は、 Wwise Authoring API (WAAPI)を使用する を参照してください。