| 1 | #cxx . . $ `<file>/dwtools/KlattGrid.h`/ifndef _KlattGrid_h_ |
| 2 | #define _KlattGrid_h_cxx . . $ `dwtools/KlattGrid.h:2:9`! |
| 3 | /* KlattGrid.h |
| 4 | * |
| 5 | * Copyright (C) 2008-2019 David Weenink, 2015 Paul Boersma |
| 6 | * |
| 7 | * This code is free software; you can redistribute it and/or modify |
| 8 | * it under the terms of the GNU General Public License as published by |
| 9 | * the Free Software Foundation; either version 2 of the License, or (at |
| 10 | * your option) any later version. |
| 11 | * |
| 12 | * This code is distributed in the hope that it will be useful, but |
| 13 | * WITHOUT ANY WARRANTY; without even the implied warranty of |
| 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
| 15 | * See the GNU General Public License for more details. |
| 16 | * |
| 17 | * You should have received a copy of the GNU General Public License |
| 18 | * along with this work. If not, see <http://www.gnu.org/licenses/>. |
| 19 | */ |
| 20 | |
| 21 | #include "Collection.h"cxx . . $ `<file>/sys/Collection.h`/ |
| 22 | #include "PointProcess.h"cxx . . $ `<file>/fon/PointProcess.h`/ |
| 23 | #include "Sound.h"cxx . . $ `<file>/fon/Sound.h`/ |
| 24 | #include "IntensityTier.h"cxx . . $ `<file>/fon/IntensityTier.h`/ |
| 25 | #include "PitchTier.h"cxx . . $ `<file>/fon/PitchTier.h`/ |
| 26 | #include "FormantGrid.h"cxx . . $ `<file>/fon/FormantGrid.h`/ |
| 27 | #include "KlattTable.h"cxx . . $ `<file>/dwtools/KlattTable.h`/ |
| 28 | Thing_declarecxx . . $ classInterpreter. (Interpreter); |
| 29 | |
| 30 | #include "KlattGrid_enums.h"cxx . . $ `<file>/dwtools/KlattGrid_enums.h`/ |
| 31 | |
| 32 | #include "KlattGrid_def.h"cxx . . $ `<file>/dwtools/KlattGrid_def.h`/ |
| 33 | |
| 34 | /******************** PhonationPoint & Tier ************************************/ |
| 35 | |
| 36 | autoPhonationPointcxx . . $ autoPhonationPoint# PhonationPoint_createcxx . . $ PhonationPoint_create(50e17eda9fa30423). (double time, double period, double openPhase, double collisionPhase, double te, |
| 37 | double power1, double power2, double pulseScale); |
| 38 | |
| 39 | autoPhonationTiercxx . . $ autoPhonationTier# PhonationTier_createcxx . . $ PhonationTier_create(32c525becfbb2d10). (double tmin, double tmax); |
| 40 | autoPointProcesscxx . . $ autoPointProcess# PhonationTier_to_PointProcess_closurescxx . . $ PhonationTier_to_PointProcess_closures(9c5ff66da6d77826). (PhonationTiercxx . . $ PhonationTier# me); |
| 41 | |
| 42 | /************************ PhonationGrid *********************************************/ |
| 43 | |
| 44 | autoPhonationGridcxx . . $ autoPhonationGrid# PhonationGrid_createcxx . . $ PhonationGrid_create(1eb73ff0364c97d9). (double tmin, double tmax); |
| 45 | autoPhonationGridPlayOptionscxx . . $ autoPhonationGridPlayOptions# PhonationGridPlayOptions_createcxx . . $ PhonationGridPlayOptions_create(db0c1f3869518f2c). (); |
| 46 | void PhonationGrid_setNamescxx . . $ PhonationGrid_setNames(d8c306b453f39c78). (PhonationGridcxx . . $ PhonationGrid# me); |
| 47 | |
| 48 | autoSoundcxx . . $ autoSound# PhonationGrid_to_Sound_aspirationcxx . . $ PhonationGrid_to_Sound_aspiration(d110d2c1f29080aa). (PhonationGridcxx . . $ PhonationGrid# me, double samplingFrequency); |
| 49 | |
| 50 | void PhonationGrid_drawcxx . . $ PhonationGrid_draw(d6abde4a28ac6301). (PhonationGridcxx . . $ PhonationGrid# me, Graphicscxx . . $ Graphics# g); |
| 51 | |
| 52 | double PhonationGrid_getMaximumPeriodcxx . . $ PhonationGrid_getMaximumPeriod(8f6a2e2645dbfeef). (PhonationGridcxx . . $ PhonationGrid# me); |
| 53 | |
| 54 | autoPhonationTiercxx . . $ autoPhonationTier# PhonationGrid_to_PhonationTiercxx . . $ PhonationGrid_to_PhonationTier(dfa2e4f6c40d1ed). (PhonationGridcxx . . $ PhonationGrid# me); |
| 55 | |
| 56 | /************************ VocalTractGrid *********************************************/ |
| 57 | |
| 58 | autoVocalTractGridcxx . . $ autoVocalTractGrid# VocalTractGrid_createcxx . . $ VocalTractGrid_create(4a8bbb8d1f5632c). (double tmin, double tmax, integercxx . . $ integer# numberOfFormants, |
| 59 | integercxx . . $ integer# numberOfNasalFormants, integercxx . . $ integer# numberOfNasalAntiFormants); |
| 60 | autoVocalTractGridPlayOptionscxx . . $ autoVocalTractGridPlayOptions# VocalTractGridPlayOptions_createcxx . . $ VocalTractGridPlayOptions_create(ae2a90592c7b8309). (); |
| 61 | void VocalTractGrid_setNamescxx . . $ VocalTractGrid_setNames(3d2529f7c469d424). (VocalTractGridcxx . . $ VocalTractGrid# me); |
| 62 | void VocalTractGrid_drawcxx . . $ VocalTractGrid_draw(bb4c44c962cb3da5). (VocalTractGridcxx . . $ VocalTractGrid# me, Graphicscxx . . $ Graphics# g, kKlattGridFilterModelcxx . . $ kKlattGridFilterModel# filterModel); |
| 63 | |
| 64 | /************************ CouplingGrid *********************************************/ |
| 65 | |
| 66 | autoCouplingGridcxx . . $ autoCouplingGrid# CouplingGrid_createcxx . . $ CouplingGrid_create(502c0db2238ea6a8). (double tmin, double tmax, integercxx . . $ integer# numberOfTrachealFormants, integercxx . . $ integer# numberOfTrachealAntiFormants, integercxx . . $ integer# numberOfDeltaFormants); |
| 67 | autoCouplingGridPlayOptionscxx . . $ autoCouplingGridPlayOptions# CouplingGridPlayOptions_createcxx . . $ CouplingGridPlayOptions_create(bfe6d719d1029cc3). (); |
| 68 | void CouplingGrid_setNamescxx . . $ CouplingGrid_setNames(308a3c41555c96a5). (CouplingGridcxx . . $ CouplingGrid# me); |
| 69 | double CouplingGrid_getDeltaFormantAtTimecxx . . $ CouplingGrid_getDeltaFormantAtTime(93d7141119e22a14). (CouplingGridcxx . . $ CouplingGrid# me, integercxx . . $ integer# iformant, double t); |
| 70 | double CouplingGrid_getDeltaBandwidthAtTimecxx . . $ CouplingGrid_getDeltaBandwidthAtTime(93d7141119e22a14). (CouplingGridcxx . . $ CouplingGrid# me, integercxx . . $ integer# iformant, double t); |
| 71 | |
| 72 | /********************** FormantGrid & CouplingGrid *************************************/ |
| 73 | |
| 74 | void FormantGrid_CouplingGrid_updateOpenPhasescxx . . $ FormantGrid_CouplingGrid_updateOpenPhases(2c9adfc90b41d318). (FormantGridcxx . . $ FormantGrid# me, CouplingGridcxx . . $ CouplingGrid# thee); |
| 75 | |
| 76 | /********************** Sound & FormantGrid (& IntensityTier) *************************************/ |
| 77 | |
| 78 | void Sound_FormantGrid_filterWithOneFormant_inplacecxx . . $ Sound_FormantGrid_filterWithOneFormant_inplace(50c20f85ac267a85). (Soundcxx . . $ Sound# me, FormantGridcxx . . $ FormantGrid# thee, integercxx . . $ integer# iformant); |
| 79 | void Sound_FormantGrid_filterWithOneAntiFormant_inplacecxx . . $ Sound_FormantGrid_filterWithOneAntiFormant_inplace(50c20f85ac267a85). (Soundcxx . . $ Sound# me, FormantGridcxx . . $ FormantGrid# thee, integercxx . . $ integer# iformant); |
| 80 | void Sound_FormantGrid_Intensities_filterWithOneFormant_inplacecxx . . $ Sound_FormantGrid_Intensities_filterWithOneFormant_inplace(f9fcc884e7918fa4). (Soundcxx . . $ Sound# me, FormantGridcxx . . $ FormantGrid# thee, OrderedOfcxx . . $ OrderedOf#<structIntensityTiercxx . . $ structIntensityTier#>* amplitudes, integercxx . . $ integer# iformant); |
| 81 | autoSoundcxx . . $ autoSound# Sound_FormantGrid_Intensities_filtercxx . . $ Sound_FormantGrid_Intensities_filter(b5a7075cec170387). (Soundcxx . . $ Sound# me, FormantGridcxx . . $ FormantGrid# thee, OrderedOfcxx . . $ OrderedOf#<structIntensityTiercxx . . $ structIntensityTier#>* amplitudes, integercxx . . $ integer# iformantb, integercxx . . $ integer# iformante, int alternatingSign); |
| 82 | |
| 83 | /************************ FricationGrid *********************************************/ |
| 84 | |
| 85 | autoFricationGridcxx . . $ autoFricationGrid# FricationGrid_createcxx . . $ FricationGrid_create(bb0e3bcfa5311da1). (double tmin, double tmax, integercxx . . $ integer# numberOfFormants); |
| 86 | autoFricationGridPlayOptionscxx . . $ autoFricationGridPlayOptions# FricationGridPlayOptions_createcxx . . $ FricationGridPlayOptions_create(e74247a1df0f85df). (); |
| 87 | void FricationGrid_setNamescxx . . $ FricationGrid_setNames(ea8cb882e1da8e26). (FricationGridcxx . . $ FricationGrid# me); |
| 88 | void FricationGrid_drawcxx . . $ FricationGrid_draw(7b3fab4041080a6e). (FricationGridcxx . . $ FricationGrid# me, Graphicscxx . . $ Graphics# g); |
| 89 | |
| 90 | autoSoundcxx . . $ autoSound# FricationGrid_to_Soundcxx . . $ FricationGrid_to_Sound(38e320daed217d9d). (FricationGridcxx . . $ FricationGrid# me, double samplingFrequency); |
| 91 | |
| 92 | autoSoundcxx . . $ autoSound# Sound_FricationGrid_filtercxx . . $ Sound_FricationGrid_filter(86b9b8f8e04c2f5d). (Soundcxx . . $ Sound# me, FricationGridcxx . . $ FricationGrid# thee); |
| 93 | |
| 94 | /************************ Sound & VocalTractGrid & CouplingGrid *********************************************/ |
| 95 | |
| 96 | autoSoundcxx . . $ autoSound# Sound_VocalTractGrid_CouplingGrid_filtercxx . . $ Sound_VocalTractGrid_CouplingGrid_filter(51132d8301f8bc48). (Soundcxx . . $ Sound# me, VocalTractGridcxx . . $ VocalTractGrid# thee, CouplingGridcxx . . $ CouplingGrid# coupling); |
| 97 | |
| 98 | /************************ KlattGrid *********************************************/ |
| 99 | |
| 100 | autoKlattGridcxx . . $ autoKlattGrid# KlattGrid_createcxx . . $ KlattGrid_create(f5096f7ce2feecc). (double tmin, double tmax, integercxx . . $ integer# numberOfFormants, |
| 101 | integercxx . . $ integer# numberOfNasalFormants, integercxx . . $ integer# numberOfNasalAntiFormants, |
| 102 | integercxx . . $ integer# numberOfTrachealFormants, integercxx . . $ integer# numberOfTrachealAntiFormants, |
| 103 | integercxx . . $ integer# numberOfFricationFormants, integercxx . . $ integer# numberOfDeltaFormants); |
| 104 | |
| 105 | autoKlattGridcxx . . $ autoKlattGrid# KlattGrid_createFromVowelcxx . . $ KlattGrid_createFromVowel(75833dcfdf630c3d). (double duration, double f0start, double f1, double b1, double f2, double b2, double f3, double b3, double f4, double bandWidthFraction, double formantFrequencyInterval); |
| 106 | |
| 107 | autoKlattGridcxx . . $ autoKlattGrid# KlattGrid_createExamplecxx . . $ KlattGrid_createExample(cb75463099c377fa). (); |
| 108 | autoKlattGridPlayOptionscxx . . $ autoKlattGridPlayOptions# KlattGridPlayOptions_createcxx . . $ KlattGridPlayOptions_create(786b39040a52ba10). (); |
| 109 | void KlattGrid_setNamescxx . . $ KlattGrid_setNames(132f1834de956411). (KlattGridcxx . . $ KlattGrid# me); |
| 110 | autoKlattGridcxx . . $ autoKlattGrid# KlattTable_to_KlattGridcxx . . $ KlattTable_to_KlattGrid(778709ee4ae4c02c). (KlattTablecxx . . $ KlattTable# me, double frameDuration); |
| 111 | |
| 112 | void KlattGrid_drawcxx . . $ KlattGrid_draw(a019a18387aacc6e). (KlattGridcxx . . $ KlattGrid# me, Graphicscxx . . $ Graphics# g, kKlattGridFilterModelcxx . . $ kKlattGridFilterModel# filterModel); |
| 113 | void klattGrid_drawPhonationcxx . . $ klattGrid_drawPhonation(1e3b5c0bfe02b9ff). (KlattGridcxx . . $ KlattGrid# me, Graphicscxx . . $ Graphics# g); |
| 114 | void KlattGrid_drawVocalTractcxx . . $ KlattGrid_drawVocalTract(4ffc1b12745185eb). (KlattGridcxx . . $ KlattGrid# me, Graphicscxx . . $ Graphics# g, kKlattGridFilterModelcxx . . $ kKlattGridFilterModel# filterModel, int withTrachea); |
| 115 | |
| 116 | conststring32cxx . . $ conststring32# KlattGrid_getFormantNamecxx . . $ KlattGrid_getFormantName(362132ab0d943c60). (kKlattGridFormantTypecxx . . $ kKlattGridFormantType# formantType); |
| 117 | |
| 118 | // Add, Remove, Extract, Replace from PhonationGrid |
| 119 | #define PhonationGrid_QUERY_ADD_REMOVE_EXTRACT_REPLACE_PROTOcxx . . $ `dwtools/KlattGrid.h:119:9`!(Name,tierType) \ |
| 120 | double KlattGrid_get##Name##AtTime (KlattGrid me, double t); \ |
| 121 | void KlattGrid_add##Name##Point (KlattGrid me, double t, double value); \ |
| 122 | void KlattGrid_remove##Name##Points (KlattGrid me, double t1, double t2); \ |
| 123 | auto##tierType KlattGrid_extract##Name##Tier (KlattGrid me); \ |
| 124 | void KlattGrid_replace##Name##Tier (KlattGrid me, tierType thee); |
| 125 | |
| 126 | // Generate 55 prototypes |
| 127 | PhonationGrid_QUERY_ADD_REMOVE_EXTRACT_REPLACE_PROTOcxx . . $ KlattGrid# (Pitch, PitchTier) |
| 128 | PhonationGrid_QUERY_ADD_REMOVE_EXTRACT_REPLACE_PROTOcxx . . $ autoRealTier# (Flutter, RealTier) |
| 129 | PhonationGrid_QUERY_ADD_REMOVE_EXTRACT_REPLACE_PROTOcxx . . $ `dwtools/KlattGrid.h:119:9`! (DoublePulsing, RealTier) |
| 130 | PhonationGrid_QUERY_ADD_REMOVE_EXTRACT_REPLACE_PROTOcxx . . $ autoRealTier# (OpenPhase, RealTier) |
| 131 | PhonationGrid_QUERY_ADD_REMOVE_EXTRACT_REPLACE_PROTOcxx . . $ `dwtools/KlattGrid.h:119:9`! (CollisionPhase, RealTier) |
| 132 | PhonationGrid_QUERY_ADD_REMOVE_EXTRACT_REPLACE_PROTOcxx . . $ IntensityTier# (SpectralTilt, IntensityTier) |
| 133 | PhonationGrid_QUERY_ADD_REMOVE_EXTRACT_REPLACE_PROTOcxx . . $ `dwtools/KlattGrid.h:119:9`! (Power1, RealTier) |
| 134 | PhonationGrid_QUERY_ADD_REMOVE_EXTRACT_REPLACE_PROTOcxx . . $ `dwtools/KlattGrid.h:119:9`! (Power2, RealTier) |
| 135 | PhonationGrid_QUERY_ADD_REMOVE_EXTRACT_REPLACE_PROTOcxx . . $ IntensityTier# (VoicingAmplitude, IntensityTier) |
| 136 | PhonationGrid_QUERY_ADD_REMOVE_EXTRACT_REPLACE_PROTOcxx . . $ IntensityTier# (AspirationAmplitude, IntensityTier) |
| 137 | PhonationGrid_QUERY_ADD_REMOVE_EXTRACT_REPLACE_PROTOcxx . . $ KlattGrid# (BreathinessAmplitude, IntensityTier) |
| 138 | |
| 139 | #define KlattGrid_QUERY_ADD_REMOVE_PROTOcxx . . $ `dwtools/KlattGrid.h:139:9`!(Name) \ |
| 140 | double KlattGrid_get##Name##AtTime (KlattGrid me, kKlattGridFormantType formantType, integer iformant, double t); \ |
| 141 | void KlattGrid_add##Name##Point (KlattGrid me, kKlattGridFormantType formantType, integer iformant, double t, double value); \ |
| 142 | void KlattGrid_remove##Name##Points (KlattGrid me, kKlattGridFormantType formantType, integer iformant, double t1, double t2); \ |
| 143 | double KlattGrid_getDelta##Name##AtTime (KlattGrid me, integer iformant, double t); \ |
| 144 | void KlattGrid_addDelta##Name##Point (KlattGrid me, integer iformant, double t, double value); \ |
| 145 | void KlattGrid_removeDelta##Name##Points (KlattGrid me, integer iformant, double t1, double t2); |
| 146 | |
| 147 | // 12 prototypes |
| 148 | KlattGrid_QUERY_ADD_REMOVE_PROTOcxx . . $ `dwtools/KlattGrid.h:139:9`!(Formant) |
| 149 | KlattGrid_QUERY_ADD_REMOVE_PROTOcxx . . $ `dwtools/KlattGrid.h:139:9`!(Bandwidth) |
| 150 | |
| 151 | void KlattGrid_formula_frequenciescxx . . $ KlattGrid_formula_frequencies(178948df15e21bc). (KlattGridcxx . . $ KlattGrid# me, kKlattGridFormantTypecxx . . $ kKlattGridFormantType# formantType, conststring32cxx . . $ conststring32# expression, Interpretercxx . . $ Interpreter# interpreter); |
| 152 | void KlattGrid_formula_bandwidthscxx . . $ KlattGrid_formula_bandwidths(178948df15e21bc). (KlattGridcxx . . $ KlattGrid# me, kKlattGridFormantTypecxx . . $ kKlattGridFormantType# formantType, conststring32cxx . . $ conststring32# expression, Interpretercxx . . $ Interpreter# interpreter); |
| 153 | void KlattGrid_formula_amplitudescxx . . $ KlattGrid_formula_amplitudes(178948df15e21bc). (KlattGridcxx . . $ KlattGrid# me, kKlattGridFormantTypecxx . . $ kKlattGridFormantType# formantType, conststring32cxx . . $ conststring32# expression, Interpretercxx . . $ Interpreter# interpreter); |
| 154 | |
| 155 | autoFormantGridcxx . . $ autoFormantGrid# KlattGrid_extractFormantGridcxx . . $ KlattGrid_extractFormantGrid(840d31f26c28207b). (KlattGridcxx . . $ KlattGrid# me, kKlattGridFormantTypecxx . . $ kKlattGridFormantType# formantType); |
| 156 | void KlattGrid_replaceFormantGridcxx . . $ KlattGrid_replaceFormantGrid(3dbe8696c60bf8c). (KlattGridcxx . . $ KlattGrid# me, kKlattGridFormantTypecxx . . $ kKlattGridFormantType# formantType, FormantGridcxx . . $ FormantGrid# thee); |
| 157 | |
| 158 | autoFormantGridcxx . . $ autoFormantGrid# KlattGrid_extractDeltaFormantGridcxx . . $ KlattGrid_extractDeltaFormantGrid(78727e6ee714115c). (KlattGridcxx . . $ KlattGrid# me); |
| 159 | void KlattGrid_replaceDeltaFormantGridcxx . . $ KlattGrid_replaceDeltaFormantGrid(79944da13057273e). (KlattGridcxx . . $ KlattGrid# me, FormantGridcxx . . $ FormantGrid# thee); |
| 160 | |
| 161 | autoFormantGridcxx . . $ autoFormantGrid# KlattGrid_to_oralFormantGrid_openPhasescxx . . $ KlattGrid_to_oralFormantGrid_openPhases(ff650c3cb427c608). (KlattGridcxx . . $ KlattGrid# me, double fadeFraction); |
| 162 | autoPointProcesscxx . . $ autoPointProcess# KlattGrid_extractPointProcess_glottalClosurescxx . . $ KlattGrid_extractPointProcess_glottalClosures(81aa0b496172520f). (KlattGridcxx . . $ KlattGrid# me); |
| 163 | |
| 164 | double KlattGrid_getAmplitudeAtTimecxx . . $ KlattGrid_getAmplitudeAtTime(fedc8e4464755a48). (KlattGridcxx . . $ KlattGrid# me, kKlattGridFormantTypecxx . . $ kKlattGridFormantType# formantType, integercxx . . $ integer# iformant, double t); |
| 165 | void KlattGrid_addAmplitudePointcxx . . $ KlattGrid_addAmplitudePoint(29d3189245619d0b). (KlattGridcxx . . $ KlattGrid# me, kKlattGridFormantTypecxx . . $ kKlattGridFormantType# formantType, integercxx . . $ integer# iformant, double t, double value); |
| 166 | void KlattGrid_removeAmplitudePointscxx . . $ KlattGrid_removeAmplitudePoints(29d3189245619d0b). (KlattGridcxx . . $ KlattGrid# me, kKlattGridFormantTypecxx . . $ kKlattGridFormantType# formantType, integercxx . . $ integer# iformant, double t1, double t2); |
| 167 | autoIntensityTiercxx . . $ autoIntensityTier# KlattGrid_extractAmplitudeTiercxx . . $ KlattGrid_extractAmplitudeTier(f44fe89412d879d2). (KlattGridcxx . . $ KlattGrid# me, kKlattGridFormantTypecxx . . $ kKlattGridFormantType# formantType, integercxx . . $ integer# iformant); |
| 168 | void KlattGrid_replaceAmplitudeTiercxx . . $ KlattGrid_replaceAmplitudeTier(fe637c5c862d6e4a). (KlattGridcxx . . $ KlattGrid# me, kKlattGridFormantTypecxx . . $ kKlattGridFormantType# formantType, integercxx . . $ integer# iformant, IntensityTiercxx . . $ IntensityTier# thee); |
| 169 | |
| 170 | double KlattGrid_getFricationAmplitudeAtTimecxx . . $ KlattGrid_getFricationAmplitudeAtTime(bfa3676bec2e11d5). (KlattGridcxx . . $ KlattGrid# me, double t); |
| 171 | void KlattGrid_addFricationAmplitudePointcxx . . $ KlattGrid_addFricationAmplitudePoint(3ed8da27117dae09). (KlattGridcxx . . $ KlattGrid# me, double t, double value); |
| 172 | void KlattGrid_removeFricationAmplitudePointscxx . . $ KlattGrid_removeFricationAmplitudePoints(3ed8da27117dae09). (KlattGridcxx . . $ KlattGrid# me, double t1, double t2); |
| 173 | autoIntensityTiercxx . . $ autoIntensityTier# KlattGrid_extractFricationAmplitudeTiercxx . . $ KlattGrid_extractFricationAmplitudeTier(fbf918b62e782781). (KlattGridcxx . . $ KlattGrid# me); |
| 174 | void KlattGrid_replaceFricationAmplitudeTiercxx . . $ KlattGrid_replaceFricationAmplitudeTier(dc9421b87609e234). (KlattGridcxx . . $ KlattGrid# me, IntensityTiercxx . . $ IntensityTier# thee); |
| 175 | |
| 176 | double KlattGrid_getFricationBypassAtTimecxx . . $ KlattGrid_getFricationBypassAtTime(bfa3676bec2e11d5). (KlattGridcxx . . $ KlattGrid# me, double t); |
| 177 | void KlattGrid_addFricationBypassPointcxx . . $ KlattGrid_addFricationBypassPoint(3ed8da27117dae09). (KlattGridcxx . . $ KlattGrid# me, double t, double value); |
| 178 | void KlattGrid_removeFricationBypassPointscxx . . $ KlattGrid_removeFricationBypassPoints(3ed8da27117dae09). (KlattGridcxx . . $ KlattGrid# me, double t1, double t2); |
| 179 | autoIntensityTiercxx . . $ autoIntensityTier# KlattGrid_extractFricationBypassTiercxx . . $ KlattGrid_extractFricationBypassTier(fbf918b62e782781). (KlattGridcxx . . $ KlattGrid# me); |
| 180 | void KlattGrid_replaceFricationBypassTiercxx . . $ KlattGrid_replaceFricationBypassTier(dc9421b87609e234). (KlattGridcxx . . $ KlattGrid# me, IntensityTiercxx . . $ IntensityTier# thee); |
| 181 | |
| 182 | void KlattGrid_setGlottisCouplingcxx . . $ KlattGrid_setGlottisCoupling(132f1834de956411). (KlattGridcxx . . $ KlattGrid# me); |
| 183 | |
| 184 | autoFormantGridcxx . . $ autoFormantGrid# * KlattGrid_getAddressOfFormantGridcxx . . $ KlattGrid_getAddressOfFormantGrid(7842227f7b4c6554). (KlattGridcxx . . $ KlattGrid# me, kKlattGridFormantTypecxx . . $ kKlattGridFormantType# formantType); |
| 185 | OrderedOfcxx . . $ OrderedOf#<structIntensityTiercxx . . $ structIntensityTier#>* KlattGrid_getAddressOfAmplitudescxx . . $ KlattGrid_getAddressOfAmplitudes(f8d2ccdcfbbb2b0f). (KlattGridcxx . . $ KlattGrid# me, kKlattGridFormantTypecxx . . $ kKlattGridFormantType# formantType); |
| 186 | |
| 187 | /* |
| 188 | One can add (or remove) formant frequency tiers, formant bandwidth tiers and formant amplitude tiers. |
| 189 | The first two types are handled together, the third type is handled separately. |
| 190 | */ |
| 191 | void KlattGrid_addFormantFrequencyAndBandwidthTierscxx . . $ KlattGrid_addFormantFrequencyAndBandwidthTiers(69f595c7b893d654). (KlattGridcxx . . $ KlattGrid# me, kKlattGridFormantTypecxx . . $ kKlattGridFormantType# formantType, integercxx . . $ integer# position); |
| 192 | void KlattGrid_removeFormantFrequencyAndBandwidthTierscxx . . $ KlattGrid_removeFormantFrequencyAndBandwidthTiers(69f595c7b893d654). (KlattGridcxx . . $ KlattGrid# me, kKlattGridFormantTypecxx . . $ kKlattGridFormantType# formantType, integercxx . . $ integer# position); |
| 193 | void KlattGrid_addFormantAmplitudeTiercxx . . $ KlattGrid_addFormantAmplitudeTier(69f595c7b893d654). (KlattGridcxx . . $ KlattGrid# me, kKlattGridFormantTypecxx . . $ kKlattGridFormantType# formantType, integercxx . . $ integer# position); |
| 194 | void KlattGrid_removeFormantAmplitudeTiercxx . . $ KlattGrid_removeFormantAmplitudeTier(69f595c7b893d654). (KlattGridcxx . . $ KlattGrid# me, kKlattGridFormantTypecxx . . $ kKlattGridFormantType# formantType, integercxx . . $ integer# position); |
| 195 | |
| 196 | /* |
| 197 | The following two functions are deprecated; |
| 198 | they combine the actions of the above functions, |
| 199 | i.e. they add (or remove) a formant frequency tier, a formant bandwidth tier, |
| 200 | and a formant amplitude tier in one go. |
| 201 | Use instead the above division of these actions into two steps. |
| 202 | */ |
| 203 | void KlattGrid_addFormantcxx . . $ KlattGrid_addFormant(69f595c7b893d654). (KlattGridcxx . . $ KlattGrid# me, kKlattGridFormantTypecxx . . $ kKlattGridFormantType# formantType, integercxx . . $ integer# position); |
| 204 | void KlattGrid_removeFormantcxx . . $ KlattGrid_removeFormant(69f595c7b893d654). (KlattGridcxx . . $ KlattGrid# me, kKlattGridFormantTypecxx . . $ kKlattGridFormantType# formantType, integercxx . . $ integer# position); |
| 205 | |
| 206 | /***************** KlattGrid & Sound *************************************/ |
| 207 | |
| 208 | // reset PlayOptions to defaults |
| 209 | void KlattGrid_playcxx . . $ KlattGrid_play(cff2bf275a7c2f11). (KlattGridcxx . . $ KlattGrid# me, Sound_PlayCallbackcxx . . $ Sound_PlayCallback# callback, Thingcxx . . $ Thing# boss); |
| 210 | // use playOptions |
| 211 | void KlattGrid_playSpecialcxx . . $ KlattGrid_playSpecial(cff2bf275a7c2f11). (KlattGridcxx . . $ KlattGrid# me, Sound_PlayCallbackcxx . . $ Sound_PlayCallback# callback, Thingcxx . . $ Thing# boss); |
| 212 | |
| 213 | void KlattGrid_setDefaultPlayOptionscxx . . $ KlattGrid_setDefaultPlayOptions(132f1834de956411). (KlattGridcxx . . $ KlattGrid# me); |
| 214 | |
| 215 | autoSoundcxx . . $ autoSound# KlattGrid_to_Soundcxx . . $ KlattGrid_to_Sound(4d0d5ded7f97051d). (KlattGridcxx . . $ KlattGrid# me); |
| 216 | |
| 217 | autoSoundcxx . . $ autoSound# KlattGrid_to_Sound_phonationcxx . . $ KlattGrid_to_Sound_phonation(4d0d5ded7f97051d). (KlattGridcxx . . $ KlattGrid# me); |
| 218 | |
| 219 | int KlattGrid_synthesizecxx . . $ KlattGrid_synthesize(15d1ad4dddbda3c). (KlattGridcxx . . $ KlattGrid# me, double t1, double t2, double samplingFrequency, double maximumPeriod); |
| 220 | |
| 221 | /* |
| 222 | glottal: phonation+aspiration, before entering the filter |
| 223 | frication: noise before entering the parallel frication filter section. |
| 224 | */ |
| 225 | |
| 226 | autoSoundcxx . . $ autoSound# Sound_KlattGrid_filterByVocalTractcxx . . $ Sound_KlattGrid_filterByVocalTract(d2473620210bcbb2). (Soundcxx . . $ Sound# me, KlattGridcxx . . $ KlattGrid# thee, kKlattGridFilterModelcxx . . $ kKlattGridFilterModel# filterModel); |
| 227 | |
| 228 | autoSoundcxx . . $ autoSound# Sound_KlattGrid_filter_fricationcxx . . $ Sound_KlattGrid_filter_frication(8c8ab1f859eff651). (Soundcxx . . $ Sound# me, KlattGridcxx . . $ KlattGrid# thee); |
| 229 | |
| 230 | autoKlattGridcxx . . $ autoKlattGrid# Sound_to_KlattGrid_simplecxx . . $ Sound_to_KlattGrid_simple(1d2a0823941b12a8). (Soundcxx . . $ Sound# me, double timeStep, integercxx . . $ integer# maximumNumberOfFormants, double maximumFormantFrequency, |
| 231 | double windowLength, double preEmphasisFrequency, double pitchFloor, double pitchCeiling, double pitchFloorForIntensity, int subtractMean); |
| 232 | |
| 233 | #endif /* _KlattGrid_h_ */ |