A musical frequency generator

The Jazz Machine

The Jazz Machine is a simple, and ultra-light (10K) web toy designed to play music on the internet.

This applet is freeware : this means you can use it on your computer without any restriction. You are also free to distribute it on the internet by using it in your own web pages (or by any other means) as long as you don't modify the java code (class file). Have a look at the information in the source code if you want to modify or use portions of this code.

The jazz machine is distributed under the GNU General Public License, and is licensed to you free of charge. The software is provided "as is" - there is no warranty of any kind. No support is included with this license.

HTML Settings

Copy the following HTML line into your web page, assuming the class file is in the same directory as your page :

<APPLET CODE="JazzMachine.class" 
        WIDTH=550 HEIGHT=290>

If you want to disable the display of the frequency value, do it this way :

<APPLET CODE="JazzMachine.class" 
        WIDTH=550 HEIGHT=290>
  <PARAM NAME="showfreq" VALUE="off">

If you want to change the default colors and text font, you can add other <PARAM> tags : backcolor is the color behind the graphic ball (default : black), controlcolor is the background color of the control panel (default : dark gray), textcolor is the color of the labels (default : white), and fontsize is the font size of the labels (default : 12). Hexadecimal color values are set the same way as in a html tag. Example :

<APPLET CODE="JazzMachine.class" 
        WIDTH=550 HEIGHT=290>
  <PARAM NAME="backcolor" VALUE="#FFFFFF">
  <PARAM NAME="controlcolor" VALUE="#C0C0C0">
  <PARAM NAME="textcolor" VALUE="#000000">
  <PARAM NAME="fontsize" VALUE="16">

That's it ! You can also enlarge the applet by increasing its WIDTH and HEIGHT attributes.

Source code

This applet is provided with full documented source code, in order to help Java programmers in building sound-related apps, and to introduce Java sound programming to dsp engineers.

Other sound applets

More sophisticated Java sound tools are available on this site as well. Check out the following pages, wait for the applet to load (they are a bit heavier than the Jazz Machine), and have a great time !

Other applets

Copyright © Neural Semantics sprl