Skip to content

Commit

Permalink
🦨 update dependencies, code, readme
Browse files Browse the repository at this point in the history
  • Loading branch information
wolfram77 committed Nov 17, 2021
1 parent 3d8721d commit df33934
Show file tree
Hide file tree
Showing 4 changed files with 275 additions and 196 deletions.
33 changes: 21 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Generate speech audio from super long text through machine (via ["Amazon Polly"], ["ffmpeg"]).
Generate speech audio from super long text through machine, via [Amazon Polly], [ffmpeg]).
> Do you want to:
> - Share your ideas anonymously on YouTube?
> - Pretend on phone that you are not a kid (Home Alone)?
Expand All @@ -8,19 +8,21 @@ Generate speech audio from super long text through machine (via ["Amazon Polly"]
> - Or, [Upload Wikipedia TTS videos on YouTube]?
Sample: ["I want to order a stuffed crust pizza"](https://clyp.it/zyuywxcb).
<br>

<br>
<br>

## setup

### install
## Setup

1. Run `npm install -g extra-amazontts` in **console**.
2. To install this as a package use `npm install extra-amazontts`.

<br>
<br>


## console
## Console

```bash
amazontts "I want to order a stuffed crust pizza"
Expand All @@ -38,7 +40,7 @@ echo "Dead man walking." | amazontts --log -vn Matthew
> Available [TTS voices]?

### reference
### Reference

```bash
amazontts [options] <text>
Expand Down Expand Up @@ -96,10 +98,12 @@ $TTS_BLOCK_SEPARATOR # set SSML block separator (.)
... # see Extra AWS Config options below
```
> See [Extra AWS Config] options.
<br>
<br>


## package
## Package

```javascript
const amazontts = require('extra-amazontts');
Expand All @@ -123,7 +127,8 @@ await amazontts('out.mp3', 'Dead man walking.', {
// out.mp3 created with different male voice (log enabled)
```

### reference

### Reference

```javascript
const amazontts = require('extra-amazontts');
Expand Down Expand Up @@ -179,24 +184,28 @@ options = {
}
```
> See [Extra AWS Config] options.
<br>
<br>


## similar
## Similar

Do you need anything similar?
- [extra-youtubeuploader] can upload videos with caption to YouTube.
- [extra-stillvideo] can generate video from audio and image.

Suggestions are welcome. Please [create an issue].
<br><br>

<br>
<br>


[![nodef](https://i.imgur.com/Ui0cS8T.jpg)](https://nodef.github.io)
> References: [SSML], [TTS voices], [TTS client docs].
["Amazon Polly"]: https://aws.amazon.com/polly/
["ffmpeg"]: https://ffmpeg.org
[Amazon Polly]: https://aws.amazon.com/polly/
[ffmpeg]: https://ffmpeg.org
[Upload Wikipedia TTS videos on YouTube]: https://www.youtube.com/results?search_query=wikipedia+audio+article

[Extra AWS Config]: https://www.npmjs.com/package/extra-awsconfig
Expand Down
Loading

0 comments on commit df33934

Please sign in to comment.