aboutsummaryrefslogtreecommitdiff
path: root/accessibility/svox/pico2audio.rst
blob: c6e537e28fb0668479be293285265866170add2e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
.. RST source for pico2audio(1) man page. Convert with:
..   rst2man.py pico2audio.rst > pico2audio.1
.. rst2man.py comes from the SBo development/docutils package.

.. |version| replace:: 20210802
.. |date| date::

.. converting from pod:
.. s/B<\([^>]*\)>/**\1**/g
.. s/I<\([^>]*\)>/*\1*/g

==========
pico2audio
==========

------------------------------------
text-to-speech wrapper for pico2wave
------------------------------------

:Manual section: 1
:Manual group: SlackBuilds.org
:Date: |date|
:Version: |version|

SYNOPSIS
========

pico2audio [*-l <language>*] [*words*]

DESCRIPTION
===========

**pico2audio** is a shell script wrapper for **pico2wave**. It renders text to
speech and plays it using the **play** command.

If a *-l <language>* option is given, it will be passed to pico2wave. See
**pico2wave**\(1) for details.

If *words* are given, they are used as input. Unlike the pico2wave command,
there's no requirement to quote multiple words. If no *words* are given,
words are read from standard input.

Exit status is that of **pico2wave**.

EXAMPLES
========

Examples:

  pico2audio Hello world.
    Speaks "Hello world" in the default language (en-US).

  pico2audio -l en-GB Hello world.
    As above, in a British accent.

  fortune -s | pico2audio
    Reads from standard input.

  pico2audio < /etc/motd
    Speak a text file. Don't forget the **<** or it says the filename instead.

AUTHOR
======

pico2audio was written by B. Watson, and is licensed under the WTFPL.

SEE ALSO
========

**pico2wave**\(1), **play**\(1)