content: package net.doge.constant.player;
  
  import javafx.scene.media.EqualizerBand;
  import net.doge.constant.lang.I18n;
  
  /**
   * @Author Doge
   * @Description 均衡器参数
   * @Date 2020/12/7
   */
  public class EqualizerData {
      public static final int BAND_NUM = 10;
      public static final double MAX_GAIN = EqualizerBand.MAX_GAIN;
      public static final double MIN_GAIN = -12;
  
      public static final double[] OFF = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0};
      public static final double[] POP = {4, 2, 0, -3, -6, -6, -3, 0, 1, 3};
      public static final double[] DANCE = {7, 6, 3, 0, 0, -4, -6, -6, 0, 0};
      public static final double[] PRESENT = {-5, -4, 2, 2, 2, 2, 2, 2, 2, 2};
      public static final double[] BLUE = {3, 6, 8, 3, -2, 0, 4, 7, 9, 10};
      public static final double[] CLASSIC = {0, 0, 0, 0, 0, 0, -6, -6, -6, -8};
      public static final double[] JAZZ = {0, 0, 1, 4, 4, 4, 0, 1, 3, 3};
      public static final double[] SLOW = {5, 4, 2, 0, -2, 0, 3, 6, 7, 8};
      public static final double[] ELECTRONIC = {6, 5, 0, -5, -4, 0, 6, 8, 8, 7};
      public static final double[] ROCK = {7, 4, -4, 7, -2, 1, 5, 7, 9, 9};
      public static final double[] COUNTRY = {5, 6, 2, -5, 1, 1, -5, 3, 8, 5};
      public static final double[] VOICE = {-2, -1, -1, 0, 3, 4, 3, 0, 0, 1};
      public static final double[] ACG = {4, 6, 3, -1, -1, 2, 5, 1, 1, 4};
      public static final double[] ACG_WOMAN = {1, 1, 0, 0, 1, 1, -10, 5, 3, 7};
      public static final double[] CHINESE_STYLE = {4, 2, 2, -1, -1, 3, 4, 1, 1, 3};
      public static final double[] FOLK = {0, 3, 0, -1, 1, 4, 5, 3, 0, 2};
      public static final double[] RAP = {5, 5, 4, 0, -2, 1, 3, 0, 3, 4};
      public static final double[] SOFT = {1, 3, 1, -3, -5, -11, -12, -7, -11, -7};
      public static final double[] SOFT_BASS = {3, 3, 3, 0, -3, -3, 0, 0, 0, 0};
      public static final double[] SOFT_TONE = {0, 0, -5, -5, -5, -5, -3, 0, 5, 5};
      public static final double[] TONE = {-3, -3, -3, -3, -2, -2, 0, 6, 10, 12};
      public static final double[] MEDIANT = {-5, -5, -2, 2, 5, 5, 2, 0, -5, -6};
      public static final double[] BASS = {6, 6, 3, 0, -2, -2, 0, 0, 0, 0};
      public static final double[] BASS_AND_TONE = {6, 6, 3, 0, -2, -2, 0, 2, 6, 6};
      public static final double[] MEGA_BASS = {6, 4, -5, 2, 3, 4, 4, 5, 5, 6};
      public static final double[] SUPER_MEGA_BASS = {6, 6, 5, 0, -2, -2, 0, 0, 0, 0};
      public static final double[] SPEAKER = {-3, -3, 3, 4, 5, 5, 6, 6, 3, 3};
      public static final double[] BIG_HORN = {-11, -12, -10, -8, -8, 4, 10, 7, 4, -10};
      public static final double[] HIGH_PARSE = {1, 0, 0, 0, 0, 0, 0, 1, 4, 8};
      public static final double[] TREBLE_ATTENUATION = {8, 9, 7, 5, 3, 1, 0, 0, 1, 4};
      public static final double[] HIGH_VOICE_PRESSURE = {12, 12, 12, -2, -10, -12, -12, -12, -12, -12};
      public static final double[] OLD_PHONE = {7, -7, 7, -7, 7, -7, 7, -7, 7, -7};
  
      public static final String[] NAMES = {
              I18n.getText("off"),
              I18n.getText("pop"),
              I18n.getText("dance"),
              I18n.getText("live"),
              I18n.getText("blue"),
              I18n.getText("classic"),
              I18n.getText("jazz"),
              I18n.getText("slow"),
              I18n.getText("electronic"),
              I18n.getText("rock"),
              I18n.getText("country"),
              I18n.getText("vocal"),
              I18n.getText("acg"),
              I18n.getText("acgFemale"),
              I18n.getText("chinese"),
              I18n.getText("folk"),
              I18n.getText("rap"),
              I18n.getText("soft"),
              I18n.getText("softBass"),
              I18n.getText("softTreble"),
              I18n.getText("treble"),
              I18n.getText("middle"),
              I18n.getText("bass"),
              I18n.getText("bassTreble"),
              I18n.getText("bassBoost"),
              I18n.getText("bassExtreme"),
              I18n.getText("speaker"),
              I18n.getText("trumpet"),
              I18n.getText("highQuality"),
              I18n.getText("pitchDecay"),
              I18n.getText("scaryHorn"),
              I18n.getText("oldPhone")
      };
      public static final double[][] DATA = {
              OFF, POP, DANCE, PRESENT, BLUE, CLASSIC, JAZZ, SLOW, ELECTRONIC, ROCK, COUNTRY, VOICE, ACG, ACG_WOMAN, CHINESE_STYLE, FOLK, RAP,
              SOFT, SOFT_BASS, SOFT_TONE, TONE, MEDIANT, BASS, BASS_AND_TONE, MEGA_BASS, SUPER_MEGA_BASS,
              SPEAKER, BIG_HORN, HIGH_PARSE, TREBLE_ATTENUATION, HIGH_VOICE_PRESSURE, OLD_PHONE
      };
  }
  