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

Hi,

I'm importing my generated TTS using the WAAPI and I specify the event I want the object to be connected to but everytime I reimport the same files, Wwise creates a new event and appends _01, _02 ... on the event names instead of reusing the same events. Without writing extra code to somehow delete those events through WAAPI, this will cause us to have an unreasonable amount of duplicate events. The code below is used to define the one item in the imports object.

audioFile = filePath + ".wav",
objectPath = "\\Actor-Mixer Hierarchy\\Default Work Unit\\<Sound>" + key,
importLanguage = "English(US)", // I think?
@event = $"Play_{key}@Play",

The following code is used to define the importArgs object

ImportArgs importArgs = new ImportArgs(){
            importOperation = "useExisting",
            @default = new DefaultArg(),
            imports = imports.ToArray(),

};

This documentation makes it sound like no new event will be created if there already is one. Is this a bug or am I misinterpreting it?

 

 

in General Discussion by Erik N. (100 points)

Please sign-in or register to answer this question.

...