Package eu.bandm.music.applications.harm
Enum Class FnSound.sound
- All Implemented Interfaces:
Serializable,Comparable<FnSound.sound>,Constable
- Enclosing class:
FnSound
Selects between different sound methods.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic FnSound.soundReturns the enum constant of this class with the specified name.static FnSound.sound[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
pizz
Play a pizzicato-like output of Karplus-Strong-synthesis. -
sine
Play a sine with a sharp envelope. -
square
Play a square with a sharp envelope. -
triangle
Play a triangle with a sharp envelope. -
saw
Play a saw with a sharp envelope.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-