skeskinen / UnrealMimic

UE4 Text-to-Speech plugin
MIT License
70 stars 27 forks source link

To get the duration of the SoundwaveProcedural #3

Open redbean opened 7 years ago

redbean commented 7 years ago

Dear Santtu Keskinen.

Is it possible to have the SoundwaveProcedural's duration(length)? or could you kindly provide any hints to have it?

Thanks.

skeskinen commented 7 years ago

Hi redbean. Sorry for late reply but I'm not really providing support for this package.

The sound wave is created asynchronously so you to wait until the sound wave is actually created before you can get the duration. You could add callback to function Say that is called when the processing is actually done.