Skip to content

Commit

Permalink
chore: bump version to v4.0.0-beta.4
Browse files Browse the repository at this point in the history
  • Loading branch information
kxxt committed Mar 3, 2023
1 parent d80998d commit 0e46536
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 6 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# aspeak Changelog

# v4.0.0-beta.4

- 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.
- Improve the python bindings.
- Update docs.
- Automatically publish to crates.io.

# v4.0.0-beta.3

- Fix: include aspeak binary in wheel package
Expand Down
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "aspeak"
version = "4.0.0-beta.3"
version = "4.0.0-beta.4"
edition = "2021"
authors = ["kxxt <[email protected]>"]
description = "A simple text-to-speech client based on Azure's speech synthesis API"
Expand Down
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ Now the prebuilt wheels are only available for x86_64 architecture.
Due to some technical issues, I haven't uploaded the source distribution to PyPI yet.
So to build wheel from source, you need to follow the instructions in [Install from Source](#Install-from-Source).

Because of manylinux compatibility issues, the wheels for linux are not available on PyPI. (But you can still build them from source.)

### Install from Source

#### CLI Only
Expand Down Expand Up @@ -416,13 +418,14 @@ $ aspeak text "Hello World" -F riff-48khz-16bit-mono-pcm -o high-quality.wav

The new version of `aspeak` is written in Rust, and the Python binding is provided by PyO3.

TODO
Here is a simple example:

```python
from aspeak import SpeechService, AudioFormat

service = SpeechService()
service.connect()
service.speak_text("Hello, world")
```

### Rust
Expand All @@ -433,6 +436,4 @@ Add `aspeak` to your `Cargo.toml`:
$ cargo add aspeak
```

Then you can use it in your code:

TODO
Then follow the [documentation](https://docs.rs/aspeak) of `aspeak` crate.

0 comments on commit 0e46536

Please sign in to comment.