13.07.2015 Views

May 2000 QST

May 2000 QST

May 2000 QST

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Using MorsePracticeWhen you start MorsePractice, you’ll see its main window, asshown in Figure 1. Here, I’ve set the program to use a Koch trainingsequence, with the overall code speed set to 13 WPM, but witheach Morse symbol sent at 18 WPM. The trial will run for oneminute.After the trial, you need only type the symbols you hear into thetext area and click on the “Check” button. The program compareswhat it sent to what you typed and displays a “confusion matrix”that shows you how well you did. In the trial shown in Figure 2,I managed 92% correct. The top line shows that MorsePracticesent an “S” that I heard as an “A” and that I’m clearly havingtrouble with the “L” symbol.If you select the “Random QSO” option, MorsePractice willsend a QSO that vaguely follows the format used in the codeproficiency exam. The message is fairly long and will give yourears a workout. Since you will probably be listening for content,the “Check” option, while usable, isn’t really useful. When thetrial completes, the program displays the entire text it sent so youcan check your results by hand.If you run the application version, you can also generatemessages from text files and write an audio file (in the Sun .auformat) with the generated code.Installing JavaWhile you can use MorsePractice as an applet at my Web siteat http://homepage.mac.comK6mam/, there are advantages toinstalling it as an application: you can save your current trainingFigure 2—My training trial result.Notes on JavaThe Java programming language is reasonably simple tolearn with fewer “gotchas” than C or C++ (and let’s not talk aboutassembler!). MorsePractice runs both as a normal applicationand as an applet: a downloadable code module that can run inmost Web browsers.While applications act like any computer program, appletsrun in a security “sandbox:” they can’t read or write files on yoursystem, for example. Since you can read the MorsePracticesource code, you can check that there are no viruses or “hiddenfeatures” in the program. Also, Java has a number of built-inprogramming safeguards that prevent many coding errors thatare common to assembler or C programs, such as scribblingover random bits of memory.While most recent personal computers can run Javaapplets, Windows and Windows/NT users may need to install aJava Runtime Environmen to use MorsePractice as an application.I’ve provided instructions in the article.parameters, listen to text files and save Morse code in sound files.If you don’t have Java on your personal computer, follow theinstructions below to install it. (Macintosh users are lucky: if youhave a recent system, everything you need, except Netscape Javasupport, should already be on your system.)Installing on MacsOn the Macintosh, you need MRJ 2.1.4 or later. It was distributedwith System 8.6 or later and will be installed when you do a normalsystem installation. If you have an earlier system or want to updateto the latest public distribution, you can install MRJ from AppleComputer’s Java support area. You may also install the softwaredevelopment kit if you want to modify the sources. I’ve testedMorsePractice on MacOS System 8.6 and MRJ 2.1.4 and 2.2. TheMorsePractice file is a self-contained double-clickable application;it’s all you need. You can download MorsePractice.hqx from http://homepage.mac.com/K6mam/MorsePractice/MorsePractice.html.When run as an applet, MorsePractice should work on theiCab and Internet Explorer browsers. Unfortunately, Netscapeversion 4 does not support the current Java release on the Macintoshand will not run MorsePractice.Installing on Windows, Windows/NTBefore trying to run MorsePractice as an application, first makesure that you have a suitable Java environment. You can get aWindows or Solaris distribution from Sun Microsystems and aLinux distribution from Blackdown.org. You can use the JavaRuntime Environment (JRE) or the Java Development Kit (JDK).The latter lets you modify MorsePractice. MorsePractice requiresJava 1.1.8 or later. On Windows/NT, I found that JRE 1.2.2 works,but JRE 1.2.1 had display problems. Here are step-by-stepinstructions for installing JRE on Windows.1.Point your browser at http://java.sun.com.2. At the bottom of the screen, click on the “Products & APIs”link.3. Click on the “Java 2 Platform, Standard Edition” link then,on the next page, click on the “Java 2 Runtime Environment,Standard Edition” link. This brings you to the http://java.sun.com/products/jdk/1.2/jre page.4. Select the “Java 2 Runtime Environment v 1.2.2-001Windows 95/98/NT Production Release” link. This is the minimalrelease, and doesn’t let you write Java programs. Look at otherreleases or purchase a third-party development kit if you want tomodify the program.5. Choose a download method, agree with the license, and save<strong>May</strong> <strong>2000</strong> 49

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!