kxxt / aspeak

A simple text-to-speech client for Azure TTS API.
MIT License
494 stars 57 forks source link

feat: batch processing API #72

Open kxxt opened 1 year ago

kxxt commented 1 year ago

Add two sub commands that process a batch of inputs.

The input file to this two sub commands is of the following format:

/home/user/1.txt
/home/user/2.txt

It produces the following files:

/home/user/1.mp3
/home/user/2.mp3

As an improvement, we might add a --output argument that specifies how the output file should be named.

e.g. for ./1.txt, --output=/home/user/Downloads/[name].mp3 produces /home/user/Downloads/1.mp3 and --output=/home/user/Downloads/xxx[name].mp3 produces /home/user/Downloads/xxx1.mp3

CNDotaBest commented 1 year ago

你好您是把批处理又删除了吗?

kxxt commented 1 year ago

你好您是把批处理又删除了吗?

No, this feature has never been implemented.