<:> Notes applet



Java applets can generate sound in the form of notes played on the host machine's MIDI system, or as synthesized waves played using the host machine's synthesizer.

The Notes applet below illustrates the MIDI approach.

A Sequence object is constructed consisting of a Track of MIDI note events.

This is then `played' using the Sequencer object.

Mouse clicks can be used to start and stop the sequencer.