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.

Wwise and Unity Audio for runtime TextToSpeech

0 votes
Hi, I am working on our game's dialogue system and I'm trying to make it as easy as possible for us to test our dialogue with TextToSpeech (TTS) and I'm wondering,

1. is there any way to pass runtime generated (or pre generated) audio to Wwise without having to touch actual Wwise project?

2. If there isn't, does a workaround exist for having both Unity Audio enabled and Wwise at the same time? This currently works in the editor and on Windows, but not on Xbox, as I just realized.

 

Thanks for any thoughts,
Erik
asked Apr 11, 2022 in General Discussion by Erik N. (100 points)

1 Answer

0 votes

Hi,

Perhaps you could try using WAAPI to pre-generate audio files from text

Please check ak-brodrigue/waapi-text-to-speech: Demonstrates how to generate WAV files using text-to-speech from Wwise directly. (github.com)

answered Apr 11, 2022 by Hou Chenzhong (Audiokinetic) (6,010 points)
Hi,

thank you for your suggestion! Yes, that does seem to be workaround for this.
So I'm trying to do what you suggested but I run into an issue where when I reimport already existing sounds, it creates new events instead of reusing the old event. I posted a question about it in a different post https://www.audiokinetic.com/qa/10172/there-stop-wwise-from-creating-events-with-importing-sounds.
...