Pitch_enums.h 1.3 KB

1234567891011121314151617181920212223242526272829303132
  1. /* Pitch_enums.h
  2. *
  3. * Copyright (C) 1992-2007,2013,2015,2016,2018 Paul Boersma
  4. *
  5. * This code is free software; you can redistribute it and/or modify
  6. * it under the terms of the GNU General Public License as published by
  7. * the Free Software Foundation; either version 2 of the License, or (at
  8. * your option) any later version.
  9. *
  10. * This code is distributed in the hope that it will be useful, but
  11. * WITHOUT ANY WARRANTY; without even the implied warranty of
  12. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  13. * See the GNU General Public License for more details.
  14. *
  15. * You should have received a copy of the GNU General Public License
  16. * along with this work. If not, see <http://www.gnu.org/licenses/>.
  17. */
  18. enums_begin (kPitch_unit, 0)
  19. enums_add (kPitch_unit, 0, HERTZ, U"Hertz")
  20. enums_add (kPitch_unit, 1, HERTZ_LOGARITHMIC, U"Hertz (logarithmic)")
  21. enums_add (kPitch_unit, 2, MEL, U"mel")
  22. enums_add (kPitch_unit, 3, LOG_HERTZ, U"logHertz")
  23. enums_add (kPitch_unit, 4, SEMITONES_1, U"semitones re 1 Hz")
  24. enums_add (kPitch_unit, 5, SEMITONES_100, U"semitones re 100 Hz")
  25. enums_add (kPitch_unit, 6, SEMITONES_200, U"semitones re 200 Hz")
  26. enums_add (kPitch_unit, 7, SEMITONES_440, U"semitones re 440 Hz")
  27. enums_add (kPitch_unit, 8, ERB, U"ERB")
  28. enums_end (kPitch_unit, 8, HERTZ)
  29. /* End of file Pitch_enums.h */