ManipulationEditor_prefs.h 1.9 KB

12345678910111213141516171819202122232425262728293031323334
  1. /* ManipulationEditor_prefs.h
  2. *
  3. * Copyright (C) 2013,2015,2017 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. prefs_begin (ManipulationEditor)
  19. prefs_add_double_with_data (ManipulationEditor, pitch_minimum, 1, U"50.0") // Hz
  20. prefs_add_double_with_data (ManipulationEditor, pitch_maximum, 1, U"300.0") // Hz
  21. prefs_add_enum_with_data (ManipulationEditor, pitch_units, 1, kManipulationEditor_pitchUnits, DEFAULT)
  22. prefs_add_enum_with_data (ManipulationEditor, pitch_draggingStrategy, 1, kManipulationEditor_draggingStrategy, DEFAULT)
  23. prefs_add_double_with_data (ManipulationEditor, pitch_stylize_frequencyResolution, 1, U"2.0")
  24. prefs_add_bool_with_data (ManipulationEditor, pitch_stylize_useSemitones, 1, true)
  25. prefs_add_integer_with_data (ManipulationEditor, pitch_interpolateQuadratically_numberOfPointsPerParabola, 1, U"4")
  26. prefs_add_double_with_data (ManipulationEditor, duration_minimum, 1, U"0.25")
  27. prefs_add_double_with_data (ManipulationEditor, duration_maximum, 1, U"3.0")
  28. prefs_end (ManipulationEditor)
  29. /* End of file ManipulationEditor_prefs.h */