EEGWindow_prefs.h 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. /* EEGWindow_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 (EEGWindow)
  19. prefs_override_bool (EEGWindow, showSelectionViewer, 1, false)
  20. prefs_override_enum (EEGWindow, sound_scalingStrategy, 1, kTimeSoundEditor_scalingStrategy, DEFAULT)
  21. prefs_override_double (EEGWindow, sound_scaling_height, 1, U"20e-6")
  22. prefs_override_double (EEGWindow, sound_scaling_minimum, 1, U"-10e-6")
  23. prefs_override_double (EEGWindow, sound_scaling_maximum, 1, U"10e-6")
  24. prefs_override_double (EEGWindow, picture_bottom, 1, U"0.0")
  25. prefs_override_double (EEGWindow, picture_top, 1, U"0.0 (= auto)")
  26. prefs_override_bool (EEGWindow, spectrogram_show, 1, false);
  27. prefs_override_double (EEGWindow, spectrogram_viewFrom, 1, U"0.0") // Hz
  28. prefs_override_double (EEGWindow, spectrogram_viewTo, 1, U"60.0") // Hz
  29. prefs_override_double (EEGWindow, spectrogram_windowLength, 1, U"0.5") // seconds
  30. prefs_override_double (EEGWindow, spectrogram_dynamicRange, 1, U"40.0") // dB
  31. prefs_override_integer (EEGWindow, spectrogram_timeSteps, 1, U"1000")
  32. prefs_override_integer (EEGWindow, spectrogram_frequencySteps, 1, U"250")
  33. prefs_override_enum (EEGWindow, spectrogram_method, 1, kSound_to_Spectrogram_method, DEFAULT)
  34. prefs_override_enum (EEGWindow, spectrogram_windowShape, 1, kSound_to_Spectrogram_windowShape, DEFAULT)
  35. prefs_override_bool (EEGWindow, spectrogram_autoscaling, 1, true)
  36. prefs_override_double (EEGWindow, spectrogram_maximum, 1, U"100.0") // dB/Hz
  37. prefs_override_double (EEGWindow, spectrogram_preemphasis, 1, U"0.0") // dB/octave
  38. prefs_override_double (EEGWindow, spectrogram_dynamicCompression, 1, U"0.0")
  39. prefs_override_bool (EEGWindow, spectrogram_picture_garnish, 1, true)
  40. prefs_end (EEGWindow)
  41. /* End of file EEGWindow_prefs.h */