logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

saytime - audio time check

Bugs

       Likely a few. It doesn't handle errors gracefully.

Contributors

       Jef Poskanzer (original author),

       Patrick J. Edwards <pje120@mail.usask.ca>

       Charles Briscoe-Smith <cpbs@debian.org>

       David C Dawson <beagle7@pacificcoast.net> (the -v and -r options)

                                                   14 Sep 2004                                        SAYTIME(1)

Description

saytime speaks the current time through the computer's sound device.

Format String

       A format string can be specified to control the time message.  Valid format characters are:

       %k     hour, 24-hour clock (00..23)

       %l     hour, 12-hour clock (01..12)

       %M     minutes

       %P     Introductory phrase ('The time is')

       %S     seconds

       The default format string is %P%l%M%S.

Name

       saytime - audio time check

Options

-vfactor
              Increase volume level by factor. Directly passed on to sox.

       -rsec Repeat at the specified interval in background mode.

       -c     Output to stdout.

       -ddir Use sounds from alternate directory (default /usr/share/saytime).

       -ffmt Specify format of time message. (see FORMATSTRING below).

       -h     Display simple help.

       -odev Output to alternate file.  If -t is not specified with -o, -t defaults to ossdsp.

       -toutput-type
              Specify  the  output type (oss, alsa, etc.); this is passed directly to sox.  If neither -t nor -o
              is specified, saytime will pick a default destination via sox -d.

Synopsis

saytime [ -ch ] [ -ddir ] [ -ffmt ] [ -odev ] [ -toutput-type ]

See Also