Skip to content

String to wav. Analog of "text2wave" application, based on Microsoft SAPI (Speech API) that speak text from file or string, by choosen voice.

Notifications You must be signed in to change notification settings

gaybro8777/string2wav

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

string2wav

string to wav

Speaks text files to wav using Microsoft Speech API
An windows analog of unix "text2wave" application, based on Microsoft SAPI (Speech API) that speak text from file or string, by choosen voice.

Work with "UTF-8", "UTF-8 with BOM", "ANSI" encoded files

Speak by voices installed to your OS (by default in Windows 7 for ex. available only English female voice)

You can find addition voices. For ex. most used for Russian language:

  • Alyona (Acapela Group)
  • Katerina и Milena (ScanSoft - RealSpeak)

For work you must have SAPI installed (Windows 7 and later includes SAPI by default) Tested on Windows 7, Windows 2008 with SAPI 5.4

Usage :

See dist/test.bat for example commands

Available options :

-list : List available voices
-volume : Set volume from 0 to 10
-rate : Set rate from -10 to 10
-o : Set output wav file name (absolute or relative path)
-voice : Set voice (select by number from -list)
-s : Set string (use quotes, recommend only English)
-f : Set input file to load string from (absolute or relative path)

License

GNU General Public License v3

About

String to wav. Analog of "text2wave" application, based on Microsoft SAPI (Speech API) that speak text from file or string, by choosen voice.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Pascal 100.0%