Debian Codegraph @

foned/IntensityTierEditor.cpp

raw symbols SCIP
1 /* IntensityTierEditor.cpp
2 *
3 * Copyright (C) 1992-2012,2014-2016,2018,2020-2022 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
19 #include "IntensityTierEditor.h"cxx . . $ `<file>/foned/IntensityTierEditor.h`/
20 #include "EditorM.h"cxx . . $ `<file>/sys/EditorM.h`/
21
22 Thing_implementcxx . . $ `sys/Thing.h:65:9`! (IntensityTierEditor, RealTierEditor, 0);
23
24 static void HELP_IntensityTierHelpcxx . . $ HELP_IntensityTierHelp(2f756146c3f16877). (IntensityTierEditorcxx . . $ IntensityTierEditor#, EDITOR_ARGScxx . . $ `sys/EditorM.h:25:9`!) {
25 HELPcxx . . $ `sys/EditorM.h:631:9`! (U"IntensityTier")
26 }
27
28 void structIntensityTierEditorcxx . . $ structIntensityTierEditor# :: v_createMenuItems_helpcxx . . $ structIntensityTierEditor#v_createMenuItems_help(6ea9c8c6ea2f58a9). (EditorMenucxx . . $ EditorMenu# menu) {
29 IntensityTierEditor_Parentcxx . . $ IntensityTierEditor_Parent# :: v_createMenuItems_helpcxx . . $ structFunctionEditor#v_createMenuItems_help(6ea9c8c6ea2f58a9). (menu);
30 EditorMenu_addCommandcxx . . $ EditorMenu_addCommand(b3c50ad5ffa1d58a). (menu, U"IntensityTier help", 0, HELP_IntensityTierHelpcxx . . $ MelderCallback#MelderCallback(aaa169a015c1cf97).);
31 }
32
33 void structIntensityTierEditorcxx . . $ structIntensityTierEditor# :: v_playcxx . . $ structIntensityTierEditor#v_play(bc12c9ec15586e6a). (double startTime, double endTime) {
34 if (ourcxx . . $ `melder/melder.h:42:9`! soundAreacxx . . $ structRealTierEditor#soundArea(f75ec617f241a3e6).()) {
35 Sound_playPartcxx . . $ Sound_playPart(4a8b47ed00757136). (ourcxx . . $ `melder/melder.h:42:9`! soundAreacxx . . $ structRealTierEditor#soundArea(f75ec617f241a3e6).() ->cxx . . $ autoSomeThing#`operator->`(34d6acfd341ba7ab). soundcxx . . $ structSoundArea#sound(f0b31236b65da120).(), startTime, endTime, theFunctionEditor_playCallbackcxx . . $ MelderCallback#MelderCallback(b367fc31b94dacdb)., this);
36 } else {
37 //IntensityTier_playPart (our data, startTime, endTime, false);
38 }
39 }
40
41 autoIntensityTierEditorcxx . . $ autoIntensityTierEditor# IntensityTierEditor_createcxx . . $ IntensityTierEditor_create(759efa25983e7930). (conststring32cxx . . $ conststring32# title, IntensityTiercxx . . $ IntensityTier# intensityTier, Soundcxx . . $ Sound# soundToCopy) {
42 try {
43 autoIntensityTierEditorcxx . . $ autoIntensityTierEditor# me = Thing_newcxx . . $ `sys/Thing.h:514:9`! (IntensityTierEditor);
44 mycxx . . $ `melder/melder.h:44:9`! realTierAreacxx . . $ structRealTierEditor#realTierArea(dcdc0120dce326ec).() =cxx . . $ autoSomeThing#`operator=`(ed6a1a4da6aedae3). IntensityTierArea_createcxx . . $ IntensityTierArea_create(acea14181d96caba). (true, nullptr, me.getcxx . . $ autoSomeThing#get(34d6acfd341ba7ab).());
45 if (soundToCopy)
46 mycxx . . $ `melder/melder.h:44:9`! soundAreacxx . . $ structRealTierEditor#soundArea(f75ec617f241a3e6).() =cxx . . $ autoSomeThing#`operator=`(80cc59814f7161e8). SoundArea_createcxx . . $ SoundArea_create(4b60938fec9a8242). (false, soundToCopy, me.getcxx . . $ autoSomeThing#get(34d6acfd341ba7ab).());
47 FunctionEditor_initcxx . . $ FunctionEditor_init(719bc58b4917372e). (me.getcxx . . $ autoSomeThing#get(34d6acfd341ba7ab).(), title, intensityTier);
48 return mecxx . . $ autoSomeThing#autoSomeThing(b79141a71f7bc86f).;
49 } catch (MelderErrorcxx . . $ MelderError#) {
50 Melder_throwcxx . . $ `melder/melder_error.h:77:9`! (U"IntensityTier window not created.");
51 }
52 }
53
54 /* End of file IntensityTierEditor.cpp */