Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

A command line tool to read text with Microsoft Speech API (SAPI).

NotificationsYou must be signed in to change notification settings

brookhong/tts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A command line tool to read text with Microsoft Speech API (SAPI), written by Brook Hong in 2008.

Pre-built binary athttp://sharing-from-brook.16002.n6.nabble.com/file/n4967530/tts.zip

Usage

tts [options] [text_to_read]    -h       show this message.    -I       interactive mode.    -F       list all formats supported.    -V       list all voices installed.    -f <format index>        use the indexed format.    -v <voice index>         use the indexed voice.    -i <filename>    read from the file.    -o <filename>    output to the .wav file.    -l       output .lrc files.    -t       convert to .mp3 file.    -s <minutes>     split the output every X minutes, default by 5.

Example

1tts.exe -F to list all formats available on your computer.

0 SPSF_12kHz16BitStereo1 SPSF_16kHz16BitMono2 SPSF_16kHz16BitStereo3 SPSF_22kHz16BitMono4 SPSF_22kHz16BitStereo5 SPSF_24kHz16BitStereo6 SPSF_32kHz16BitStereo7 SPSF_44kHz16BitMono8 SPSF_44kHz16BitStereo9 SPSF_48kHz16BitMono10 SPSF_48kHz16BitStereo

2tts.exe -V to list all voices available on your computer.

0 Microsoft Anna - English (United States)1 ATT DTNV1.4 Crystal162 ATT DTNV1.4 Mike163 ATT DTNV1.4 Audrey164 Microsoft Lili - Chinese (China)5 VW Paul

3 now read text with format SPSF_48kHz16BitStereo and voice ATT DTNV1.4 Crystal16:

tts.exe -f 10 -v 1 "look, here is brook"

tts.exe -f 10 -v 1 "look, here is brook" -o look to generate look.wav instead of reading it.

tts.exe -f 10 -v 1 "look, here is brook" -o look -t to generate look.mp3 instead of reading it.

Build

cl tts.cpp lame.lib libmp3lame-static.lib mpglib-static.lib

About

A command line tool to read text with Microsoft Speech API (SAPI).

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages


[8]ページ先頭

©2009-2025 Movatter.jp