Unified · Split
| @@ -256,10 +256,10 @@ Where tar is gnu tar (gtar), and make is gnu make (gmake). · 255 unmodified lines | |||
| 256 | 256 | ||
| 257 | Or | 257 | Or |
| 258 | 258 | ||
| 259 | git clone http://github.com/festvox/flite | 259 | git clone http://github.com/festvox/flite |
| 260 | cd flite | 260 | cd flite |
| 261 | ./configure | 261 | ./configure |
| 262 | make | 262 | make |
| 263 | 263 | ||
| 264 | Configuration should be automatic, but maybe doesn't work in all cases | 264 | Configuration should be automatic, but maybe doesn't work in all cases |
| 265 | especially if you have some new compiler. You can explicitly set the | 265 | especially if you have some new compiler. You can explicitly set the |
| @@ -267,14 +267,14 @@ compiler in config/config and add any options you see fit. Configure · 1 unmodified line | |||
| 267 | tries to guess these but it might be unable to guess for cross | 267 | tries to guess these but it might be unable to guess for cross |
| 268 | compilation cases Interesting options there are | 268 | compilation cases Interesting options there are |
| 269 | 269 | ||
| 270 | -DWORDS_BIGENDIAN=1 for bigendian machines (e.g. Sparc, M68x, ar9331) | 270 | -DWORDS_BIGENDIAN=1 for bigendian machines (e.g. Sparc, M68x, ar9331) |
| 271 | -DNO_UNION_INITIALIZATION=1 For compilers without C 99 union inintialization | 271 | -DNO_UNION_INITIALIZATION=1 For compilers without C 99 union inintialization |
| 272 | -DCST_AUDIO_NONE if you don't need/want audio support | 272 | -DCST_AUDIO_NONE if you don't need/want audio support |
| 273 | 273 | ||
| 274 | There are different sets of voices and languages you can select between | 274 | There are different sets of voices and languages you can select between |
| 275 | them (and your own sets if you make config/XXX.lv). For example | 275 | them (and your own sets if you make config/XXX.lv). For example |
| 276 | 276 | ||
| 277 | ./configure --with-langvox=transtac | 277 | ./configure --with-langvox=transtac |
| 278 | 278 | ||
| 279 | Will use the languages and voices defined in config/transtac.lv | 279 | Will use the languages and voices defined in config/transtac.lv |
| 280 | 280 | ||
| @@ -294,12 +294,12 @@ must contain at least one "/") · 13 unmodified lines | |||
| 294 | If it compiles properly a binary will be put in bin/, note by | 294 | If it compiles properly a binary will be put in bin/, note by |
| 295 | default -g is on so it will be bigger than is actually required | 295 | default -g is on so it will be bigger than is actually required |
| 296 | 296 | ||
| 297 | ./bin/flite "Flite is a small fast run-time synthesis engine" flite.wav | 297 | ./bin/flite "Flite is a small fast run-time synthesis engine" flite.wav |
| 298 | 298 | ||
| 299 | Will produce an 8KHz riff headered waveform file (riff is Microsoft's | 299 | Will produce an 8KHz riff headered waveform file (riff is Microsoft's |
| 300 | wave format often called .WAV). | 300 | wave format often called .WAV). |
| 301 | 301 | ||
| 302 | ./bin/flite doc/alice | 302 | ./bin/flite doc/alice |
| 303 | 303 | ||
| 304 | Will play the text file doc/alice. If the first argument contains | 304 | Will play the text file doc/alice. If the first argument contains |
| 305 | a space it is treated as text otherwise it is treated as a filename. | 305 | a space it is treated as text otherwise it is treated as a filename. |
| @@ -309,12 +309,12 @@ write directly to the audio device (if supported). if "none" · 3 unmodified lines | |||
| 309 | is given the audio is simply thrown away (used for benchmarking). | 309 | is given the audio is simply thrown away (used for benchmarking). |
| 310 | Explicit options are also available. | 310 | Explicit options are also available. |
| 311 | 311 | ||
| 312 | ./bin/flite -v doc/alice none | 312 | ./bin/flite -v doc/alice none |
| 313 | 313 | ||
| 314 | Will synthesize the file without playing the audio and give a summary | 314 | Will synthesize the file without playing the audio and give a summary |
| 315 | of the speed. | 315 | of the speed. |
| 316 | 316 | ||
| 317 | ./bin/flite doc/alice alice.wav | 317 | ./bin/flite doc/alice alice.wav |
| 318 | 318 | ||
| 319 | will synthesize the whole of alice into a single file (previoous | 319 | will synthesize the whole of alice into a single file (previoous |
| 320 | versions would only give the last utterance in the file, but | 320 | versions would only give the last utterance in the file, but |
| @@ -328,51 +328,42 @@ are set and therefor this facility is not intended to be made · 7 unmodified lines | |||
| 328 | available for standard users. But these are useful for | 328 | available for standard users. But these are useful for |
| 329 | debugging. Some typical examples are | 329 | debugging. Some typical examples are |
| 330 | 330 | ||
| 331 | ./bin/flite --sets join_type=simple_join doc/intro | 331 | Use simple concatenation of diphones without prosodic modification |
| 332 | ./bin/flite --sets join_type=simple_join doc/intro | ||
| 332 | 333 | ||
| 333 | Use simple concatenation of diphones without prosodic modification | ||
| 334 | 334 | ||
| 335 | ./bin/flite -pw doc/alice | 335 | Print sentences as they are said |
| 336 | ./bin/flite -pw doc/alice | ||
| 336 | 337 | ||
| 337 | Print sentences as they are said | 338 | Make it speak slower |
| 338 | 339 | ./bin/flite --setf duration_stretch=1.5 doc/alice | |
| 339 | ./bin/flite --setf duration_stretch=1.5 doc/alice | ||
| 340 | 340 | ||
| 341 | Make it speak slower | 341 | Make it speak higher pitch |
| 342 | 342 | ./bin/flite --setf int_f0_target_mean=145 doc/alice | |
| 343 | ./bin/flite --setf int_f0_target_mean=145 doc/alice | ||
| 344 | |||
| 345 | Make it speak higher | ||
| 346 | 343 | ||
| 347 | The talking clock is an example talking clode as discussed on | 344 | The talking clock is an example talking clode as discussed on |
| 348 | http://festvox.org/ldom it requires a single argument HH:MM | 345 | http://festvox.org/ldom it requires a single argument HH:MM |
| 349 | under Unix you can call it | 346 | under Unix you can call it |
| 350 | |||
| 351 | ./bin/flite_time `date +%H:%M` | 347 | ./bin/flite_time `date +%H:%M` |
| 352 | 348 | ||
| 353 | ./bin/flite -lv | ||
| 354 | 349 | ||
| 355 | List the voices linked in directly in this build | 350 | List the voices linked in directly in this build |
| 351 | ./bin/flite -lv | ||
| 356 | 352 | ||
| 357 | ./bin/flite -voice rms -f doc/alice | 353 | Speak with the US male rms voice (builtin version) |
| 354 | ./bin/flite -voice rms -f doc/alice | ||
| 358 | 355 | ||
| 359 | Speak with the US male rms voice | 356 | Speak with the "Scottish" male awb voice (builtin version) |
| 360 | 357 | ./bin/flite -voice awb -f doc/alice | |
| 361 | ./bin/flite -voice awb -f doc/alice | ||
| 362 | |||
| 363 | Speak with the "Scottish" male awb voice | ||
| 364 | |||
| 365 | ./bin/flite -voice slt -f doc/alice | ||
| 366 | 358 | ||
| 367 | Speak with the US female slt voice | 359 | Speak with the US female slt voice |
| 360 | ./bin/flite -voice slt -f doc/alice | ||
| 368 | 361 | ||
| 369 | ./bin/flite -voice http://festvox.org/flite/voices/US/cmu_us_aew.flitevox -f doc/alice | 362 | Speak with AEW voice, download on the fly from festvox.org |
| 370 | 363 | ./bin/flite -voice http://festvox.org/flite/voices/US/cmu_us_aew.flitevox -f doc/alice | |
| 371 | Speak with AEW voice, download on the fly from festvox.org | ||
| 372 | |||
| 373 | ./bin/flite -voice voices/cmu_us_ahw.flitevox -f doc/alice | ||
| 374 | 364 | ||
| 375 | Speak with AHW voice loaded from the local file. | 365 | Speak with AHW voice loaded from the local file. |
| 366 | ./bin/flite -voice voices/cmu_us_ahw.flitevox -f doc/alice | ||
| 376 | 367 | ||
| 377 | Voice names are identified as loadable files if the name includes a | 368 | Voice names are identified as loadable files if the name includes a |
| 378 | "/" (slash) otherwise they are treated as internal names. So if you | 369 | "/" (slash) otherwise they are treated as internal names. So if you |