The software used to generate Morse Code Ninja practice sets as found on Morse Code Ninja and Kurt Zoglmann's YouTube Channel.
These must be installed and available in your Shell's PATH.
-
Set up an AWS Account. Feel free to follow these instructions.
-
Create an IAM user. For ease, I recommend using the "console" for this. During creation, give the IAM user "Programmatic access." When prompted save the key ID and secret access key. During the creation, attach the AmazonPollyFullAccess policy to the user.
-
Edit the aws.properties file. Set the key ID and secret access key. As an alternative, you may define AWS_KEY_ID and AWS_SECRET_ACCESS_KEY as environmental variables.
-
Review and change as necessary the hardcoded configuration options at the top of the render.pl script.
-
Execute within the checkout directory.
./render example.txt
The software has been used extensively to build the Morse Code Ninja Library, but it is far from user-friendly. There are many opportunities to improve it.
Do not invoke more than one render.pl script at a time. The script would collide with itself if multiple copies were executing at the same time.
The scripts have poor error handling. If something goes wrong, you may find it difficult to isolate and correct the problem.
Be aware that the script can create a huge number of temporary files, which is proportional to the input file. Some types of filesystems will deal with this better than others.
This set of scripts should work on Linux and macOS, but it has only been used on macOS.