[CW] eBook to mp3 program
David Ring
n1ea at arrl.net
Tue Oct 14 16:09:54 EDT 2008
Some might find this interesting to try.
http://fkurz.net/ham/ebook2cw.html
Program converts eBooks to mp3 files - user selected speed, supports
Farnsworth code, incremental speed changes, and other options.
Available for Windows and Linux.
ebook2cw - convert ebooks to morse MP3s
Current version: 0.7.0 - June 3rd 2008 - See ChangeLog - Download directory
Windows GUI version: 2008-07-13
ebook2cw is a command line program (optional GUI available) which
converts a plain text (ISO 8859-1 or UTF-8) ebook to morse code MP3
files. It works on several platforms, including Windows and Linux.
Parameters
A number of CW and MP3 parameters can be changed from their default
values, by command line switches or a config file (see below). These
are (default values in brackets):
-w wpm - CW speed in words per minute [25]
-e wpm - [Optional] Effective CW speed. If set, the spaces are sent at
this speed instead of the character speed set by -w ("Farnsworth").
-W x - [Optional] Extra Word spacing. Similar to -e, but only affects
the inter- word spacing, not the inter-character spacing.
-f freq - audio frequency in Hz [600]
-Q minutes - Increase CW speed (QRQ) by 1wpm in intervals of
'minutes'. Speed will be reset to the initial value at the start of
each chapter. Zero means no QRQ. [0]
-n - Disables resetting the speed when using the -Q option.
-p - Disables the paragraph separator (<BT>)
-R risetime - risetime of the CW signal, in samples [50]
-F falltime - falltime, samples [50]
-s samplerate - samplerate for the MP3 file [11025]
-b bitrate - MP3 bitrate, kbps [16]
-q quality - MP3 quality, 1 (best) to 9 (worst) [5]
-c chapter separator - Split chapters at this string [CHAPTER]
-o outfile-name - Output filename (chapter number and .mp3 will be
appended) [Chapter]
-a author - Author for the ID3 tag. Use quotes for strings with spaces
(e.g. "JW Goethe")
-t title - Title for the ID3 tag. Use quotes for strings with spaces
(e.g. "Faust II")
-k comment - Comment for the ID3 tag. Use quotes for strings with spaces.
-y year - Year for the ID3 tag.
-u - Enables UTF-8 support (so far supported: Latin, Cyrillic, Greek,
Hebrew and Arabic).
-S [UTF|ISO] - Prints a table of the available character sets and CW
symbols in HTML format.
Text commands
CW prosigns can be generated by enclosing arbitrary letters in angle
brackets (e.g. <AR>, <SK>, ...).
The tone frequency (f), speed (w) and effective speed (e) can be
changed arbitrarily within the text by inserting commands, starting
with a pipe symbol, followed by the parameter to change and the value.
Example: |f400 changes the tone frequency to 400Hz, |w60 changes the
speed to 60wpm.
More information about the CW
mailing list