Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

saytime(1) [debian man page]

SAYTIME(1)						      General Commands Manual							SAYTIME(1)

NAME
saytime - audio time check SYNOPSIS
saytime [ -ch ] [ -d dir ] [ -f fmt ] [ -o dev ] [ -t output-type ] DESCRIPTION
saytime speaks the current time through the computer's sound device. OPTIONS
-v factor Increase volume level by factor. Directly passed on to sox. -r sec Repeat at the specified interval in background mode. -c Output to stdout. -d dir Use sounds from alternate directory (default /usr/share/saytime). -f fmt Specify format of time message. (see FORMAT STRING below). -h Display simple help. -o dev Output to alternate file. If -t is not specified with -o, -t defaults to ossdsp. -t output-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. 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. 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)

Check Out this Related Man Page

play(1) 						      General Commands Manual							   play(1)

NAME
play - play any sound file to audio device rec - record audio to any sound file format SYNOPSIS
play [fopts] infile [effect] rec [fopts] outfile [effect] DESCRIPTION
This manual page briefly documents the play and rec commands. play and rec are programs that allow you to play and record different types of sound files from the command line. They are front ends to the more general sox(1) package. Normally, the play command will automatically detect the type and other parameters of the soundfile. If it can't do so, the parameters can be changed through options. OPTIONS
A summary of common options are included below. For a complete description of options and their values, see the sox(1) man page. -c [channels], --channels=[channels] Define the number of channels in the file. -d [device], --device=[device] Specify a different device to play the sound file to. -f [format], --format=[format] Specify bit format of the sample. One of s, u, U, A, a, or g. -r [rate], --rate=[rate] Specify the sample rate of the audio data (samples per second). -s [size], --size=[size] Specify the width of each sample. One of b, w, l, f, d, or D. -t [type], --type=[type] Specify audio file format to use. Useful if it can not be automatically determined. -v [volume], --volume=[volume] Change the audio volume -x , --xinu Reverse the byte order of the sample (only works with 16 and 32-bit data). -h, --help Show summary of options. --version Show version of play/rec. Description of effects are described in the sox(1) man page. SEE ALSO
sox(1) soxexam(1) AUTHOR
This manual page was written by Guenter Geiger <geiger@iem.mhsg.ac.at>, for the Debian GNU/Linux system. Updates by Anonymous. December 11, 2001 play(1)
Man Page

5 More Discussions You Might Find Interesting

1. Post Here to Contact Site Administrators and Moderators

how to kill process from file

hello i want to write a script in unix which read file that contains : hour and process_id like this file bbb: 0:30 6678 1:40 8789 and for every line he check if the hour greater then 30 minutes he kill the process_id the script looks like this cat bbb | while read line do ... (1 Reply)
Discussion started by: naamas03
1 Replies

2. UNIX for Dummies Questions & Answers

fetchmail taking long time to fetchmail...

Hi peeps, We are having around 60 users. The time set to retrieve the mail is 300 sec. But it's taking around 1 hour to deliver mails. I am using debian sarge 3.1. any clues? And how it will affect if I decrease the time? My machine has got 1 p4 3.0 GHZ processor and 1 GB ram. The home... (2 Replies)
Discussion started by: squid04
2 Replies

3. Shell Programming and Scripting

Incrementing a time by one hour issues

Hi all, I need your help to increment a time by one hour. The difficulty is the time is in a string format and not a value cat file | awk '{print $1,$2}' 09/02/2011 20:11 09/03/2011 20:11 I want to change the time to be as follows 09/02/2011 21:11 or even 09/02/2011 20:21 Can... (2 Replies)
Discussion started by: Junes
2 Replies

4. Shell Programming and Scripting

Script to Change Permission on a directory after every hour

I want to change the permission of a dir to 777 after every hour in a background process.I do not have the access to the crontab , is there another way of doing it a scrit of some thing like that . Any help will be great. (1 Reply)
Discussion started by: neeraj617
1 Replies

5. Post Here to Contact Site Administrators and Moderators

Display time in 12 hr format

Write a script named time that displays the time in standard 12-hour format, rather than 24-hour format. Allow the user to give a -m option to get 24-hour format. For example: > date Sun Feb 10 10:56:50 CST 2008 > time 10:56 AM > date Sun Feb 10 21:57:07 CST 2008 > time 9:57 PM >... (0 Replies)
Discussion started by: satish24
0 Replies