Here is a Perl script which will read in plain text in either English or Esperanto and output a custom audio file in *.wav or *.ogg format.

Morse Code Converter

You can even embed *-delimited tags to change WPM, spacing, tone, language or even split off new files on the fly.

Here is the POD: HTML

Replies are listed 'Best First'.
Re: Morse Code to Audio Converter
by ciderpunx (Vicar) on Feb 27, 2006 at 13:03 UTC
    Dankon por via programo. Gxi estas tre utila!

    Tamen mia Esperanto estas nur suficxa kaj mia Morso estas fakte malbona.

    Je via sano!
Re: Morse Code to Audio Converter
by Anonymous Monk on Feb 11, 2006 at 21:06 UTC
    No mention of perlmonks or comp.lang.perl.misc?

      Although I did appreciate the suggestions offered on both PerlMonks and comp.lang.perl.misc, all of those envolved use of the MIDI device on a sound card. Good methods for use on a computer, to be sure. And I was glad to study them.

      My script, however, went anouther route entirely, so as to write *.wav files playable on an independed MP3 player. So I did not actually employ any code suggested from either of those sources.

      Had I employed code from one of those, I would have credited the supplier in the script itself as a comment...just as I did, in that very same script, for my modification of an array-shuffling sub found in the Perl Cookbook...which comment reads like so:

      # Modified from fisher-yates_shuffle from the Perl Cookbook, 4.17.

      I credited the original, even though I modified it significantly. Such is my usual habit. Should not that suffice?