| 1 | /* TextGrid_Sound.h |
| 2 | * |
| 3 | * Copyright (C) 1992-2019,2025,2026 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 3 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 | |
| 19 | #include "TextGrid.h"cxx . . $ `<file>/fon/TextGrid.h`/ |
| 20 | #include "Sound.h"cxx . . $ `<file>/fon/Sound.h`/ |
| 21 | #include "Pitch.h"cxx . . $ `<file>/fon/Pitch.h`/ |
| 22 | |
| 23 | void TextGrid_Sound_drawcxx . . $ TextGrid_Sound_draw(157ee8bebe99210c). (TextGridcxx . . $ TextGrid# me, Soundcxx . . $ Sound# sound, Graphicscxx . . $ Graphics# g, double tmin, double tmax, |
| 24 | bool showBoundaries, bool useTextStyles, bool garnish); |
| 25 | |
| 26 | autoSoundListcxx . . $ autoSoundList# TextGrid_Sound_extractAllIntervalscxx . . $ TextGrid_Sound_extractAllIntervals(43b6815cb45fe23f). (TextGridcxx . . $ TextGrid# me, Soundcxx . . $ Sound# sound, integercxx . . $ integer# tierNumber, bool preserveTimes); |
| 27 | autoSoundListcxx . . $ autoSoundList# TextGrid_Sound_extractNonemptyIntervalscxx . . $ TextGrid_Sound_extractNonemptyIntervals(43b6815cb45fe23f). (TextGridcxx . . $ TextGrid# me, Soundcxx . . $ Sound# sound, integercxx . . $ integer# tierNumber, bool preserveTimes); |
| 28 | autoSoundListcxx . . $ autoSoundList# TextGrid_Sound_extractIntervalsWherecxx . . $ TextGrid_Sound_extractIntervalsWhere(bbe48afd54b68a88). (TextGridcxx . . $ TextGrid# me, Soundcxx . . $ Sound# sound, |
| 29 | integercxx . . $ integer# tierNumber, kMelder_stringcxx . . $ kMelder_string# which, conststring32cxx . . $ conststring32# text, bool preserveTimes); |
| 30 | |
| 31 | void TextGrid_Pitch_drawcxx . . $ TextGrid_Pitch_draw(60e5e45e07d27d97). (TextGridcxx . . $ TextGrid# grid, Pitchcxx . . $ Pitch# pitch, Graphicscxx . . $ Graphics# g, |
| 32 | integercxx . . $ integer# tierNumber, double tmin, double tmax, double fmin, double fmax, |
| 33 | double fontSize, bool useTextStyles, int horizontalAlignment, bool garnish, bool speckle, kPitch_unitcxx . . $ kPitch_unit# unit); |
| 34 | void TextGrid_Pitch_drawSeparatelycxx . . $ TextGrid_Pitch_drawSeparately(14dac9b88581388). (TextGridcxx . . $ TextGrid# grid, Pitchcxx . . $ Pitch# pitch, Graphicscxx . . $ Graphics# g, double tmin, double tmax, |
| 35 | double fmin, double fmax, bool showBoundaries, bool useTextStyles, bool garnish, bool speckle, kPitch_unitcxx . . $ kPitch_unit# unit); |
| 36 | |
| 37 | void TextGrid_anySound_alignIntervalcxx . . $ TextGrid_anySound_alignInterval(332948b7d4353975). (TextGridcxx . . $ TextGrid# me, Functioncxx . . $ Function# anySound, integercxx . . $ integer# tierNumber, integercxx . . $ integer# intervalNumber, |
| 38 | conststring32cxx . . $ conststring32# languageName, bool includeWords, bool includePhonemes); |
| 39 | |
| 40 | struct SpeechSegmentcxx . . $ SpeechSegment#; |
| 41 | void splitIntervalIntoWhisperSegmentscxx . . $ splitIntervalIntoWhisperSegments(7411d4cead439ef3). (IntervalTiercxx . . $ IntervalTier# tier, integercxx . . $ integer# tierNumber, |
| 42 | double originalTmin, double originalTmax, autovectorcxx . . $ autovector#<SpeechSegmentcxx . . $ SpeechSegment#> const& segments); |
| 43 | void TextGrid_Sound_transcribeIntervalcxx . . $ TextGrid_Sound_transcribeInterval(659089df28c6493b). (TextGridcxx . . $ TextGrid# me, Soundcxx . . $ Sound# sound, integercxx . . $ integer# tierNumber, integercxx . . $ integer# intervalNumber, |
| 44 | conststring32cxx . . $ conststring32# modelName, conststring32cxx . . $ conststring32# languageName, bool includeWords, bool useVad, |
| 45 | double speechProbabilityThreshold, double minNonSpeechDuration, double minSpeechDuration, double speechPad, |
| 46 | bool includeDiarization, integercxx . . $ integer# maxNumSpeakers, bool allowSpeakersOverlap, |
| 47 | double clusterThreshold, double segmentationStep |
| 48 | ); |
| 49 | void TextGrid_Sound_diarizeIntervalcxx . . $ TextGrid_Sound_diarizeInterval(2877a69040826ca). (TextGridcxx . . $ TextGrid# me, Soundcxx . . $ Sound# sound, integercxx . . $ integer# tierNumber, integercxx . . $ integer# intervalNumber, |
| 50 | integercxx . . $ integer# maxNumSpeakers, bool allowSpeakersOverlap, conststring32cxx . . $ conststring32# nonSpeechLabel, conststring32cxx . . $ conststring32# speechLabel, |
| 51 | double clusterThreshold, double segmentationStep |
| 52 | ); |
| 53 | |
| 54 | autoSoundcxx . . $ autoSound# Sound_readWithAdjacentAnnotationFiles_buckeyecxx . . $ Sound_readWithAdjacentAnnotationFiles_buckeye(7832d29e9f1860e5). (conststring32cxx . . $ conststring32# soundFileName, autoTextGridcxx . . $ autoTextGrid# *out_textgrid); |
| 55 | autoSoundcxx . . $ autoSound# Sound_readWithAdjacentAnnotationFiles_timitcxx . . $ Sound_readWithAdjacentAnnotationFiles_timit(7832d29e9f1860e5). (conststring32cxx . . $ conststring32# soundFileName, autoTextGridcxx . . $ autoTextGrid# *out_textgrid); |
| 56 | autoTextGridcxx . . $ autoTextGrid# TextGrid_Sound_readFromCorpusGesprokenNederlandscxx . . $ TextGrid_Sound_readFromCorpusGesprokenNederlands(ee7e710952ff1d8f). (conststring32cxx . . $ conststring32# soundFileName, autoSoundcxx . . $ autoSound# *out_Sound); |
| 57 | |
| 58 | /* End of file TextGrid_Sound.h */ |