The Graham Utilities for OS/2 - Version 2


[Warpspeed]

[Table of Contents] [Index] [Previous] [Next]


BEEP - Plays tunes

Summary

BEEP plays a tune file.

Icon

Command Line Format

Usage: BEEP <file>
Options

The following options are valid in tune files:

/Fn
Specify the frequency of the tone in Hertz.
/Dn
Specify the duration of the tone in n/18 seconds.
/Tn
Specify the duration of the tone in milliseconds.
/Rn
Repeat a tone n times.
/Wn
Wait n/18 seconds between tones.

They can also be specified in raw Frequency Duration pairs. This makes BEEP compatible with Maximus BBS format tune files.

The repeat and wait options only apply to the line on which they appear.

Tune files may also have comments in them. Comments start with a semicolon ";".

Description

BEEP allows you to play tunes on your computer. It supports a wide variety of input formats. BEEP is capable of parsing the Frequency, Duration pairs of each tone from a variety of text formats. BEEP is not capable of playing WAV or other digitised sound format files.

Note : BEEP may conflict with 4OS2's internal command BEEP. In this instance the BE BEEP command may be used, or BEEP may be renamed to something else.

Two sample tune files have been provided. They are INDIANA and SIMPSONS.

Examples

BEEP INDIANA
Beep will play the "Indiana Jones" theme.
BEEP SIMPSONS
This will cause beep to play the theme from "The Simpsons".