Please be advised that the Audiokinetic offices will close at 3:00 p.m. EST on December 23rd, 2019 for the holiday period, and will reopen on January 3rd, 2020 at 9:00 a.m. EST. Learn more.

Community Q&A

Where Wwise users help each other out!

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

Bug 2019.1.1: WAAPI returns non-localized SoundBank file path when querying localized SoundBank

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.
 
asked Jun 17 in General Discussion by Beinan Li 李北南 (160 points)

1 Answer

0 votes
Thank you Beinan for reporting the issue. WG-43852 was created.
answered Jun 17 by Bernard R. (Audiokinetic) (27,450 points)
...