Class Control
java.lang.Object
eu.bandm.music.applications.myKdF.Control
Contains all data points over which GUI and sound network comminicate.
Singleton class = only one instance per application instance.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) static enum
Selectors for the currently supported sound-synthesis envelope forms.(package private) static class
Contains all controls for one particular material layer in one voice.(package private) static class
Contains all controls for one of the four main voices.(package private) static enum
Selectors for the currently supported sound-synthesis wave forms. -
Field Summary
FieldsModifier and TypeFieldDescription(package private) final DoublePost
Needed to distribute the maximum loudness ("1.0") to changing numbers of voices.Selects betwen the movements.(package private) final JSequencerPanel
Play/hold/position control of all voice sequencers.Selects betwen the different possible tunings.(package private) final Control.Voice[]
Contains all controls for the four main voices. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) void
reflectSequencerData
(Kdf.VoiceData[] voiceData) Callback whenever the piece-selection has changed.
-
Field Details
-
pieceSelection
Selects betwen the movements. For cp 16 and 17 additionally select between recto and inverso. -
tuningTypeSelection
Selects betwen the different possible tunings. -
masterVolume
Needed to distribute the maximum loudness ("1.0") to changing numbers of voices. Currently no GUI representation. -
voices
Contains all controls for the four main voices. (The additional voices sounding in only few final measures of few voices in few movements do not have their own control but inherit from their main voice.) -
sequencerPanel
Play/hold/position control of all voice sequencers.
-
-
Constructor Details
-
Control
Only constructor. Only one instance per application.
-
-
Method Details
-
reflectSequencerData
Callback whenever the piece-selection has changed. Put volume and pan-pot controls in initial default position. Disable all unused widgets.
-