Class Control

java.lang.Object
eu.bandm.music.applications.myKdF.Control

class Control extends Object
Contains all data points over which GUI and sound network comminicate. Singleton class = only one instance per application instance.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    (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

    Fields
    Modifier and Type
    Field
    Description
    (package private) final DoublePost
    Needed to distribute the maximum loudness ("1.0") to changing numbers of voices.
    (package private) final Post<String>
    Selects betwen the movements.
    (package private) final JSequencerPanel
    Play/hold/position control of all voice sequencers.
    (package private) final Post<String>
    Selects betwen the different possible tunings.
    (package private) final Control.Voice[]
    Contains all controls for the four main voices.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Control(String[] pieceNames, String[] tuningNames)
    Only constructor.
  • Method Summary

    Modifier and Type
    Method
    Description
    (package private) void
    Callback whenever the piece-selection has changed.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • pieceSelection

      final Post<String> pieceSelection
      Selects betwen the movements. For cp 16 and 17 additionally select between recto and inverso.
    • tuningTypeSelection

      final Post<String> tuningTypeSelection
      Selects betwen the different possible tunings.
    • masterVolume

      final DoublePost masterVolume
      Needed to distribute the maximum loudness ("1.0") to changing numbers of voices. Currently no GUI representation.
    • voices

      final Control.Voice[] 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

      final JSequencerPanel sequencerPanel
      Play/hold/position control of all voice sequencers.
  • Constructor Details

    • Control

      Control(String[] pieceNames, String[] tuningNames)
      Only constructor. Only one instance per application.
  • Method Details

    • reflectSequencerData

      void reflectSequencerData(Kdf.VoiceData[] voiceData)
      Callback whenever the piece-selection has changed. Put volume and pan-pot controls in initial default position. Disable all unused widgets.