ASR in Unreal Engine C++ #1960
-
Hi, I'm trying to get ASR working inside Unreal Engine for a university project. Does anyone know if this would be possible using sherpa, or even if this is the best direction for me to take? I don't know if I need to build libs or if I can do this another way, any help would be greatly appreciated :) |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 26 replies
-
yes, it's definitely possible. You can either download pre-built libs from us or you can build sherpa-onnx from source. |
Beta Was this translation helpful? Give feedback.
-
I think you are right. We should not return a struct object containing #2349 is an example fix for using tts in UE. Someone is helping test it in UE. If it works, we can do the same thing for ASR. |
Beta Was this translation helpful? Give feedback.
Okay, I'm gonna mark this as solved.
Unreal doesn't like the cxx api because of the MoveOnly Class, I think it clashes with Unreals garbage collection system.
I hate that I didn't try this earlier but I've used c-api instead (following closely to c api example), raw c code amongst a cpp class and it works perfectly!
Thanks Fangjun Kuang! Your help is greatly appreciated, my gratitude is immeasurable.
(I will probably be back with more questions soon... :D)