Allows you to convert ebooks to morse MP3s
ebook2cw is a command line program which converts a plain text ebook to morse code MP3 files. It works on several platforms, including Windows and Linux.
A number of CW and MP3 parameters can be changed from their default values, by command line switches. These are (default values in brackets):
-w wpm - CW speed in words per minute 
-f freq - audio frequency in Hz 
-Q minutes - Increase CW speed (QRQ) by 1 WpM in intervals of `min- utes'. Speed will be reset to the initial value at the start of each chapter.
-R risetime - risetime, in samples 
-F falltime - falltime, samples 
-s samplerate - samplerate for the MP3 file 
-b bitrate - MP3 bitrate, kbps 
-q quality - MP3 quality, 1 (best) to 9 (worst) 
-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.
The default settings (except the speed) are probably suitable for most people. A full hour of MP3 takes only 7MB, so depending on your speed, several books will fit even on cheap 1GB portable mp3 players.
The speed of the conversion mainly depends on your CPU speed; for example converting The War of the Worlds to MP3 at 60 WpM, resulting in almost 10 hours of MP3 took about 8 minutes on the author's 1.8GHz CPU.
ebook2cw [-w wpm] [-f freq] [-R risetime] [-F falltime]
[-s samplerate] [-b mp3bitrate] [-q mp3quality]
[-c chapter-separator] [-o outfile-name] [-Q minutes]
[-a author] [-t title] [-k comment] [-y year]
defaults: 25 WpM, 600Hz, RT=FT=50, s=11025Hz, b=16kbps,
c="CHAPTER", o="Chapter" infile = stdin
In a hurry? Add it to your Download Basket!
What's New in This Release:
- This release adds a few new functions such as splitting output files by length (seconds or number of words) and an option to change the volume of the output sound file on the fly.
- The generated files of the CGI version can now be delivered in a buffered mode, which enables sending more verbose HTTP headers (Content-Length).
- Several small errors were fixed, such as the previously corrupted OGG/Vorbis headers in CGI mode, and the code was cleaned up or modularized better.