TextGrid_Sound.h 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. /* TextGrid_Sound.h
  2. *
  3. * Copyright (C) 1992-2011,2013,2014,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. #include "TextGrid.h"
  19. #include "Sound.h"
  20. #include "Pitch.h"
  21. void TextGrid_Sound_draw (TextGrid me, Sound sound, Graphics g, double tmin, double tmax,
  22. bool showBoundaries, bool useTextStyles, bool garnish);
  23. Collection_define (SoundList, OrderedOf, Sound) {
  24. };
  25. autoSoundList TextGrid_Sound_extractAllIntervals (TextGrid me, Sound sound, integer tierNumber, bool preserveTimes);
  26. autoSoundList TextGrid_Sound_extractNonemptyIntervals (TextGrid me, Sound sound, integer tierNumber, bool preserveTimes);
  27. autoSoundList TextGrid_Sound_extractIntervalsWhere (TextGrid me, Sound sound,
  28. integer tierNumber, kMelder_string which, conststring32 text, bool preserveTimes);
  29. void TextGrid_Pitch_draw (TextGrid grid, Pitch pitch, Graphics g,
  30. integer tierNumber, double tmin, double tmax, double fmin, double fmax,
  31. double fontSize, bool useTextStyles, int horizontalAlignment, bool garnish, bool speckle, kPitch_unit unit);
  32. void TextGrid_Pitch_drawSeparately (TextGrid grid, Pitch pitch, Graphics g, double tmin, double tmax,
  33. double fmin, double fmax, bool showBoundaries, bool useTextStyles, bool garnish, bool speckle, kPitch_unit unit);
  34. void TextGrid_anySound_alignInterval (TextGrid me, Function anySound, integer tierNumber, integer intervalNumber,
  35. conststring32 languageName, bool includeWords, bool includePhonemes);
  36. /* End of file TextGrid_Sound.h */