Skip to content

Releases: kxxt/aspeak

v5.0.1-alpha.2

20 Apr 14:21
Compare
Choose a tag to compare
v5.0.1-alpha.2 Pre-release
Pre-release
  • Add binary feature to make rust lib less bloated

v5.0.0: Remove dead trial endpoint

18 Apr 07:30
Compare
Choose a tag to compare

Enhancements

  • Add support for --color={auto,always,never} options. And aspeak will also respect the NO_COLOR environment variable.
    • There is an edge case that aspeak will use colored output even if --color=never is specified.
      This is because aspeak uses clap to parse command line options. --color=never works only if the command line parsing is successful.
      So if you specify an invalid option, aspeak will print the error message and exit. In this case, aspeak will use colored output.
  • More documentation for the rust crate.
  • Minor performance improvements.
  • Now you can specify the custom voice list API url in your profile(field voice_list_api in section auth).

Breaking changes

  • The default trial endpoint has been removed because it was shutdown by Microsoft. Now you must set up authentication to use aspeak.
  • The default voice list API url has been removed for the same reason.
  • The rust API has been changed.
    • Synthesizer is now Send. Its various synthesize_* methods now takes &mut self instead of &self.
    • Now you need to use the builder pattern to create various options like TextOptions.
    • Fields of the Voice struct are now private. You can use the methods to access them.

Other changes

  • The PKGBUILDs for Arch Linux is no longer stored in this repository. You can find them in the AUR.

v4.3.1: Fix a bug that caused the endpoint and region settings in profile to be ineffective.

05 Apr 10:54
Compare
Choose a tag to compare
  • Fix a bug that caused the endpoint and region settings in profile to be ineffective.

v4.3.0

04 Apr 10:24
Compare
Choose a tag to compare
  • Add support for http and socks5 proxy. Command line option --proxy and environment variable http_proxy(or HTTP_PROXY) are available.
    • Example: aspeak --proxy "socks5://127.0.0.1:7890" text "Hello World"
    • You can also set the proxy in the auth section in your profile.
    • By now, connection to https proxy server is not supported!
    • For python binding, use the proxy keyword argument in the SpeechService constructor.
  • Fix: Now the list-voices command correctly handles the auth settings. (region, token, key)
  • Now you can specify the voice list API url when using the list-voices command.

v4.3.0-beta.2

31 Mar 13:16
Compare
Choose a tag to compare
v4.3.0-beta.2 Pre-release
Pre-release
  • Change the implementation of socks5 proxy.
  • Make the list-voices command respect the proxy settings.
  • Fix: Now the list-voices command correctly handles the auth settings. (region, token, key)
  • Now you can specify the voice list API url when using the list-voices command.

v4.3.0-beta.1: add support for proxy

30 Mar 13:06
Compare
Choose a tag to compare
Pre-release
  • Add support for http and socks5 proxy. Command line option --proxy and environment variable http_proxy(or HTTP_PROXY) are available.
    • Example: aspeak --proxy "socks5://127.0.0.1:7890" text "Hello World"
    • You can also set the proxy in the auth section in your profile.
    • By now, connection to https proxy server is not supported!
    • For python binding, use the proxy keyword argument in the SpeechService constructor.

v4.2.0

25 Mar 02:20
Compare
Choose a tag to compare
  • Show detailed error message in python bindings.
  • Fix: Previously, the role field in the default profile template is not commented out and set to Boy.
    You might want to comment it out if you are already using the default profile template and haven't changed it.
  • The role, style and style_degree fields are now commented out in the default profile template.
  • Feature: Now you can use --no-rich-ssml flag to disable rich SSML features such as role, style and style_degree.
    This is useful if you are using an endpoint that does not support rich SSML features.
  • Fix(Python bindings): Now the SpeechService constructor correctly takes an iterable instead of an iterator for headers keyword argument.
  • Fix: Now aspeak correctly handles endpoint urls that contain query parameters.

v4.1.0: support auth by azure subscription key

09 Mar 12:19
Compare
Choose a tag to compare
  • You can now use your azure subscription key to authenticate. Special thanks to @yhmickey
    for trusting me and providing me his subscription key for testing.

v4.0.0: Rewritten in Rust

04 Mar 02:35
Compare
Choose a tag to compare

aspeak has been rewritten in Rust!:tada: This is a major release and there are some breaking changes.
Please read the documentation carefully if you are upgrading from v3.x.

Fixes:

  • In some cases, the old aspeak can't play audio on some linux platforms.
  • aspeak now respects the encoding arg for both stdin and file.
  • Stricter validations for command line options.
  • Do not overwrite existing file unless --overwrite is specified.

New features:

  • Now you can use profiles to save your options.
    • For example, you can specify your native locale in your profile so that you don't need to specify it every time.
    • You can learn more about profiles in the documentation.
  • Theoretically, aspeak is now available on more platforms. But I will only publish binaries for Windows, macOS and Linux.
    • However, you can still compile aspeak from source on other platforms.
  • Now you can use custom endpoints and authentication tokens.
  • Now you can add custom request headers.
  • More user friendly output and error messages
  • Now I have set up GitHub Actions to build and publish automatically.
  • Now you can use aspeak as a library in your Rust projects.
    • You can learn more about the Rust API at docs.rs.

Changes:

  • RIIR
  • We no longer publish linux wheels to PyPI because of manylinux compatibility issues. Please compile from source if you want to use python bindings on linux.
  • The python bindings has been changed dramatically. Please read the documentation carefully if you are upgrading from v3.x.
  • The -F/--format option now takes kebab case values(e.g. audio-16khz-128kbitrate-mono-mp3) instead of pascal case values.

v4.0.0-rc.1

03 Mar 14:18
Compare
Choose a tag to compare
v4.0.0-rc.1 Pre-release
Pre-release
  • Update docs.
  • Fix a typo in config template.
  • Internal refactor.
  • Fix: Now you can use - to read from stdin.
  • Fix: Correct some CLI help messages.