ebook2cw is a command line program that converts a
plain text file (like an eBook) to Morse code (CW)
MP3 or OGG files. Morse parameters like speed and tone frequency, and audio parameters such as bit rate, sample rate, and quality can be changed by command line switches. It automatically splits and numbers the output files by chapters.