Giter Club home page Giter Club logo

tts-now's Introduction

云语音合成助手

Build Status tag Latest Release Download Total Download Release Date license

跨平台基于云平台的语音合成 API 的文字转语音助手。支持单文本快速合成和批量合成。支持 windows、macOS、Linux。

目前支持阿里云、讯飞,其他平台陆续加入。

如果觉得不错,来个 star 支持下作者吧!你的 Star 是我更新代码的动力!:)

想任何想吐槽或者建议的都可以直接飞个 issue.

TODO

  • 接入百度云
  • 接入腾讯云
  • 增加升级更新提示
  • 配置框增加清除配置按钮

目录

发布

目前编译版本包含 Windows32/64、Mac、Linux 版,点此下载

平台

阿里云

阿里云创建语音合成 AppKey,以及阿里云账号 API Key。 直达

目前助手已内置阿里云 99 种场景合成。

讯飞

讯飞云 注册即可。

目前助手已经内置讯飞 100 多种场景语音合成。

需要注意的是,使用特定语音,需要在讯飞云控制台添加场景支持。

演示

演示

依赖

主要依赖库:

  • electron-builder
  • eslint
  • babel
  • css-loader
  • less
  • sass
  • typescript
  • webpack
  • prettier

目录

├── app.config.js                      // 基础配置
├── babel.config.js                    // babel 配置
├── build                              // 打包输出文件夹
│   ├── binary                         // 二进制打包输出
│   └── bundle                         // renderer main打包源输出
├── config                             // 打包配置
│   ├── dev.js                         // 开发监听启动
│   ├── dist.js                        // 发布打包源
│   ├── webpack.main.js                // background 编译
│   └── webpack.renderer.js            // renderer 编译
├── electron.builder.js                // electron.builder 二进制打包配置
├── global.d.ts                        // typescript 全局声明
├── lint-staged.config.js              // git commit 钩子
├── public                             // 静态文件
├── src                                // 页面源
│   ├── App.less                       // 入口样式
│   ├── assets                         // 资源文件
│   ├── background.ts                  // electron background
│   ├── config                         // 应用配置
│   ├── hook                           // hook
│   ├── index.tsx                      // entry file
│   ├── layout                         // 布局
│   ├── type                           // 声明文件
│   └── utils                          // 工具
└── tsconfig.json                      // typescript 配置
└── tslint.json                        // tslint 配置

开发

安装依赖先

$ yarn

然后可执行如下脚本命令:

# 开发服务启动
$ yarn serve

# Lint 格式化
$ yarn lint

# 源构建输出
$ yarn dist

# 根据当前系统构建
$ yarn build

# 基于 dist 输出,根据当前系统构建
$ yarn build:now

# 构建 Windows 二进制
$ yarn build:windows

# 构建 Mac 二进制
$ yarn build:mac

# 构建 Linux 二进制
$ yarn build:linux

# 构建三平台
$ yarn build:all

Contribution

如果你有任何的想法或者意见,欢迎提 Issue 或者 PR。

License

Apache-2.0 License © 2021 funnyzak

tts-now's People

Contributors

dependabot[bot] avatar funnyzak avatar gitter-badger avatar imgbotapp avatar renovate[bot] 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  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

tts-now's Issues

11200: licc failed.

Description

环境

Windows 10 专业版
22H2

配置流程

  1. 从Github下载了win版本的可执行文件 TTS Now 1.0.6并安装
  2. 在讯飞平台创建了应用获取了接口
  3. 将接口添加到 TTS Now 中
  4. 选了几个人物,都是报11200: licc failed.错误

Some feedback

Description

能不能输出的文件格式可以标记出是哪个说话人捏?这样针对某些做kws的朋友会友好一些。如果再增加所有说话人的同一个本文的audio批量导出就更好用啦。另外感谢您的分享,尤其是批量导出功能很好用。

Why

这样针对某些做kws的朋友会友好一些

Alternatives

现在KWS的一些产品趋势是用合成的音频进行训练,能减少购买真实语料的成本,所以这个工具对我们来说还是比较方便的,但是还能再增加Description里提到的两个功能就更好啦^_^

android版TTS

Is your feature request related to a problem? Please describe.
其实这个项目 可以做成一个安卓TTS的APP阿里有语音合成工具比很多手机自带的TTS效果好,做一个APP应该会有市场前景
Describe the solution you'd like
A clear and concise description of what you want to happen.

Additional context
Add any other context or screenshots about the feature request here.

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

Ignored or Blocked

These are blocked by an existing closed PR and will not be recreated unless you click a checkbox below.

Detected dependencies

github-actions
.github/workflows/ci.yml
  • actions/checkout v3
  • mikepenz/release-changelog-builder-action v3.4.0
  • actions/setup-node v3
  • actions/cache v3
  • samuelmeuli/action-electron-builder v1
  • softprops/action-gh-release v1
.github/workflows/test.yml
  • actions/checkout v3
  • actions/setup-node v3
  • actions/cache v3
npm
package.json
  • @alicloud/pop-core ^1.7.12
  • @ant-design/icons ^4.7.0
  • @emotion/react ^11.10.4
  • @emotion/styled ^11.10.5
  • @funnyzak/http-server ^0.2.3
  • aliyun-nls ^0.3.8
  • antd ^5.0.0
  • bufferutil ^4.0.7
  • core-js ^3.26.0
  • crypto-js ^4.1.1
  • electron-store ^8.1.0
  • nanoid ^4.0.0
  • node-downloader-helper ^2.1.4
  • normalize.css ^8.0.1
  • react ^18.2.0
  • react-audio-player ^0.17.0
  • react-dom ^18.2.0
  • react-icons ^4.6.0
  • request ^2.88.2
  • request-promise ^4.2.6
  • typescript ^4.9.4
  • utf-8-validate ^5.0.10
  • ws ^8.11.0
  • xfyun-nls ^0.2.4
  • @babel/core ^7.20.2
  • @babel/preset-env ^7.19.4
  • @emotion/eslint-plugin ^11.10.0
  • @types/react ^18.0.24
  • @types/react-dom ^18.0.8
  • @types/styled-components ^5.1.26
  • @typescript-eslint/eslint-plugin ^5.42.1
  • @typescript-eslint/parser ^5.41.0
  • babel-loader ^9.0.0
  • chalk 4.1.2
  • copy-webpack-plugin ^11.0.0
  • cross-env ^7.0.3
  • css-loader ^6.7.1
  • electron 22.0.0
  • electron-builder ^23.6.0
  • eslint ^8.26.0
  • eslint-config-airbnb ^19.0.4
  • eslint-plugin-html ^7.1.0
  • eslint-plugin-import ^2.26.0
  • eslint-plugin-jsx-a11y ^6.6.1
  • eslint-plugin-react ^7.31.10
  • eslint-plugin-react-hooks ^4.6.0
  • git-revision-webpack-plugin ^5.0.0
  • handlebars ^4.7.7
  • html-loader ^4.2.0
  • html-webpack-plugin ^5.5.0
  • husky ^8.0.1
  • less ^4.1.3
  • less-loader ^11.1.0
  • lint-staged ^13.0.3
  • micromatch ^4.0.5
  • node-sass ^8.0.0
  • npm-check-updates 16.5.3
  • prettier 2.8.1
  • sass-loader ^13.1.0
  • source-map-loader ^4.0.1
  • style-loader ^3.3.1
  • stylelint ^14.14.0
  • ts-loader ^9.4.1
  • tsconfig-paths-webpack-plugin ^4.0.0
  • webpack ^5.74.0
  • webpack-cli ^5.0.0
  • webpack-dev-server ^4.11.1
  • node >= 16.0.0

  • Check this box to trigger a request for Renovate to run again on this repository

MAC版本提示免费试用期已满

已经购买了阿里云的语音合成TTS资源包,提示如下内容
MAC版
400 - {"error message". "Gateway:FREE TRIAL EXPIRED:The free trial has
expired!" "error_ code":40000010," request id". "99ebcdbc788e4199abffca021a27af82", "url":"/rest/v1/tts/async","status":400}

无法导出音频文件

Description

能正常播放,但按导出按钮选择导出目录后在对应目录看不到有文件导出

字幕文件配音

Description

导入字幕文件,按照时间轴生成语音。

Why

我觉得该软件在视频制作方面用途比较多。

如果能将是字幕文件一键生成配音会很有用

Alternatives

只能一小段一小段配音,然后添加到视频中

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.