The WAVGEN Processor WAVGEN is a DOS program that will generate a CW audio WAV file from an input text file. It is a DOS processor, built to complement Morse Academy, with a command line format: | ||
| ||
where, | ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
would generate WAV files for all input files with name starting with 1B (and with an assumed file extension of KB), at an average sending speed of 13 wpm, a character sending speed of 18 wpm, and with a 730 Hz note. These are the default values if the optional sending control parameters are omitted. (the first three must be present if parameters are used). The fourth parameter for rise time is optional. In this case the default value is 3 ms. WAVGEN will also accept embedded triples in the text to control note frequency, and character and average sending speeds. The format is the same used with Morse Academy -- <s,c,f>, where the speeds can be from 05 to 99 wpm, and the note frequency is between 400 Hz and 1200 Hz. If an embeded triple is used to control sending, all three fields must be present and speeds should always be two digits, i.e. 5 wpm is written as 05. For example, the following test could be used to generate the audio of a simulated two-way contest QSO between two stations:
<10,18,850>VK9JS DE W1AW W1AW K <30,30,730,20>W1AW DE VK9JS UR 579 3096 # | ||
WAVGEN and Morse Academy Files WAVGEN works with any text file, including those generated by Morse Academy, to produce audio WAV files. When using Morse Academy generated examination files for input, WAVGEN generates WAV files from the Morse Academy's KB files. It also generates HTML versions of the TST and KEY files for use in practice testing. These files are stored in the same directory (folder) as the input text files. Using the outputs from WAVGEN, it is possible to administer a test using only a web browser. | ||
| ||
WAVGEN and WINZIP The WAV files generated are large. A single five minute WAV file is about 1.66 MB, too large to fit on a discette. But because of the regularity of the data generated, PKZIP compresses these WAV files by a factor of 225 or more. A 1.66 MB WAVGEN file becomes 7,320 bytes and can easily be written to a floppy, along with the HTML TST and KEY files. A complete set of ten MA generated tests is less than 100 KB, but expands back to 24 MB using PKUNZIP. Other file compression utilities have not been tested with WAVGEN files, but may perform as well. If a ZIP file containing a compressed WAV file is directly accessed by a browser, and WINZIP is configured by the browser to process files having a ZIP extention (i.e. WINZIP has been installed on the PC), the user is given the opportunity to "open" the WAV file and play it immediately. WINZIP contains its own audio PLAYER to control playing WAV files. This makes it possible to save WAVGEN generated WAV files in PKZIP compressed format and never having to uncompress them. PKWARE products are available for download at http://pkware.com/. |