Code Monkey home page Code Monkey logo

act.foxtts's Introduction

Profile summary

Noisyfox's github stats Top Langs

If you like my work, feel free to by me a coffe:

ko-fi

afdian

act.foxtts's People

Contributors

noisyfox 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  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  avatar

act.foxtts's Issues

[Feature request] 文字的正则替换

十分感谢您创作这个插件程序!

在使用这个插件的时候,我发现百度 TTS 特定音色某些单词的发音不正确(比如「女声」音色会把「AOE」当作一整个单词来念)
目前我通过将音色改为「男声」或者编辑时间轴文件来让其正确发音。
请问是否有能力增加文字正则替换功能,可以批量进行文字替换?

这个功能的重要程度并不高,如果您有闲暇可以考虑一下。

Language does not change

Hello, I changed the language to English and restarted ACT but the language does not change:
image

ACT Translate is also installed and it works there.
image
image

Also do I need translate to use the tts only?

WASAPI等内置回放API无法播放

WASAPI、DirectSound、Waveout都会出现相同的报错,
WinMM可正常使用。

日志:
[19:34:39] [Info] PlayerChanged: fromView = False, player = WASAPI
[19:34:40] [Info] Speak 今天天气真不错。
[19:34:40] [Error] Failed to speak "今天天气真不错。"
System.Runtime.InteropServices.COMException (0xC00D36B4): 为此媒体类型指定的数据无效、不一致或不受此对象的支持。 (异常来自 HRESULT:0xC00D36B4)
在 NAudio.MediaFoundation.IMFSourceReader.SetCurrentMediaType(Int32 dwStreamIndex, IntPtr pdwReserved, IMFMediaType pMediaType)
在 NAudio.Wave.MediaFoundationReader.CreateReader(MediaFoundationReaderSettings settings)
在 NAudio.Wave.MediaFoundationReader.Init(MediaFoundationReaderSettings initialSettings)
在 NAudio.Wave.MediaFoundationReader..ctor(String file)
在 NAudio.Wave.AudioFileReader.CreateReaderStream(String fileName)
在 NAudio.Wave.AudioFileReader..ctor(String fileName)
在 ACT.FoxTTS.playback.NAudioPlayerBase.Play(String file, Int32 volume, String deviceId)
在 ACT.FoxTTS.FoxTTSPlugin.Speak(String text)

插件版本:3.0.0.156
ACT版本:呆萌国服整合
系统版本:Win11 21H2 22000.675

声音输出设备

有办法更改默认的声音输出设备吗
现在foxtts总是会输出到 工作用的声音设备上

系统自带TTS音量过小

如题,我所在的网络如果使用微软语音引擎的话经常会卡顿,所以需要使用系统自带TTS.
但是系统自带TTS的声音比微软语音小了大概30%,打本时经常听不清,请求帮助。
谢谢。

act-china-pluginerror

Initfailed:System.Xml.XmlException:缺少根元素,
在System.Xml.XmlTextReaderlmpl.Throw(Exception e)
在System.Xml.XmlTextReaderlmpl.ParseDocumentConte()
在ACT.FoxTTS.PIuginSettings.Load()
在ACT.FoxTTS.FoxTTSPIugin.lnitPlugin(TabPagepluginScreenSpace,
LabelpluginStatusText)

ACT ver2.19(国服整合版本)

新版本1.0.4百度语音引擎无法调用

不知道是普遍问题还是我个人的问题,我尝试申请了新的百度语音API,插件还是无法正常工作,具体日志如下:
[10:17:38] TTSEngine Changed: fromView = True, engine = ttsEngineBaidu
[10:17:38] yukkuriEnabled = True
[10:17:39] TTSYukkuri injected!
[10:18:07] System.AggregateException: 发生一个或多个错误。 ---> System.Net.Http.HttpRequestException: 发送请求时出错。 ---> System.Net.WebException: 基础连接已经关闭: 发送时发生错误。 ---> System.IO.IOException: 由于远程方已关闭传输流,身份验证失败。
在 System.Net.TlsStream.EndWrite(IAsyncResult asyncResult)
在 System.Net.ConnectStream.WriteHeadersCallback(IAsyncResult ar)
--- 内部异常堆栈跟踪的结尾 ---
在 System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
在 System.Net.Http.HttpClientHandler.GetResponseCallback(IAsyncResult ar)
--- 内部异常堆栈跟踪的结尾 ---
--- 内部异常堆栈跟踪的结尾 ---
在 System.Threading.Tasks.Task1.GetResultCore(Boolean waitCompletionNotification) 在 ACT.FoxCommon.update.UpdateCheckerBase2.UpdateCheckerThread.DoWork(UpdateContext context)
---> (内部异常 #0) System.Net.Http.HttpRequestException: 发送请求时出错。 ---> System.Net.WebException: 基础连接已经关闭: 发送时发生错误。 ---> System.IO.IOException: 由于远程方已关闭传输流,身份验证失败。
在 System.Net.TlsStream.EndWrite(IAsyncResult asyncResult)
在 System.Net.ConnectStream.WriteHeadersCallback(IAsyncResult ar)
--- 内部异常堆栈跟踪的结尾 ---
在 System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
在 System.Net.Http.HttpClientHandler.GetResponseCallback(IAsyncResult ar)
--- 内部异常堆栈跟踪的结尾 ---<---

[10:18:13] Baidu.Aip.AipException: 操作超时
在 Baidu.Aip.AipServiceBase.SendRequetRaw(AipHttpRequest aipRequest)
在 Baidu.Aip.Speech.Tts.PostAction(AipHttpRequest aipReq)
在 Baidu.Aip.Speech.Tts.Synthesis(String text, Dictionary2 options) 在 ACT.FoxTTS.engine.baidu.BaiduTTSEngine.Speak(String text, Object playDevice, Boolean isSync, Nullable1 volume)
在 CallSite.Target(Closure , CallSite , ITTSEngine , String , Object , Boolean , Nullable1 ) 在 System.Dynamic.UpdateDelegates.UpdateAndExecuteVoid5[T0,T1,T2,T3,T4](CallSite site, T0 arg0, T1 arg1, T2 arg2, T3 arg3, T4 arg4) 在 ACT.FoxTTS.FoxTTSPlugin.Speak(String text, Object playDevice, Boolean isSync, Nullable1 volume)

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.