Class RhythmVoiceInfo

java.lang.Object
org.jjazz.rhythmdatabase.api.RhythmVoiceInfo
All Implemented Interfaces:
Serializable

public class RhythmVoiceInfo extends Object implements Serializable
A description of a RhythmVoice for catalog purpose.

See Also:
  • Constructor Details

    • RhythmVoiceInfo

      public RhythmVoiceInfo(RhythmVoice rv)
  • Method Details

    • getName

      public String getName()
    • getPreferredInstrument

      public Instrument getPreferredInstrument()
      Returns:
      the instrument
    • getPreferredChannel

      public int getPreferredChannel()
      Returns:
      the preferredChannel
    • getDrumKit

      public DrumKit getDrumKit()
      Returns:
      the drumKit
    • getType

      public RhythmVoice.Type getType()
      Returns:
      the type
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object