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

Hello Wwise,

I found an issue when querying localized SoundBank file path via WAAPI. 

Test setup

  • Version: Wwise 2019.1.1
  • OS: Windows 10
  • Project: IntegrationDemo
  • Case: Query the localized SoundBank: Human by GUID
from waapi import WaapiClient
with WaapiClient() as client:
    # NOTE: client will automatically disconnect at the end of the scope
    query = {
        "from": {"id": ['{8C1E28D2-566C-4D29-B544-2610D577A12C}']},
        "options": {"return": ["id", "name", "type", "soundbank:bnkFilePath"]}
    }

    result = client.call("ak.wwise.core.object.get", query)
    print('WAAPI result: {}'.format(result))
 
On my machine, soundbank:bnkFilePath turns out to be:
'C:\\\\Audiokinetic\\\\Wwise_2019.1.1.6977\\\\SDK\\\\samples\\\\IntegrationDemo\\\\WwiseProject\\\\GeneratedSoundBanks\\\\Windows\\\\Human.bnk'
which is unexpected: It should be 
'C:\\\\Audiokinetic\\\\Wwise_2019.1.1.6977\\\\SDK\\\\samples\\\\IntegrationDemo\\\\WwiseProject\\\\GeneratedSoundBanks\\\\Windows\\\\<Language>\\\\Human.bnk'
If no current language specified, IMHO, this had better return a list of paths, each corresponding to a valid language of the project.
 
Similarly, if a SoundBank has mixed localized and non-localized content, one would expect the query to return the paths to all existing BNK files.
 
Hope this helps.
 
in General Discussion by Beinan Li 李北南 (160 points)

1 Answer

0 votes
Thank you Beinan for reporting the issue. WG-43852 was created.
by Bernard R. (Audiokinetic) (35.8k points)
...