Java Lab Documentation

Instrument

Category:org.code.theater

Fields

TypeNameDescription
intPIANO

represents a piano sound

Example:

myScene.playNote(Instrument.PIANO, 60, 3);
intBASS

represents a lower bass guitar sound

Example:

myScene.playNote(Instrument.BASS, 40, 1);