| 1 | /* KlattGridEditors.cpp |
| 2 | * |
| 3 | * Copyright (C) 2009-2019 David Weenink, 2021,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 | /* |
| 20 | * djmw 20090123 |
| 21 | * djmw 20090128 Remove source menu from formant grid editor. |
| 22 | * djmw 20090420 dbEditor |
| 23 | * djmw 20090527 Protect FormantGridEditor against empty FormantGrids. |
| 24 | * djmw 20110304 Thing_new |
| 25 | */ |
| 26 | |
| 27 | #include "KlattGridEditors.h"cxx . . $ `<file>/dwtools/KlattGridEditors.h`/ |
| 28 | #include "EditorM.h"cxx . . $ `<file>/sys/EditorM.h`/ |
| 29 | |
| 30 | static void KlattGrid_Editor_defaultPlaycxx . . $ KlattGrid_Editor_defaultPlay(e6662a361150bf3b). (KlattGridcxx . . $ KlattGrid# me, FunctionEditorcxx . . $ FunctionEditor# editor, double tmin, double tmax) { |
| 31 | mycxx . . $ `melder/melder.h:44:9`! optionscxx . . $ structKlattGrid#options. ->cxx . . $ autoSomeThing#`operator->`(34d6acfd341ba7ab). xmincxx . . $ structKlattGridPlayOptions#xmin. = tmin; |
| 32 | mycxx . . $ `melder/melder.h:44:9`! optionscxx . . $ structKlattGrid#options. ->cxx . . $ autoSomeThing#`operator->`(34d6acfd341ba7ab). xmaxcxx . . $ structKlattGridPlayOptions#xmax. = tmax; |
| 33 | KlattGrid_playSpecialcxx . . $ KlattGrid_playSpecial(cff2bf275a7c2f11). (me, theFunctionEditor_playCallbackcxx . . $ MelderCallback#MelderCallback(b367fc31b94dacdb)., editor); |
| 34 | } |
| 35 | |
| 36 | |
| 37 | #pragma mark - KlattGrid_RealTierEditor |
| 38 | |
| 39 | Thing_implementcxx . . $ `sys/Thing.h:65:9`! (KlattGrid_RealTierEditor, RealTierEditor, 0); |
| 40 | |
| 41 | static void menu_cb_KlattGridHelpcxx . . $ menu_cb_KlattGridHelp(1c728b7fb908886b). (KlattGrid_RealTierEditorcxx . . $ KlattGrid_RealTierEditor#, EDITOR_ARGScxx . . $ `sys/EditorM.h:25:9`!) { |
| 42 | Melder_helpcxx . . $ Melder_help(ff00d524ab0355ec). (U"KlattGrid"); |
| 43 | } |
| 44 | |
| 45 | void structKlattGrid_RealTierEditorcxx . . $ structKlattGrid_RealTierEditor# :: v_createMenuItems_helpcxx . . $ structKlattGrid_RealTierEditor#v_createMenuItems_help(6ea9c8c6ea2f58a9). (EditorMenucxx . . $ EditorMenu# menu) { |
| 46 | KlattGrid_RealTierEditor_Parentcxx . . $ KlattGrid_RealTierEditor_Parent# :: v_createMenuItems_helpcxx . . $ structFunctionEditor#v_createMenuItems_help(6ea9c8c6ea2f58a9). (menu); |
| 47 | EditorMenu_addCommandcxx . . $ EditorMenu_addCommand(b3c50ad5ffa1d58a). (menu, U"KlattGrid help", 0, menu_cb_KlattGridHelpcxx . . $ MelderCallback#MelderCallback(aaa169a015c1cf97).); |
| 48 | } |
| 49 | |
| 50 | void structKlattGrid_RealTierEditorcxx . . $ structKlattGrid_RealTierEditor# :: v_playcxx . . $ structKlattGrid_RealTierEditor#v_play(bc12c9ec15586e6a). (double startTime, double endTime) { |
| 51 | KlattGrid_Editor_defaultPlaycxx . . $ KlattGrid_Editor_defaultPlay(e6662a361150bf3b). (ourcxx . . $ `melder/melder.h:42:9`! klattgridcxx . . $ structKlattGrid_RealTierEditor#klattgrid(be2675f27cc4c9ee).(), this, startTime, endTime); |
| 52 | } |
| 53 | |
| 54 | |
| 55 | #pragma mark - KlattGrid_IntensityTierEditor |
| 56 | |
| 57 | Thing_implementcxx . . $ `sys/Thing.h:65:9`! (KlattGrid_IntensityTierEditor, KlattGrid_RealTierEditor, 0); |
| 58 | |
| 59 | static void menu_cb_IntensityTierHelpcxx . . $ menu_cb_IntensityTierHelp(8ad5aa3751620ca7). (KlattGrid_IntensityTierEditorcxx . . $ KlattGrid_IntensityTierEditor#, EDITOR_ARGScxx . . $ `sys/EditorM.h:25:9`!) { |
| 60 | Melder_helpcxx . . $ Melder_help(ff00d524ab0355ec). (U"IntensityTier"); |
| 61 | } |
| 62 | |
| 63 | void structKlattGrid_IntensityTierEditorcxx . . $ structKlattGrid_IntensityTierEditor# :: v_createMenuItems_helpcxx . . $ structKlattGrid_IntensityTierEditor#v_createMenuItems_help(6ea9c8c6ea2f58a9). (EditorMenucxx . . $ EditorMenu# menu) { |
| 64 | KlattGrid_IntensityTierEditor_Parentcxx . . $ KlattGrid_IntensityTierEditor_Parent# :: v_createMenuItems_helpcxx . . $ structKlattGrid_RealTierEditor#v_createMenuItems_help(6ea9c8c6ea2f58a9). (menu); |
| 65 | EditorMenu_addCommandcxx . . $ EditorMenu_addCommand(b3c50ad5ffa1d58a). (menu, U"IntensityTier help", 0, menu_cb_IntensityTierHelpcxx . . $ MelderCallback#MelderCallback(aaa169a015c1cf97).); |
| 66 | } |
| 67 | |
| 68 | |
| 69 | #pragma mark - KlattGrid_PitchTierEditor |
| 70 | |
| 71 | Thing_implementcxx . . $ `sys/Thing.h:65:9`! (KlattGrid_PitchTierArea, PitchTierArea, 0); |
| 72 | #include "Prefs_define.h"cxx . . $ `<file>/sys/Prefs_define.h`/ |
| 73 | #include "KlattGrid_PitchTierArea_prefs.h"cxx . . $ `<file>/dwtools/KlattGrid_PitchTierArea_prefs.h`/ |
| 74 | #include "Prefs_install.h"cxx . . $ `<file>/sys/Prefs_install.h`/ |
| 75 | #include "KlattGrid_PitchTierArea_prefs.h"cxx . . $ `<file>/dwtools/KlattGrid_PitchTierArea_prefs.h`/ |
| 76 | #include "Prefs_copyToInstance.h"cxx . . $ `<file>/sys/Prefs_copyToInstance.h`/ |
| 77 | #include "KlattGrid_PitchTierArea_prefs.h"cxx . . $ `<file>/dwtools/KlattGrid_PitchTierArea_prefs.h`/ |
| 78 | |
| 79 | Thing_implementcxx . . $ `sys/Thing.h:65:9`! (KlattGrid_PitchTierEditor, KlattGrid_RealTierEditor, 0); |
| 80 | |
| 81 | static void menu_cb_KlattGrid_PitchTierEditorHelpcxx . . $ menu_cb_KlattGrid_PitchTierEditorHelp(2940a7024b3581d7). (KlattGrid_PitchTierEditorcxx . . $ KlattGrid_PitchTierEditor#, EDITOR_ARGScxx . . $ `sys/EditorM.h:25:9`!) { |
| 82 | Melder_helpcxx . . $ Melder_help(ff00d524ab0355ec). (U"PitchTierEditor"); |
| 83 | } |
| 84 | |
| 85 | static void menu_cb_PitchTierHelpcxx . . $ menu_cb_PitchTierHelp(2940a7024b3581d7). (KlattGrid_PitchTierEditorcxx . . $ KlattGrid_PitchTierEditor#, EDITOR_ARGScxx . . $ `sys/EditorM.h:25:9`!) { |
| 86 | Melder_helpcxx . . $ Melder_help(ff00d524ab0355ec). (U"PitchTier"); |
| 87 | } |
| 88 | |
| 89 | void structKlattGrid_PitchTierEditorcxx . . $ structKlattGrid_PitchTierEditor# :: v_createMenuItems_helpcxx . . $ structKlattGrid_PitchTierEditor#v_createMenuItems_help(6ea9c8c6ea2f58a9). (EditorMenucxx . . $ EditorMenu# menu) { |
| 90 | EditorMenu_addCommandcxx . . $ EditorMenu_addCommand(b3c50ad5ffa1d58a). (menu, U"PitchTierEditor help", 0, menu_cb_KlattGrid_PitchTierEditorHelpcxx . . $ MelderCallback#MelderCallback(aaa169a015c1cf97).); |
| 91 | EditorMenu_addCommandcxx . . $ EditorMenu_addCommand(b3c50ad5ffa1d58a). (menu, U"PitchTier help", 0, menu_cb_PitchTierHelpcxx . . $ MelderCallback#MelderCallback(aaa169a015c1cf97).); |
| 92 | } |
| 93 | |
| 94 | autoKlattGrid_PitchTierEditorcxx . . $ autoKlattGrid_PitchTierEditor# KlattGrid_PitchTierEditor_createcxx . . $ KlattGrid_PitchTierEditor_create(c31f18cade9de2ef). (conststring32cxx . . $ conststring32# title, KlattGridcxx . . $ KlattGrid# klattgrid) { |
| 95 | try { |
| 96 | autoKlattGrid_PitchTierEditorcxx . . $ autoKlattGrid_PitchTierEditor# me = Thing_newcxx . . $ `sys/Thing.h:514:9`! (KlattGrid_PitchTierEditor); |
| 97 | mycxx . . $ `melder/melder.h:44:9`! realTierAreacxx . . $ structRealTierEditor#realTierArea(dcdc0120dce326ec).() =cxx . . $ autoSomeThing#`operator=`(ed6a1a4da6aedae3). KlattGrid_PitchTierArea_createcxx . . $ KlattGrid_PitchTierArea_create(d0154f870d83c3eb). (true, nullptr, me.getcxx . . $ autoSomeThing#get(34d6acfd341ba7ab).()); |
| 98 | FunctionEditor_initcxx . . $ FunctionEditor_init(719bc58b4917372e). (me.getcxx . . $ autoSomeThing#get(34d6acfd341ba7ab).(), title, klattgrid); |
| 99 | return mecxx . . $ autoSomeThing#autoSomeThing(b79141a71f7bc86f).; |
| 100 | } catch (MelderErrorcxx . . $ MelderError#) { |
| 101 | Melder_throwcxx . . $ `melder/melder_error.h:77:9`! (U"KlattGrid pitch window not created."); |
| 102 | } |
| 103 | } |
| 104 | |
| 105 | |
| 106 | #pragma mark - KlattGrid_VoicingAmplitudeTierEditor |
| 107 | |
| 108 | Thing_implementcxx . . $ `sys/Thing.h:65:9`! (KlattGrid_VoicingAmplitudeTierArea, KlattGrid_IntensityTierArea, 0); |
| 109 | |
| 110 | Thing_implementcxx . . $ `sys/Thing.h:65:9`! (KlattGrid_VoicingAmplitudeTierEditor, KlattGrid_IntensityTierEditor, 0); |
| 111 | |
| 112 | autoKlattGrid_VoicingAmplitudeTierEditorcxx . . $ autoKlattGrid_VoicingAmplitudeTierEditor# KlattGrid_VoicingAmplitudeTierEditor_createcxx . . $ KlattGrid_VoicingAmplitudeTierEditor_create(56e664cf3bedc3e). (conststring32cxx . . $ conststring32# title, KlattGridcxx . . $ KlattGrid# klattgrid) { |
| 113 | try { |
| 114 | autoKlattGrid_VoicingAmplitudeTierEditorcxx . . $ autoKlattGrid_VoicingAmplitudeTierEditor# me = Thing_newcxx . . $ `sys/Thing.h:514:9`! (KlattGrid_VoicingAmplitudeTierEditor); |
| 115 | mycxx . . $ `melder/melder.h:44:9`! realTierAreacxx . . $ structRealTierEditor#realTierArea(dcdc0120dce326ec).() =cxx . . $ autoSomeThing#`operator=`(ed6a1a4da6aedae3). KlattGrid_VoicingAmplitudeTierArea_createcxx . . $ KlattGrid_VoicingAmplitudeTierArea_create(70eb1e5f1935ac57). (true, nullptr, me.getcxx . . $ autoSomeThing#get(34d6acfd341ba7ab).()); |
| 116 | FunctionEditor_initcxx . . $ FunctionEditor_init(719bc58b4917372e). (me.getcxx . . $ autoSomeThing#get(34d6acfd341ba7ab).(), title, klattgrid); |
| 117 | return mecxx . . $ autoSomeThing#autoSomeThing(b79141a71f7bc86f).; |
| 118 | } catch (MelderErrorcxx . . $ MelderError#) { |
| 119 | Melder_throwcxx . . $ `melder/melder_error.h:77:9`! (U"KlattGrid voicing amplitude window not created."); |
| 120 | } |
| 121 | } |
| 122 | |
| 123 | |
| 124 | #pragma mark - KlattGrid_FlutterTierEditor |
| 125 | |
| 126 | Thing_implementcxx . . $ `sys/Thing.h:65:9`! (KlattGrid_FlutterTierArea, RealTierArea, 0); |
| 127 | #include "Prefs_define.h"cxx . . $ `<file>/sys/Prefs_define.h`/ |
| 128 | #include "KlattGrid_FlutterTierArea_prefs.h"cxx . . $ `<file>/dwtools/KlattGrid_FlutterTierArea_prefs.h`/ |
| 129 | #include "Prefs_install.h"cxx . . $ `<file>/sys/Prefs_install.h`/ |
| 130 | #include "KlattGrid_FlutterTierArea_prefs.h"cxx . . $ `<file>/dwtools/KlattGrid_FlutterTierArea_prefs.h`/ |
| 131 | #include "Prefs_copyToInstance.h"cxx . . $ `<file>/sys/Prefs_copyToInstance.h`/ |
| 132 | #include "KlattGrid_FlutterTierArea_prefs.h"cxx . . $ `<file>/dwtools/KlattGrid_FlutterTierArea_prefs.h`/ |
| 133 | |
| 134 | Thing_implementcxx . . $ `sys/Thing.h:65:9`! (KlattGrid_FlutterTierEditor, KlattGrid_RealTierEditor, 0); |
| 135 | |
| 136 | autoKlattGrid_FlutterTierEditorcxx . . $ autoKlattGrid_FlutterTierEditor# KlattGrid_FlutterTierEditor_createcxx . . $ KlattGrid_FlutterTierEditor_create(f52f6dd2fee2c0ec). (conststring32cxx . . $ conststring32# title, KlattGridcxx . . $ KlattGrid# klattgrid) { |
| 137 | try { |
| 138 | autoKlattGrid_FlutterTierEditorcxx . . $ autoKlattGrid_FlutterTierEditor# me = Thing_newcxx . . $ `sys/Thing.h:514:9`! (KlattGrid_FlutterTierEditor); |
| 139 | mycxx . . $ `melder/melder.h:44:9`! realTierAreacxx . . $ structRealTierEditor#realTierArea(dcdc0120dce326ec).() =cxx . . $ autoSomeThing#`operator=`(ed6a1a4da6aedae3). KlattGrid_FlutterTierArea_createcxx . . $ KlattGrid_FlutterTierArea_create(84cff5c01b6e5b2a). (true, nullptr, me.getcxx . . $ autoSomeThing#get(34d6acfd341ba7ab).()); |
| 140 | FunctionEditor_initcxx . . $ FunctionEditor_init(719bc58b4917372e). (me.getcxx . . $ autoSomeThing#get(34d6acfd341ba7ab).(), title, klattgrid); |
| 141 | return mecxx . . $ autoSomeThing#autoSomeThing(b79141a71f7bc86f).; |
| 142 | } catch (MelderErrorcxx . . $ MelderError#) { |
| 143 | Melder_throwcxx . . $ `melder/melder_error.h:77:9`! (U"KlattGrid flutter window not created."); |
| 144 | } |
| 145 | } |
| 146 | |
| 147 | |
| 148 | #pragma mark - KlattGrid_Power1TierEditor |
| 149 | |
| 150 | Thing_implementcxx . . $ `sys/Thing.h:65:9`! (KlattGrid_Power1TierArea, RealTierArea, 0); |
| 151 | #include "Prefs_define.h"cxx . . $ `<file>/sys/Prefs_define.h`/ |
| 152 | #include "KlattGrid_Power1TierArea_prefs.h"cxx . . $ `<file>/dwtools/KlattGrid_Power1TierArea_prefs.h`/ |
| 153 | #include "Prefs_install.h"cxx . . $ `<file>/sys/Prefs_install.h`/ |
| 154 | #include "KlattGrid_Power1TierArea_prefs.h"cxx . . $ `<file>/dwtools/KlattGrid_Power1TierArea_prefs.h`/ |
| 155 | #include "Prefs_copyToInstance.h"cxx . . $ `<file>/sys/Prefs_copyToInstance.h`/ |
| 156 | #include "KlattGrid_Power1TierArea_prefs.h"cxx . . $ `<file>/dwtools/KlattGrid_Power1TierArea_prefs.h`/ |
| 157 | |
| 158 | Thing_implementcxx . . $ `sys/Thing.h:65:9`! (KlattGrid_Power1TierEditor, KlattGrid_RealTierEditor, 0); |
| 159 | |
| 160 | autoKlattGrid_Power1TierEditorcxx . . $ autoKlattGrid_Power1TierEditor# KlattGrid_Power1TierEditor_createcxx . . $ KlattGrid_Power1TierEditor_create(110b13d0789dbf23). (conststring32cxx . . $ conststring32# title, KlattGridcxx . . $ KlattGrid# klattgrid) { |
| 161 | try { |
| 162 | autoKlattGrid_Power1TierEditorcxx . . $ autoKlattGrid_Power1TierEditor# me = Thing_newcxx . . $ `sys/Thing.h:514:9`! (KlattGrid_Power1TierEditor); |
| 163 | mycxx . . $ `melder/melder.h:44:9`! realTierAreacxx . . $ structRealTierEditor#realTierArea(dcdc0120dce326ec).() =cxx . . $ autoSomeThing#`operator=`(ed6a1a4da6aedae3). KlattGrid_Power1TierArea_createcxx . . $ KlattGrid_Power1TierArea_create(8eb886b59c3bc612). (true, nullptr, me.getcxx . . $ autoSomeThing#get(34d6acfd341ba7ab).()); |
| 164 | FunctionEditor_initcxx . . $ FunctionEditor_init(719bc58b4917372e). (me.getcxx . . $ autoSomeThing#get(34d6acfd341ba7ab).(), title, klattgrid); |
| 165 | return mecxx . . $ autoSomeThing#autoSomeThing(b79141a71f7bc86f).; |
| 166 | } catch (MelderErrorcxx . . $ MelderError#) { |
| 167 | Melder_throwcxx . . $ `melder/melder_error.h:77:9`! (U"KlattGrid power1 window not created."); |
| 168 | } |
| 169 | } |
| 170 | |
| 171 | |
| 172 | #pragma mark - KlattGrid_Power2TierEditor |
| 173 | |
| 174 | Thing_implementcxx . . $ `sys/Thing.h:65:9`! (KlattGrid_Power2TierArea, RealTierArea, 0); |
| 175 | #include "Prefs_define.h"cxx . . $ `<file>/sys/Prefs_define.h`/ |
| 176 | #include "KlattGrid_Power2TierArea_prefs.h"cxx . . $ `<file>/dwtools/KlattGrid_Power2TierArea_prefs.h`/ |
| 177 | #include "Prefs_install.h"cxx . . $ `<file>/sys/Prefs_install.h`/ |
| 178 | #include "KlattGrid_Power2TierArea_prefs.h"cxx . . $ `<file>/dwtools/KlattGrid_Power2TierArea_prefs.h`/ |
| 179 | #include "Prefs_copyToInstance.h"cxx . . $ `<file>/sys/Prefs_copyToInstance.h`/ |
| 180 | #include "KlattGrid_Power2TierArea_prefs.h"cxx . . $ `<file>/dwtools/KlattGrid_Power2TierArea_prefs.h`/ |
| 181 | |
| 182 | Thing_implementcxx . . $ `sys/Thing.h:65:9`! (KlattGrid_Power2TierEditor, KlattGrid_RealTierEditor, 0); |
| 183 | |
| 184 | autoKlattGrid_Power2TierEditorcxx . . $ autoKlattGrid_Power2TierEditor# KlattGrid_Power2TierEditor_createcxx . . $ KlattGrid_Power2TierEditor_create(45870d50672b1407). (conststring32cxx . . $ conststring32# title, KlattGridcxx . . $ KlattGrid# klattgrid) { |
| 185 | try { |
| 186 | autoKlattGrid_Power2TierEditorcxx . . $ autoKlattGrid_Power2TierEditor# me = Thing_newcxx . . $ `sys/Thing.h:514:9`! (KlattGrid_Power2TierEditor); |
| 187 | mycxx . . $ `melder/melder.h:44:9`! realTierAreacxx . . $ structRealTierEditor#realTierArea(dcdc0120dce326ec).() =cxx . . $ autoSomeThing#`operator=`(ed6a1a4da6aedae3). KlattGrid_Power2TierArea_createcxx . . $ KlattGrid_Power2TierArea_create(b18fc7ff6d56ea35). (true, nullptr, me.getcxx . . $ autoSomeThing#get(34d6acfd341ba7ab).()); |
| 188 | FunctionEditor_initcxx . . $ FunctionEditor_init(719bc58b4917372e). (me.getcxx . . $ autoSomeThing#get(34d6acfd341ba7ab).(), title, klattgrid); |
| 189 | return mecxx . . $ autoSomeThing#autoSomeThing(b79141a71f7bc86f).; |
| 190 | } catch (MelderErrorcxx . . $ MelderError#) { |
| 191 | Melder_throwcxx . . $ `melder/melder_error.h:77:9`! (U"KlattGrid power2 window not created."); |
| 192 | } |
| 193 | } |
| 194 | |
| 195 | |
| 196 | #pragma mark - KlattGrid_OpenPhaseTierEditor |
| 197 | |
| 198 | Thing_implementcxx . . $ `sys/Thing.h:65:9`! (KlattGrid_OpenPhaseTierArea, RealTierArea, 0); |
| 199 | #include "Prefs_define.h"cxx . . $ `<file>/sys/Prefs_define.h`/ |
| 200 | #include "KlattGrid_OpenPhaseTierArea_prefs.h"cxx . . $ `<file>/dwtools/KlattGrid_OpenPhaseTierArea_prefs.h`/ |
| 201 | #include "Prefs_install.h"cxx . . $ `<file>/sys/Prefs_install.h`/ |
| 202 | #include "KlattGrid_OpenPhaseTierArea_prefs.h"cxx . . $ `<file>/dwtools/KlattGrid_OpenPhaseTierArea_prefs.h`/ |
| 203 | #include "Prefs_copyToInstance.h"cxx . . $ `<file>/sys/Prefs_copyToInstance.h`/ |
| 204 | #include "KlattGrid_OpenPhaseTierArea_prefs.h"cxx . . $ `<file>/dwtools/KlattGrid_OpenPhaseTierArea_prefs.h`/ |
| 205 | |
| 206 | Thing_implementcxx . . $ `sys/Thing.h:65:9`! (KlattGrid_OpenPhaseTierEditor, KlattGrid_RealTierEditor, 0); |
| 207 | |
| 208 | autoKlattGrid_OpenPhaseTierEditorcxx . . $ autoKlattGrid_OpenPhaseTierEditor# KlattGrid_OpenPhaseTierEditor_createcxx . . $ KlattGrid_OpenPhaseTierEditor_create(6d95cbf7f2aae7b5). (conststring32cxx . . $ conststring32# title, KlattGridcxx . . $ KlattGrid# klattgrid) { |
| 209 | try { |
| 210 | autoKlattGrid_OpenPhaseTierEditorcxx . . $ autoKlattGrid_OpenPhaseTierEditor# me = Thing_newcxx . . $ `sys/Thing.h:514:9`! (KlattGrid_OpenPhaseTierEditor); |
| 211 | mycxx . . $ `melder/melder.h:44:9`! realTierAreacxx . . $ structRealTierEditor#realTierArea(dcdc0120dce326ec).() =cxx . . $ autoSomeThing#`operator=`(ed6a1a4da6aedae3). KlattGrid_OpenPhaseTierArea_createcxx . . $ KlattGrid_OpenPhaseTierArea_create(e7534a7aabed131b). (true, nullptr, me.getcxx . . $ autoSomeThing#get(34d6acfd341ba7ab).()); |
| 212 | FunctionEditor_initcxx . . $ FunctionEditor_init(719bc58b4917372e). (me.getcxx . . $ autoSomeThing#get(34d6acfd341ba7ab).(), title, klattgrid); |
| 213 | return mecxx . . $ autoSomeThing#autoSomeThing(b79141a71f7bc86f).; |
| 214 | } catch (MelderErrorcxx . . $ MelderError#) { |
| 215 | Melder_throwcxx . . $ `melder/melder_error.h:77:9`! (U"KlattGrid open phase window not created."); |
| 216 | } |
| 217 | } |
| 218 | |
| 219 | |
| 220 | #pragma mark - KlattGrid_CollisionPhaseTierEditor |
| 221 | |
| 222 | Thing_implementcxx . . $ `sys/Thing.h:65:9`! (KlattGrid_CollisionPhaseTierArea, RealTierArea, 0); |
| 223 | #include "Prefs_define.h"cxx . . $ `<file>/sys/Prefs_define.h`/ |
| 224 | #include "KlattGrid_CollisionPhaseTierArea_prefs.h"cxx . . $ `<file>/dwtools/KlattGrid_CollisionPhaseTierArea_prefs.h`/ |
| 225 | #include "Prefs_install.h"cxx . . $ `<file>/sys/Prefs_install.h`/ |
| 226 | #include "KlattGrid_CollisionPhaseTierArea_prefs.h"cxx . . $ `<file>/dwtools/KlattGrid_CollisionPhaseTierArea_prefs.h`/ |
| 227 | #include "Prefs_copyToInstance.h"cxx . . $ `<file>/sys/Prefs_copyToInstance.h`/ |
| 228 | #include "KlattGrid_CollisionPhaseTierArea_prefs.h"cxx . . $ `<file>/dwtools/KlattGrid_CollisionPhaseTierArea_prefs.h`/ |
| 229 | |
| 230 | Thing_implementcxx . . $ `sys/Thing.h:65:9`! (KlattGrid_CollisionPhaseTierEditor, KlattGrid_RealTierEditor, 0); |
| 231 | |
| 232 | autoKlattGrid_CollisionPhaseTierEditorcxx . . $ autoKlattGrid_CollisionPhaseTierEditor# KlattGrid_CollisionPhaseTierEditor_createcxx . . $ KlattGrid_CollisionPhaseTierEditor_create(f8aab0e889b27d72). (conststring32cxx . . $ conststring32# title, KlattGridcxx . . $ KlattGrid# klattgrid) { |
| 233 | try { |
| 234 | autoKlattGrid_CollisionPhaseTierEditorcxx . . $ autoKlattGrid_CollisionPhaseTierEditor# me = Thing_newcxx . . $ `sys/Thing.h:514:9`! (KlattGrid_CollisionPhaseTierEditor); |
| 235 | mycxx . . $ `melder/melder.h:44:9`! realTierAreacxx . . $ structRealTierEditor#realTierArea(dcdc0120dce326ec).() =cxx . . $ autoSomeThing#`operator=`(ed6a1a4da6aedae3). KlattGrid_CollisionPhaseTierArea_createcxx . . $ KlattGrid_CollisionPhaseTierArea_create(7ec4537ce4d9f3c). (true, nullptr, me.getcxx . . $ autoSomeThing#get(34d6acfd341ba7ab).()); |
| 236 | FunctionEditor_initcxx . . $ FunctionEditor_init(719bc58b4917372e). (me.getcxx . . $ autoSomeThing#get(34d6acfd341ba7ab).(), title, klattgrid); |
| 237 | return mecxx . . $ autoSomeThing#autoSomeThing(b79141a71f7bc86f).; |
| 238 | } catch (MelderErrorcxx . . $ MelderError#) { |
| 239 | Melder_throwcxx . . $ `melder/melder_error.h:77:9`! (U"KlattGrid collision phase window not created."); |
| 240 | } |
| 241 | } |
| 242 | |
| 243 | |
| 244 | #pragma mark - KlattGrid_DoublePulsingTierEditor |
| 245 | |
| 246 | Thing_implementcxx . . $ `sys/Thing.h:65:9`! (KlattGrid_DoublePulsingTierArea, RealTierArea, 0); |
| 247 | #include "Prefs_define.h"cxx . . $ `<file>/sys/Prefs_define.h`/ |
| 248 | #include "KlattGrid_DoublePulsingTierArea_prefs.h"cxx . . $ `<file>/dwtools/KlattGrid_DoublePulsingTierArea_prefs.h`/ |
| 249 | #include "Prefs_install.h"cxx . . $ `<file>/sys/Prefs_install.h`/ |
| 250 | #include "KlattGrid_DoublePulsingTierArea_prefs.h"cxx . . $ `<file>/dwtools/KlattGrid_DoublePulsingTierArea_prefs.h`/ |
| 251 | #include "Prefs_copyToInstance.h"cxx . . $ `<file>/sys/Prefs_copyToInstance.h`/ |
| 252 | #include "KlattGrid_DoublePulsingTierArea_prefs.h"cxx . . $ `<file>/dwtools/KlattGrid_DoublePulsingTierArea_prefs.h`/ |
| 253 | |
| 254 | Thing_implementcxx . . $ `sys/Thing.h:65:9`! (KlattGrid_DoublePulsingTierEditor, KlattGrid_RealTierEditor, 0); |
| 255 | |
| 256 | autoKlattGrid_DoublePulsingTierEditorcxx . . $ autoKlattGrid_DoublePulsingTierEditor# KlattGrid_DoublePulsingTierEditor_createcxx . . $ KlattGrid_DoublePulsingTierEditor_create(741bbe816423d1b0). (conststring32cxx . . $ conststring32# title, KlattGridcxx . . $ KlattGrid# klattgrid) { |
| 257 | try { |
| 258 | autoKlattGrid_DoublePulsingTierEditorcxx . . $ autoKlattGrid_DoublePulsingTierEditor# me = Thing_newcxx . . $ `sys/Thing.h:514:9`! (KlattGrid_DoublePulsingTierEditor); |
| 259 | mycxx . . $ `melder/melder.h:44:9`! realTierAreacxx . . $ structRealTierEditor#realTierArea(dcdc0120dce326ec).() =cxx . . $ autoSomeThing#`operator=`(ed6a1a4da6aedae3). KlattGrid_DoublePulsingTierArea_createcxx . . $ KlattGrid_DoublePulsingTierArea_create(5530b9fea0e9e264). (true, nullptr, me.getcxx . . $ autoSomeThing#get(34d6acfd341ba7ab).()); |
| 260 | FunctionEditor_initcxx . . $ FunctionEditor_init(719bc58b4917372e). (me.getcxx . . $ autoSomeThing#get(34d6acfd341ba7ab).(), title, klattgrid); |
| 261 | return mecxx . . $ autoSomeThing#autoSomeThing(b79141a71f7bc86f).; |
| 262 | } catch (MelderErrorcxx . . $ MelderError#) { |
| 263 | Melder_throwcxx . . $ `melder/melder_error.h:77:9`! (U"KlattGrid double pulsing window not created."); |
| 264 | } |
| 265 | } |
| 266 | |
| 267 | |
| 268 | #pragma mark - KlattGrid_SpectralTiltTierEditor |
| 269 | |
| 270 | Thing_implementcxx . . $ `sys/Thing.h:65:9`! (KlattGrid_SpectralTiltTierArea, KlattGrid_IntensityTierArea, 0); |
| 271 | #include "Prefs_define.h"cxx . . $ `<file>/sys/Prefs_define.h`/ |
| 272 | #include "KlattGrid_SpectralTiltTierArea_prefs.h"cxx . . $ `<file>/dwtools/KlattGrid_SpectralTiltTierArea_prefs.h`/ |
| 273 | #include "Prefs_install.h"cxx . . $ `<file>/sys/Prefs_install.h`/ |
| 274 | #include "KlattGrid_SpectralTiltTierArea_prefs.h"cxx . . $ `<file>/dwtools/KlattGrid_SpectralTiltTierArea_prefs.h`/ |
| 275 | #include "Prefs_copyToInstance.h"cxx . . $ `<file>/sys/Prefs_copyToInstance.h`/ |
| 276 | #include "KlattGrid_SpectralTiltTierArea_prefs.h"cxx . . $ `<file>/dwtools/KlattGrid_SpectralTiltTierArea_prefs.h`/ |
| 277 | |
| 278 | Thing_implementcxx . . $ `sys/Thing.h:65:9`! (KlattGrid_SpectralTiltTierEditor, KlattGrid_IntensityTierEditor, 0); |
| 279 | |
| 280 | autoKlattGrid_SpectralTiltTierEditorcxx . . $ autoKlattGrid_SpectralTiltTierEditor# KlattGrid_SpectralTiltTierEditor_createcxx . . $ KlattGrid_SpectralTiltTierEditor_create(41b03973b105834a). (conststring32cxx . . $ conststring32# title, KlattGridcxx . . $ KlattGrid# klattgrid) { |
| 281 | try { |
| 282 | autoKlattGrid_SpectralTiltTierEditorcxx . . $ autoKlattGrid_SpectralTiltTierEditor# me = Thing_newcxx . . $ `sys/Thing.h:514:9`! (KlattGrid_SpectralTiltTierEditor); |
| 283 | mycxx . . $ `melder/melder.h:44:9`! realTierAreacxx . . $ structRealTierEditor#realTierArea(dcdc0120dce326ec).() =cxx . . $ autoSomeThing#`operator=`(ed6a1a4da6aedae3). KlattGrid_SpectralTiltTierArea_createcxx . . $ KlattGrid_SpectralTiltTierArea_create(6cb578800f1bca46). (true, nullptr, me.getcxx . . $ autoSomeThing#get(34d6acfd341ba7ab).()); |
| 284 | FunctionEditor_initcxx . . $ FunctionEditor_init(719bc58b4917372e). (me.getcxx . . $ autoSomeThing#get(34d6acfd341ba7ab).(), title, klattgrid); |
| 285 | return mecxx . . $ autoSomeThing#autoSomeThing(b79141a71f7bc86f).; |
| 286 | } catch (MelderErrorcxx . . $ MelderError#) { |
| 287 | Melder_throwcxx . . $ `melder/melder_error.h:77:9`! (U"KlattGrid spectral tilt window not created."); |
| 288 | } |
| 289 | } |
| 290 | |
| 291 | #pragma mark - KlattGrid_AspirationAmplitudeTierEditor |
| 292 | |
| 293 | Thing_implementcxx . . $ `sys/Thing.h:65:9`! (KlattGrid_AspirationAmplitudeTierArea, KlattGrid_IntensityTierArea, 0); |
| 294 | |
| 295 | Thing_implementcxx . . $ `sys/Thing.h:65:9`! (KlattGrid_AspirationAmplitudeTierEditor, KlattGrid_IntensityTierEditor, 0); |
| 296 | |
| 297 | autoKlattGrid_AspirationAmplitudeTierEditorcxx . . $ autoKlattGrid_AspirationAmplitudeTierEditor# KlattGrid_AspirationAmplitudeTierEditor_createcxx . . $ KlattGrid_AspirationAmplitudeTierEditor_create(c780a99d3d1c664d). (conststring32cxx . . $ conststring32# title, KlattGridcxx . . $ KlattGrid# klattgrid) { |
| 298 | try { |
| 299 | autoKlattGrid_AspirationAmplitudeTierEditorcxx . . $ autoKlattGrid_AspirationAmplitudeTierEditor# me = Thing_newcxx . . $ `sys/Thing.h:514:9`! (KlattGrid_AspirationAmplitudeTierEditor); |
| 300 | mycxx . . $ `melder/melder.h:44:9`! realTierAreacxx . . $ structRealTierEditor#realTierArea(dcdc0120dce326ec).() =cxx . . $ autoSomeThing#`operator=`(ed6a1a4da6aedae3). KlattGrid_AspirationAmplitudeTierArea_createcxx . . $ KlattGrid_AspirationAmplitudeTierArea_create(80a8365bc81aa1ba). (true, nullptr, me.getcxx . . $ autoSomeThing#get(34d6acfd341ba7ab).()); |
| 301 | FunctionEditor_initcxx . . $ FunctionEditor_init(719bc58b4917372e). (me.getcxx . . $ autoSomeThing#get(34d6acfd341ba7ab).(), title, klattgrid); |
| 302 | return mecxx . . $ autoSomeThing#autoSomeThing(b79141a71f7bc86f).; |
| 303 | } catch (MelderErrorcxx . . $ MelderError#) { |
| 304 | Melder_throwcxx . . $ `melder/melder_error.h:77:9`! (U"KlattGrid aspiration amplitude window not created."); |
| 305 | } |
| 306 | } |
| 307 | |
| 308 | |
| 309 | #pragma mark - KlattGrid_BreathinessAmplitudeTierEditor |
| 310 | |
| 311 | Thing_implementcxx . . $ `sys/Thing.h:65:9`! (KlattGrid_BreathinessAmplitudeTierArea, KlattGrid_IntensityTierArea, 0); |
| 312 | |
| 313 | Thing_implementcxx . . $ `sys/Thing.h:65:9`! (KlattGrid_BreathinessAmplitudeTierEditor, KlattGrid_IntensityTierEditor, 0); |
| 314 | |
| 315 | autoKlattGrid_BreathinessAmplitudeTierEditorcxx . . $ autoKlattGrid_BreathinessAmplitudeTierEditor# KlattGrid_BreathinessAmplitudeTierEditor_createcxx . . $ KlattGrid_BreathinessAmplitudeTierEditor_create(acb77e2f107ab566). (conststring32cxx . . $ conststring32# title, KlattGridcxx . . $ KlattGrid# klattgrid) { |
| 316 | try { |
| 317 | autoKlattGrid_BreathinessAmplitudeTierEditorcxx . . $ autoKlattGrid_BreathinessAmplitudeTierEditor# me = Thing_newcxx . . $ `sys/Thing.h:514:9`! (KlattGrid_BreathinessAmplitudeTierEditor); |
| 318 | mycxx . . $ `melder/melder.h:44:9`! realTierAreacxx . . $ structRealTierEditor#realTierArea(dcdc0120dce326ec).() =cxx . . $ autoSomeThing#`operator=`(ed6a1a4da6aedae3). KlattGrid_BreathinessAmplitudeTierArea_createcxx . . $ KlattGrid_BreathinessAmplitudeTierArea_create(f62d326a0e7d97a3). (true, nullptr, me.getcxx . . $ autoSomeThing#get(34d6acfd341ba7ab).()); |
| 319 | FunctionEditor_initcxx . . $ FunctionEditor_init(719bc58b4917372e). (me.getcxx . . $ autoSomeThing#get(34d6acfd341ba7ab).(), title, klattgrid); |
| 320 | return mecxx . . $ autoSomeThing#autoSomeThing(b79141a71f7bc86f).; |
| 321 | } catch (MelderErrorcxx . . $ MelderError#) { |
| 322 | Melder_throwcxx . . $ `melder/melder_error.h:77:9`! (U"KlattGrid breathiness amplitude window not created."); |
| 323 | } |
| 324 | } |
| 325 | |
| 326 | |
| 327 | #pragma mark - KlattGrid_DecibelTierEditor |
| 328 | |
| 329 | Thing_implementcxx . . $ `sys/Thing.h:65:9`! (KlattGrid_DecibelTierArea, KlattGrid_IntensityTierArea, 0); |
| 330 | #include "Prefs_define.h"cxx . . $ `<file>/sys/Prefs_define.h`/ |
| 331 | #include "KlattGrid_DecibelTierArea_prefs.h"cxx . . $ `<file>/dwtools/KlattGrid_DecibelTierArea_prefs.h`/ |
| 332 | #include "Prefs_install.h"cxx . . $ `<file>/sys/Prefs_install.h`/ |
| 333 | #include "KlattGrid_DecibelTierArea_prefs.h"cxx . . $ `<file>/dwtools/KlattGrid_DecibelTierArea_prefs.h`/ |
| 334 | #include "Prefs_copyToInstance.h"cxx . . $ `<file>/sys/Prefs_copyToInstance.h`/ |
| 335 | #include "KlattGrid_DecibelTierArea_prefs.h"cxx . . $ `<file>/dwtools/KlattGrid_DecibelTierArea_prefs.h`/ |
| 336 | |
| 337 | Thing_implementcxx . . $ `sys/Thing.h:65:9`! (KlattGrid_DecibelTierEditor, KlattGrid_IntensityTierEditor, 0); |
| 338 | |
| 339 | autoKlattGrid_DecibelTierEditorcxx . . $ autoKlattGrid_DecibelTierEditor# KlattGrid_DecibelTierEditor_createcxx . . $ KlattGrid_DecibelTierEditor_create(e3f4846fdfaf2ece). (conststring32cxx . . $ conststring32# title, KlattGridcxx . . $ KlattGrid# klattgrid, |
| 340 | kKlattGridFormantTypecxx . . $ kKlattGridFormantType# formantType, integercxx . . $ integer# iformant) |
| 341 | { |
| 342 | try { |
| 343 | autoKlattGrid_DecibelTierEditorcxx . . $ autoKlattGrid_DecibelTierEditor# me = Thing_newcxx . . $ `sys/Thing.h:514:9`! (KlattGrid_DecibelTierEditor); |
| 344 | mycxx . . $ `melder/melder.h:44:9`! formantTypecxx . . $ structKlattGrid_DecibelTierEditor#formantType. = formantType; // before FunctionArea_init() BUG: move |
| 345 | mycxx . . $ `melder/melder.h:44:9`! iformantcxx . . $ structKlattGrid_DecibelTierEditor#iformant. = iformant; |
| 346 | mycxx . . $ `melder/melder.h:44:9`! realTierAreacxx . . $ structRealTierEditor#realTierArea(dcdc0120dce326ec).() =cxx . . $ autoSomeThing#`operator=`(ed6a1a4da6aedae3). KlattGrid_DecibelTierArea_createcxx . . $ KlattGrid_DecibelTierArea_create(bfa8169d84cc5550). (true, nullptr, me.getcxx . . $ autoSomeThing#get(34d6acfd341ba7ab).()); |
| 347 | FunctionEditor_initcxx . . $ FunctionEditor_init(719bc58b4917372e). (me.getcxx . . $ autoSomeThing#get(34d6acfd341ba7ab).(), title, klattgrid); |
| 348 | return mecxx . . $ autoSomeThing#autoSomeThing(b79141a71f7bc86f).; |
| 349 | } catch (MelderErrorcxx . . $ MelderError#) { |
| 350 | Melder_throwcxx . . $ `melder/melder_error.h:77:9`! (U"KlattGrid decibel window not created."); |
| 351 | } |
| 352 | } |
| 353 | |
| 354 | |
| 355 | #pragma mark - KlattGrid_FricationBypassTierEditor |
| 356 | |
| 357 | Thing_implementcxx . . $ `sys/Thing.h:65:9`! (KlattGrid_FricationBypassTierArea, KlattGrid_IntensityTierArea, 0); |
| 358 | #include "Prefs_define.h"cxx . . $ `<file>/sys/Prefs_define.h`/ |
| 359 | #include "KlattGrid_FricationBypassTierArea_prefs.h"cxx . . $ `<file>/dwtools/KlattGrid_FricationBypassTierArea_prefs.h`/ |
| 360 | #include "Prefs_install.h"cxx . . $ `<file>/sys/Prefs_install.h`/ |
| 361 | #include "KlattGrid_FricationBypassTierArea_prefs.h"cxx . . $ `<file>/dwtools/KlattGrid_FricationBypassTierArea_prefs.h`/ |
| 362 | #include "Prefs_copyToInstance.h"cxx . . $ `<file>/sys/Prefs_copyToInstance.h`/ |
| 363 | #include "KlattGrid_FricationBypassTierArea_prefs.h"cxx . . $ `<file>/dwtools/KlattGrid_FricationBypassTierArea_prefs.h`/ |
| 364 | |
| 365 | Thing_implementcxx . . $ `sys/Thing.h:65:9`! (KlattGrid_FricationBypassTierEditor, KlattGrid_IntensityTierEditor, 0); |
| 366 | |
| 367 | autoKlattGrid_FricationBypassTierEditorcxx . . $ autoKlattGrid_FricationBypassTierEditor# KlattGrid_FricationBypassTierEditor_createcxx . . $ KlattGrid_FricationBypassTierEditor_create(27e14564ae631963). (conststring32cxx . . $ conststring32# title, KlattGridcxx . . $ KlattGrid# klattgrid) { |
| 368 | try { |
| 369 | autoKlattGrid_FricationBypassTierEditorcxx . . $ autoKlattGrid_FricationBypassTierEditor# me = Thing_newcxx . . $ `sys/Thing.h:514:9`! (KlattGrid_FricationBypassTierEditor); |
| 370 | mycxx . . $ `melder/melder.h:44:9`! realTierAreacxx . . $ structRealTierEditor#realTierArea(dcdc0120dce326ec).() =cxx . . $ autoSomeThing#`operator=`(ed6a1a4da6aedae3). KlattGrid_FricationBypassTierArea_createcxx . . $ KlattGrid_FricationBypassTierArea_create(87b05c749b5c8ad7). (true, nullptr, me.getcxx . . $ autoSomeThing#get(34d6acfd341ba7ab).()); |
| 371 | FunctionEditor_initcxx . . $ FunctionEditor_init(719bc58b4917372e). (me.getcxx . . $ autoSomeThing#get(34d6acfd341ba7ab).(), title, klattgrid); |
| 372 | return mecxx . . $ autoSomeThing#autoSomeThing(b79141a71f7bc86f).; |
| 373 | } catch (MelderErrorcxx . . $ MelderError#) { |
| 374 | Melder_throwcxx . . $ `melder/melder_error.h:77:9`! (U"KlattGrid frication bypass window not created."); |
| 375 | } |
| 376 | } |
| 377 | |
| 378 | |
| 379 | #pragma mark - KlattGrid_FricationAmplitudeTierEditor |
| 380 | |
| 381 | Thing_implementcxx . . $ `sys/Thing.h:65:9`! (KlattGrid_FricationAmplitudeTierArea, KlattGrid_IntensityTierArea, 0); |
| 382 | |
| 383 | Thing_implementcxx . . $ `sys/Thing.h:65:9`! (KlattGrid_FricationAmplitudeTierEditor, KlattGrid_IntensityTierEditor, 0); |
| 384 | |
| 385 | autoKlattGrid_FricationAmplitudeTierEditorcxx . . $ autoKlattGrid_FricationAmplitudeTierEditor# KlattGrid_FricationAmplitudeTierEditor_createcxx . . $ KlattGrid_FricationAmplitudeTierEditor_create(45cee62df92e823f). (conststring32cxx . . $ conststring32# title, KlattGridcxx . . $ KlattGrid# klattgrid) { |
| 386 | try { |
| 387 | autoKlattGrid_FricationAmplitudeTierEditorcxx . . $ autoKlattGrid_FricationAmplitudeTierEditor# me = Thing_newcxx . . $ `sys/Thing.h:514:9`! (KlattGrid_FricationAmplitudeTierEditor); |
| 388 | mycxx . . $ `melder/melder.h:44:9`! realTierAreacxx . . $ structRealTierEditor#realTierArea(dcdc0120dce326ec).() =cxx . . $ autoSomeThing#`operator=`(ed6a1a4da6aedae3). KlattGrid_FricationAmplitudeTierArea_createcxx . . $ KlattGrid_FricationAmplitudeTierArea_create(1838969af55f1c68). (true, nullptr, me.getcxx . . $ autoSomeThing#get(34d6acfd341ba7ab).()); |
| 389 | FunctionEditor_initcxx . . $ FunctionEditor_init(719bc58b4917372e). (me.getcxx . . $ autoSomeThing#get(34d6acfd341ba7ab).(), title, klattgrid); |
| 390 | return mecxx . . $ autoSomeThing#autoSomeThing(b79141a71f7bc86f).; |
| 391 | } catch (MelderErrorcxx . . $ MelderError#) { |
| 392 | Melder_throwcxx . . $ `melder/melder_error.h:77:9`! (U"KlattGrid frication amplitude window not created."); |
| 393 | } |
| 394 | } |
| 395 | |
| 396 | |
| 397 | #pragma mark - KlattGrid_FormantGridEditor |
| 398 | |
| 399 | Thing_implementcxx . . $ `sys/Thing.h:65:9`! (KlattGrid_FormantGridEditor, FormantGridEditor, 0); |
| 400 | Thing_implementcxx . . $ `sys/Thing.h:65:9`! (KlattGrid_FormantGridArea, FormantGridArea, 0); |
| 401 | |
| 402 | static bool FormantGrid_isEmptycxx . . $ FormantGrid_isEmpty(d68332074e9d6637). (FormantGridcxx . . $ FormantGrid# me) { |
| 403 | return mycxx . . $ `melder/melder.h:44:9`! formantscxx . . $ structFormantGrid#formants..sizecxx . . $ CollectionOf#size. == 0 || mycxx . . $ `melder/melder.h:44:9`! bandwidthscxx . . $ structFormantGrid#bandwidths..sizecxx . . $ CollectionOf#size. == 0; |
| 404 | } |
| 405 | |
| 406 | void structKlattGrid_FormantGridEditorcxx . . $ structKlattGrid_FormantGridEditor# :: v_playcxx . . $ structKlattGrid_FormantGridEditor#v_play(bc12c9ec15586e6a). (double startTime, double endTime) { |
| 407 | KlattGrid_Editor_defaultPlaycxx . . $ KlattGrid_Editor_defaultPlay(e6662a361150bf3b). (static_cast <KlattGridcxx . . $ KlattGrid#> (ourcxx . . $ `melder/melder.h:42:9`! datacxx . . $ structDataGui#data(e8441e10bf3a9c6e).()), this, startTime, endTime); |
| 408 | } |
| 409 | |
| 410 | autoKlattGrid_FormantGridEditorcxx . . $ autoKlattGrid_FormantGridEditor# KlattGrid_FormantGridEditor_createcxx . . $ KlattGrid_FormantGridEditor_create(81e63c8befe24515). (conststring32cxx . . $ conststring32# title, KlattGridcxx . . $ KlattGrid# klattgrid, kKlattGridFormantTypecxx . . $ kKlattGridFormantType# formantType) { |
| 411 | try { |
| 412 | Melder_assertcxx . . $ `melder/melder_assert.h:39:10`! (klattgrid); |
| 413 | autoFormantGridcxx . . $ autoFormantGrid#* fg = KlattGrid_getAddressOfFormantGridcxx . . $ KlattGrid_getAddressOfFormantGrid(7842227f7b4c6554). (klattgrid, formantType); |
| 414 | Melder_requirecxx . . $ `melder/melder_require.h:21:9`! (! FormantGrid_isEmpty (fg -> get()), |
| 415 | U"Cannot edit an empty formant grid."); |
| 416 | |
| 417 | autoKlattGrid_FormantGridEditorcxx . . $ autoKlattGrid_FormantGridEditor# me = Thing_newcxx . . $ `sys/Thing.h:514:9`! (KlattGrid_FormantGridEditor); |
| 418 | mycxx . . $ `melder/melder.h:44:9`! formantTypecxx . . $ structKlattGrid_FormantGridEditor#formantType. = formantType; |
| 419 | mycxx . . $ `melder/melder.h:44:9`! formantGridAreacxx . . $ structFormantGridEditor#formantGridArea(75a4fbdbdbc2f865).() =cxx . . $ autoSomeThing#`operator=`(ed6a1a4da6aedae3). KlattGrid_FormantGridArea_createcxx . . $ KlattGrid_FormantGridArea_create(1990fe0a6598f8b8). (true, nullptr, me.getcxx . . $ autoSomeThing#get(34d6acfd341ba7ab).()); |
| 420 | FunctionEditor_initcxx . . $ FunctionEditor_init(719bc58b4917372e). (me.getcxx . . $ autoSomeThing#get(34d6acfd341ba7ab).(), title, klattgrid); |
| 421 | return mecxx . . $ autoSomeThing#autoSomeThing(b79141a71f7bc86f).; |
| 422 | } catch (MelderErrorcxx . . $ MelderError#) { |
| 423 | Melder_throwcxx . . $ `melder/melder_error.h:77:9`! (U"KlattGrid formant window not created."); |
| 424 | } |
| 425 | } |
| 426 | |
| 427 | /* End of file KlattGridEditors.cpp */ |