Skip to content
sammarshallou edited this page Sep 13, 2010 · 3 revisions

This project contains two applets, both of which use audio playback and recording. They are intended for language teaching.

One applet allows users to record sound files to their own hard disk – a web-browser equivalent of Sound Recorder, but with fewer options.

A second applet is intended to let users record their responses to a simulated conversation with a foreign-language speaker. Each instance of the applet constitutes a single interaction, and can contain the other person’s speech, a prompt that plays just before your own recording, and a model answer, all as streaming MP3s. This applet stores the recorded audio on a server so that users can retrieve it later from any computer.

There is a native code JNI for doing extremely basic audio recording/playback on Mac, because Apple’s implementation of Java Sound is poor and may not function correctly, especially on OS X 10.4. On other platforms, standard Java Sound is used.

How to build the applets

  1. You will need to create a certificate for use when signing the applets. There are instructions in build.xml as to how to create a self-signed certificate. (For real deployment, you will need to purchase a genuine certificate. The self-signed one is fine for testing.)
  2. Build using the Ant script. You will need to set the keystore password (and location, if you don’t store it in the suggested place) as Ant properties.

Credits

These applets were created by The Open University, which is the largest university in the UK. It is a distance-learning institution.

sam marshall was the developer.

The applets include MP3 playback code from the JLayer library. We modified one file very slightly. The modified library is included in this source repository.

Support

We do not have time to provide any support. Sorry. Please don’t ask questions if you can’t figure out how to build the applets or whatever. Ask in forums related to the technology (eg if you can’t figure out how to set Ant properties, ask that in an Ant forum; if you’re trying to change the Mac native code, ask in a Mac development mailing list; etc).

Bugfixes

If you do a patch that fixes a bug in our code, please let us know! You can contact me, s dot marshall; that’s at open dot ac dot uk.

Other contributions

If you want to expand the project or add more features, that’s great! Let me know about it, but we probably don’t want to include your improvements in our project – instead, simply take the code and make your own project, as the GPL allows. GitHub provides facilities to fork a project.

Clone this wiki locally