home *** CD-ROM | disk | FTP | other *** search
/ norge.freeshell.org (192.94.73.8) / 192.94.73.8.tar / 192.94.73.8 / pub / computers / pcjr / utility / DRNU451.LZH / NUBEBEEP < prev    next >
Text File  |  1990-10-19  |  4KB  |  97 lines

  1.                                   BE BEEP 
  2.  
  3.  
  4. Description:   Sounds a tone or series of tones on the system's internal
  5.                speaker. 
  6.  
  7.  
  8. Syntax:        Version 4.5:   BE BEEP [(drive:)][(path)](filespec) [/E] 
  9.  
  10.                               BE BEEP [/F(n)] [/D(n)] [/R(n)] [/W(n)] 
  11.  
  12.  
  13.  
  14.                                 Parameters: 
  15.  
  16.  
  17. (drive:)       The single-letter specifier (A:, B:, C:, etc.) for the drive
  18.                containing the file you want to use. Follow the letter with a
  19.                colon. Your current drive is the default. 
  20.  
  21. (path)         The full name (C:\WP\LETTERS) of the directory in which the
  22.                file is defined. The current directory for the designated
  23.                drive is the default. 
  24.  
  25. (filespec)     The name of the file containing tone values BE BEEP can sound.
  26.  
  27.                Each line in the file can contain frequency (/F), duration
  28.                (/D), repetition (/R), and wait (/W) specification parameters.
  29.                Each line in the file can contain a comment; specify the
  30.                beginning of a comment with a semicolon. See the example
  31.                below. 
  32.  
  33. /D(n)          Specifies the duration of the sound in eighteenths of a
  34.                second. For example, /D18 sounds the frequency for one second.
  35.                The number must be a positive integer. If you specify neither
  36.                the /D parameter nor the /F parameter, BE BEEP sounds the
  37.                computer's default tone. If you specify /F without specifying
  38.                /D, the frequency sounds for approximately one-half second
  39.                (/D9). 
  40.  
  41. /E             If you specify (filespec), causes BE BEEP to display any
  42.                comments that are enclosed in double-quote marks. 
  43.  
  44. /F(n)          Specifies the frequency of the sound in cycles per second
  45.                (Hz). The number must be a positive integer. Middle C is
  46.                approximately 262. See <NUFREQ> for an extensive list of
  47.                frequencies. If you do not specify this parameter, BE BEEP
  48.                sounds the computer's default frequency. 
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57. /R(n)          Specifies the number of times BE BEEP repeats the sound. The
  58.                number must be a positive integer. 
  59.  
  60. /W(n)          Specifies the wait period at the end of each tone in
  61.                eighteenths of a second. The wait period is the time between
  62.                beeps. The number must be a positive integer. Note that if you
  63.                specify the /R parameter, no sound occurs during the wait
  64.                period at the end of each repetition of the tone. 
  65.  
  66.  
  67.  
  68.  
  69.  
  70.  
  71.  
  72.  
  73. Example:       To play the song ``Three Blind Mice'' from a stored file and
  74.                to display the words as the notes are played, enter:
  75.  
  76.                BE BEEP mice.dat /E 
  77.  
  78.  
  79.                MICE.DAT contains: 
  80.  
  81.                ;    Three Blind Mice 
  82.                ;    Freq. Dur. Wait Rep.   Note    Words: 
  83.                BEEP F659  D10           ;  E       "Three" 
  84.                BEEP F587  D10           ;  D       "Blind" 
  85.                BEEP F523  D10  W10      ;  C       "Mice.  " 
  86.                BEEP F659  D10           ;  E       "Three" 
  87.                BEEP F587  D10           ;  D       "Blind" 
  88.                BEEP F523  D10  W10      ;  C       "Mice.  " 
  89.                BEEP F784  D10           ;  G       "See" 
  90.                BEEP F698  D5        /R2 ;  F, F    "How They" 
  91.                BEEP F659  D10  W10      ;  E       "Run!" 
  92.                BEEP F784  D10           ;  G       "See" 
  93.                BEEP F698  D5        /R2 ;  F, F    "How They" 
  94.                BEEP F659  D10  W10      ;  E       "Run!" 
  95.  
  96. See:           <NUFREQ>. 
  97.