March 2017 update: browsers are gradually removing support for Java applets. This is because Java is a big security risk, like Flash. Right now, I don't see what alternative technology one could use to have something like the Java Tuner run inside a browser. Java itself however is not going away anytime soon as far as I know, so there is always the possibility of running the Java Tuner applet outside the browser. This is explained in the technical notes below.
2011 - New URL: http://leware.net/temper/js/acc.htm (please update your bookmarks).

This is the new version, 2.5, based on JavaSound (JDK 1.3), and using the Clip class. Probably supported by recent browsers. This new version takes one parm, the rate (eg 11025, 22050; default 8000). Here, it is set to 22050, allowing true pitch for the pieces. This new button (besides "Special play") can be toggled by clicking. When on, pieces are played at true pitch (minor piece will be in relative key).



Briefly: Arrows: (no modifiers) meta or alt
UP/DOWN: Adjust adjust note at cursor
± 0.1 cent; shift: ± 1.0 cents
adjust overall pitch
± 0.1 cent; shift: ± 1.0 cents
RIGHT/LEFT: Move move selected note(s)
± 5ths; shift: ± chromatic
rotate tuning/temperament
± 5ths; shift: ± chromatic
Click on note to select; shift-click to build interval/chord
(PC = pythagorean comma / SC = syntonic comma)

If you wish to support this work, you can make a donation via PayPal.


Usage notes:

Applet calibration

V2.5 adds a new feature to "tune" the JavaTuner to correct pitch (if your computer doesn't quite get it right), ie. such that one hears the frequencies as announced by the applet. Note that, on the same computer, the pitch deviation may be different in browsers vs stand-alone, or between different browsers.

The idea is to determine at what nominal (announced) frequency the applet generates a true 440 Hz sound with a given setup, and provide this info to the applet so it can adjust its output.

Violin tuning mode

This applet can also be used as an aid in tuning a violin by playing the four strings at the appropriate pitch (ie. without the usual folding):

Examples and games:

Environments on which I believe the applet works decently:

I have personally run it on the following:

Future plans include turning this applet into a virtual instrument to practice tuning with (when Java Sound becomes available).

Related links:


Technical notes:


About the author:
[the author] My main work was software development (telephony signalling protocols) at Alcatel-Lucent; that's where I learned about µ-law. But, in a previous life, I was very much into (early) music, and also into tuning (as a semi-professional harpsichord tuner); this led me to a study of historical tunings and temperaments.

Copyright: Pierre Lewis,
Page URL: http://leware.net/temper/js/acc.htm
Retour / Zurück / Back