Audiokinetic's Community Q&A is the forum where users can ask and answer questions within the Wwise and Strata communities. If you would like to get an answer from Audiokinetic's Technical support team, make sure you use the Support Tickets page.

0 votes

This works:

client.call('ak.wwise.core.soundbank.generate', {"soundbanks": [{"name":"bank_1"}],
                                                  "writeToDisk": True})
When i try to include events like this:
client.call('ak.wwise.core.soundbank.generate', {"soundbanks": [{"name":"bank_1"},{"events":["Event:Play_sfx_01"]}],
                                                 "writeToDisk": True})
 
I get the following error:
2020-04-05T17:27:50 WaapiClientAutobahn (ERROR): ('ApplicationError(error=<ak.wwise.invalid_arguments>, args=[], '
 'kwargs={\'message\': \'Required arguments are missing: ["name"].\', '
 "'details': {'schemaKeyword': 'required', 'schemaExpect': "
 '\'["name"]\', \'argumentPointer\': \'/soundbanks/1\', \'typeUri\': '
 "'ak.wwise.schema_validation_failed', 'argumentValue': "
 '\'{"events":["Event:Play_sfx_01"]}\', \'schemaDescription\': \'SoundBank '
 "Info.', 'procedureUri': 'ak.wwise.core.soundbank.generate', 'schemaPointer': "
 "'/properties/soundbanks/items', 'argumentName': 'soundbanks/1'}}, "
 'enc_algo=None, callee=None, callee_authid=None, callee_authrole=None, '
 'forward_for=None)')
 
EDIT: Figured out the correct shcema arguments:
client.call('ak.wwise.core.soundbank.generate', {"soundbanks": [{"name":"bank_1",
                                                                 "events":["{B401F098-AFF2-4E10-9D28-0FE9F4E2993B}"]}],
                                                 "writeToDisk": True})
in General Discussion by Eduardo B. (270 points)
edited by Eduardo B.

Please sign-in or register to answer this question.

...