| 1 |
ebook2cw v0.8.5 - convert ebooks to morse code - Fabian Kurz, DJ5CW |
| 2 |
--------------------------------------------------------------------- |
| 3 |
|
| 4 |
Website: https://fkurz.net/ham/ebook2cw.html |
| 5 |
|
| 6 |
ebook2cw is a command line program which converts a plain text ebook to morse |
| 7 |
code MP3 or OGG files. It works on several platforms, including Windows and |
| 8 |
Linux. |
| 9 |
|
| 10 |
It automatically splits and numbers the output files by chapters. |
| 11 |
|
| 12 |
For a detailled description, please refer to the man-page or the project |
| 13 |
website. |
| 14 |
|
| 15 |
|
| 16 |
INSTALL |
| 17 |
-------- |
| 18 |
1) Binaries |
| 19 |
Statically compiled binaries are available at the project website, for Linux |
| 20 |
(i386) and Win32. Those should be suitable for most users. |
| 21 |
|
| 22 |
2) Source |
| 23 |
A Makefile is included; it compiles under Linux, Windows (with MinGW) and OS X. |
| 24 |
DESTDIR is /usr by default (so the binary will be in /usr/bin/). |
| 25 |
Support for LAME and/or OGG can be disabled by USE_LAME=NO and USE_OGG=NO |
| 26 |
respectively. |
| 27 |
|
| 28 |
make [DESTDIR=..] [USE_OGG=NO] [USE_LAME=NO] |
| 29 |
sudo make install |
| 30 |
|
| 31 |
Build prerequisites (Debian/Ubuntu): build-essential libvorbis-dev libmp3lame-dev |
| 32 |
|
| 33 |
CGI |
| 34 |
--- |
| 35 |
ebook2cw can also be compiled as a CGI, with "make cgi" or "make cgibuffered". |
| 36 |
The executable can then be used on a webserver and called in the format |
| 37 |
|
| 38 |
http://example.com/cgi-bin/cw.cgi?s=25&e=25&f=600&t=%20hello%20world |
| 39 |
|
| 40 |
which returns a MP3 file with "hello world" at the given speed etc. The order |
| 41 |
of the GET parameters must be used as shown above. Real-world examples of |
| 42 |
ebook2cw as a CGI can be found at http://lcwo.net/. |
| 43 |
|
| 44 |
The default cgi version operates "on the fly", the "cgibuffered" option |
| 45 |
first writes the whole MP3/OGG to a temporary file, so it can send a proper |
| 46 |
Content-Length: header which may be required for some clients. |
| 47 |
|
| 48 |
Contact |
| 49 |
------- |
| 50 |
Fabian Kurz, DJ5CW (ex DJ1YFK) <[email protected]> |
| 51 |
https://fkurz.net/ham/ebook2cw.html |
| 52 |
|