La section Questions et réponses de la communauté Audiokinetic est un forum où les utilisateurs de Wwise et de Strata peuvent poser des questions et répondre à celles des autres membres de la communauté. Si vous souhaitez obtenir une réponse de la part de l'équipe de soutien technique d'Audiokinetic, veillez à utiliser le formulaire de Tickets de Soutien.

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.
 
dans General Discussion par Beinan Li 李北南 (160 points)

1 Réponse

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