| 1 | #cxx . . $ `<file>/fon/AmplitudeTier.h`/ifndef _AmplitudeTier_h_ |
| 2 | #define _AmplitudeTier_h_cxx . . $ `fon/AmplitudeTier.h:2:9`! |
| 3 | /* AmplitudeTier.h |
| 4 | * |
| 5 | * Copyright (C) 2003-2005,2007,2010-2012,2015-2018,2021,2023,2025 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 3 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 "IntensityTier.h"cxx . . $ `<file>/fon/IntensityTier.h`/ |
| 22 | #include "TableOfReal.h"cxx . . $ `<file>/stat/TableOfReal.h`/ |
| 23 | #include "Sound.h"cxx . . $ `<file>/fon/Sound.h`/ |
| 24 | |
| 25 | /********** class AmplitudeTier **********/ |
| 26 | |
| 27 | Thing_definecxx . . $ AmplitudeTier# (AmplitudeTier, RealTier) { |
| 28 | int v_domainQuantitycxx . . $ structAmplitudeTier#v_domainQuantity(455f465bc33b4cdf). () const |
| 29 | override { return MelderQuantity_TIME_SECONDScxx . . $ `melder/melder_quantity.h:22:9`!; } |
| 30 | }; |
| 31 | |
| 32 | autoAmplitudeTiercxx . . $ autoAmplitudeTier# AmplitudeTier_createcxx . . $ AmplitudeTier_create(80ed2f467e1fc893). (double tmin, double tmax); |
| 33 | |
| 34 | void AmplitudeTier_drawcxx . . $ AmplitudeTier_draw(12662a4df2532d48). (AmplitudeTiercxx . . $ AmplitudeTier# me, Graphicscxx . . $ Graphics# g, double tmin, double tmax, |
| 35 | double ymin, double ymax, conststring32cxx . . $ conststring32# method, bool garnish); |
| 36 | |
| 37 | autoAmplitudeTiercxx . . $ autoAmplitudeTier# PointProcess_upto_AmplitudeTiercxx . . $ PointProcess_upto_AmplitudeTier(bb079c6134f0c13f). (PointProcesscxx . . $ PointProcess# me, double soundPressure); |
| 38 | autoAmplitudeTiercxx . . $ autoAmplitudeTier# RealTier_to_AmplitudeTiercxx . . $ RealTier_to_AmplitudeTier(c58d8bf0bb218bc2). (RealTiercxx . . $ RealTier# me); |
| 39 | autoAmplitudeTiercxx . . $ autoAmplitudeTier# IntensityTier_to_AmplitudeTiercxx . . $ IntensityTier_to_AmplitudeTier(7bf36ef29cd0b05a). (IntensityTiercxx . . $ IntensityTier# me); |
| 40 | autoIntensityTiercxx . . $ autoIntensityTier# AmplitudeTier_to_IntensityTiercxx . . $ AmplitudeTier_to_IntensityTier(905de9603a546b8c). (AmplitudeTiercxx . . $ AmplitudeTier# me, double threshold_dB); |
| 41 | autoTableOfRealcxx . . $ autoTableOfReal# AmplitudeTier_downto_TableOfRealcxx . . $ AmplitudeTier_downto_TableOfReal(cc4b46deed7d27e1). (AmplitudeTiercxx . . $ AmplitudeTier# me); |
| 42 | void Sound_AmplitudeTier_multiply_inplacecxx . . $ Sound_AmplitudeTier_multiply_inplace(d1e208dc6af35b3a). (Soundcxx . . $ Sound# me, AmplitudeTiercxx . . $ AmplitudeTier# intensity); |
| 43 | autoSoundcxx . . $ autoSound# Sound_AmplitudeTier_multiplycxx . . $ Sound_AmplitudeTier_multiply(b161ba26b36295f1). (Soundcxx . . $ Sound# me, AmplitudeTiercxx . . $ AmplitudeTier# intensity); |
| 44 | |
| 45 | autoAmplitudeTiercxx . . $ autoAmplitudeTier# PointProcess_Sound_to_AmplitudeTier_pointcxx . . $ PointProcess_Sound_to_AmplitudeTier_point(de5cd27740dc21d9). (PointProcesscxx . . $ PointProcess# me, Soundcxx . . $ Sound# thee); |
| 46 | autoAmplitudeTiercxx . . $ autoAmplitudeTier# PointProcess_Sound_to_AmplitudeTier_periodcxx . . $ PointProcess_Sound_to_AmplitudeTier_period(9e66b0897b9222d1). (PointProcesscxx . . $ PointProcess# me, Soundcxx . . $ Sound# thee, |
| 47 | double tmin, double tmax, double shortestPeriod, double longestPeriod, double maximumPeriodFactor); |
| 48 | |
| 49 | /* |
| 50 | The shimmer measurements return `undefined` if there are too few periods. |
| 51 | */ |
| 52 | double AmplitudeTier_getShimmer_local_ucxx . . $ AmplitudeTier_getShimmer_local_u(d64bef74a2b42548). (AmplitudeTiercxx . . $ AmplitudeTier# me, double shortestPeriod, double longestPeriod, double maximumAmplitudeFactor); |
| 53 | double AmplitudeTier_getShimmer_local_dB_ucxx . . $ AmplitudeTier_getShimmer_local_dB_u(d64bef74a2b42548). (AmplitudeTiercxx . . $ AmplitudeTier# me, double shortestPeriod, double longestPeriod, double maximumAmplitudeFactor); |
| 54 | double AmplitudeTier_getShimmer_apq3_ucxx . . $ AmplitudeTier_getShimmer_apq3_u(d64bef74a2b42548). (AmplitudeTiercxx . . $ AmplitudeTier# me, double shortestPeriod, double longestPeriod, double maximumAmplitudeFactor); |
| 55 | double AmplitudeTier_getShimmer_apq5_ucxx . . $ AmplitudeTier_getShimmer_apq5_u(d64bef74a2b42548). (AmplitudeTiercxx . . $ AmplitudeTier# me, double shortestPeriod, double longestPeriod, double maximumAmplitudeFactor); |
| 56 | double AmplitudeTier_getShimmer_apq11_ucxx . . $ AmplitudeTier_getShimmer_apq11_u(d64bef74a2b42548). (AmplitudeTiercxx . . $ AmplitudeTier# me, double shortestPeriod, double longestPeriod, double maximumAmplitudeFactor); |
| 57 | double AmplitudeTier_getShimmer_dda_ucxx . . $ AmplitudeTier_getShimmer_dda_u(d64bef74a2b42548). (AmplitudeTiercxx . . $ AmplitudeTier# me, double shortestPeriod, double longestPeriod, double maximumAmplitudeFactor); |
| 58 | |
| 59 | autoSoundcxx . . $ autoSound# AmplitudeTier_to_Soundcxx . . $ AmplitudeTier_to_Sound(1951c907e7b940d5). (AmplitudeTiercxx . . $ AmplitudeTier# me, double samplingFrequency, integercxx . . $ integer# interpolationDepth); |
| 60 | |
| 61 | /* End of file AmplitudeTier.h */ |
| 62 | #endif |