text2morse
Description
This utility converts text files to morse code .wav files.
Installation
The binary version should work on most Linux platforms. The program is written in plain C++, so it should be possible to compile it on other platforms without any problems. The source consists of only one .cpp file. Therefore compilation is straightforward. As a guidline:
- Download the source archive to your home directory (or any other directory you like)
-
Untar the archive:
$ tar xzf text2morse_0.2_src.tar.gz
-
Change to the newly created text2morse directory and start the make process:
$ cd text2morse-0.2
$ make - Start the program ... and start learning cw!!!
Usage
Usage: text2morse -o <outfile> [-i <infile>] [-w <wpm>] [-p <pitch>] [-f <wpm>] [--] [--version] [-h] Options: -o <outfile>, --outfile <outfile> (required) Output filename -i <infile>, --infile <infile> Input text file. If none is given read from stdin -w <wpm>, --wpm <wpm> Speed in words per minute (PARIS), default=20wpm -p <pitch>, --pitch <pitch> Tone pitch in Hz, default=600Hz -f <wpm>, --farnsworthwpm <wpm> Farnsworth wpm --, --ignore_rest Ignores the rest of the labeled arguments following this flag. --version Displays version information and exits. -h, --help Displays usage information and exits.
So, for example you would type
to get a morse code version of qso.txt
with
a character speed of 25 words per minute with character and word spaces
stretched to yield a total of 20wpm at a 600Hz pitch.
Download
10-Oct-2007: version 0.2 [Linux binary (Ubuntu 7.04)]
27-Mar-2007: version 0.2 [Linux binary (Ubuntu 6.10)] [Source]
- The source distribution package now includes a simplistic Makefile, which should allow hassle free compilation on Linux systems.
- Removed some minor timing issues around word spaces.
22-Mar-2007: version 0.1
License
text2morse is licensed under the MIT-License:
Copyright (c) 2007 Michael Wichmann
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is furnished
to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
This software uses TCLAP for command line processing, which is also under the MIT License.