Giter Club home page Giter Club logo

text-to-speech-ue4's Introduction

TextToSpeech UE4 plugin

Text-to-speech synthesis for Unreal Engine 4.21 via Windows SAPI. Based on https://github.com/indomitusgames/TextToSpeech-UE4 (major bugfixes/improvements).

How to use it

  • Checkout the code into your project's "Plugins" directory. It may be necessary to create it under the project root.
  • Check the plugin is active in Unreal Engine 4 editor.
  • The plugin exposes a new Blueprint node, "TextToWave", which output SoundWave. Just use some kind of standard "Play Sound" node to play it.

TextToWave parameters:

text-to-speech-ue4's People

Contributors

dogfuntom avatar yar3333 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

text-to-speech-ue4's Issues

Does not build 4.26

UATHelper: Packaging (Windows (64-bit)): FMRTTSLib.lib(FMRTTSLib.obj) : error LNK2001: unresolved external symbol "class ATL::CAtlBaseModule ATL::_AtlBaseModule" (?_AtlBaseModule@ATL@@3VCAtlBaseModule@1@A)
UATHelper: Packaging (Windows (64-bit)): ***\Binaries\Win64\Astronaut.exe : fatal error LNK1120: 1 unresolved externals

Missing Module ATL

Hi!

Great Plugin, thank you very much!
I ran into an issue, where I couldn't package because the atls.lib weren't add to PublicBuildPath in the build.cs. Adding to it fixed the problem.

Maybe you want to adjust it.

Best regards!

Fails To Package

Created new blank project (Name = SpeechTest) with 4.21.1 , created plugin folder and placed it in and built solution using visual studio. Everything in the editor works perfectly but when I try to package it it fails.

common thing I've found is the line
:D:\p4\projects\SpeechTest\Plugins\TextToSpeech\Source\TextToSpeechRuntime\TextToSpeechRuntime.Build.cs: warning: Modules must specify an explicit precompiled header (eg. PrivatePCHHeaderFile = "Private/TextToSpeechRuntimePrivatePCH.h") from UE 4.21 onwards.:

Also
"PackagingResults: Warning: Referenced directory 'D:\p4\projects\SpeechTest\Plugins\TextToSpeech\Source\FMRTTSLib' does not exist.
UATHelper: Packaging (Windows (64-bit)): Parsing headers for SpeechTest"

This doesnt come up as an error by simply placing the folder "FMRTTSLib" in the source folder how ever. (don't know if that's correct though)

4.26.2 packaging errors

Not sure how active this project is still, but I am having an issue with my libraries. This is after I have rebuilt them per recommendation from yar3333 on the UE4 Forums.

1st Packaging Error:
UATHelper: Packaging (******): D:/EPIC/Projects/******Project/Plugins/text-to-speech-ue4-master/Source/TextToSpeechSoundWave.cpp(3): fatal error C1083: Cannot open include file: 'FMRTTSLib.h': No such file or directory
(I can confirm the plugin has all the necessary files.)

When I address the 1st issue, by updating the #include FMRTTSLib.h location, it leads to this 2nd Error.
2nd Packaging Error:
UATHelper: Packaging (********): Module.TextToSpeech.cpp.obj : error LNK2019: unresolved external symbol
"public: static char * __cdecl FMRTTSLib::FMRTTSLibMain::TextToWav(wchar_t const *,wchar_t const *,long,wchar_t const *,unsigned long *)" (?TextToWav@FMRTTSLibMain@FMRTTSLib@@SAPEADPEB_W0J0PEAK@Z) referenced in function "public: bool __cdecl UTextToSpeechSoundWave::Initialize(class FString const &,class FString const &,int,class FString const &)"
(?Initialize@UTextToSpeechSoundWave@@QEAA_NAEBVFString@@0h0@Z)

UATHelper: Packaging (): D:\EPIC\Projects*\Binaries*************Projectarm64.exe : fatal error LNK1120: 1 unresolved externals

I'm hoping it something I just not understanding.

Thanks,
PJJ

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.