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. Support for Strata library starts on our Community Q&A.

Is there a way to stop Wwise from creating new events with _01 when importing sounds?

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?

 

 

asked Apr 12 in General Discussion by Erik N. (100 points)

Please sign-in or register to answer this question.

...