| 1 | #cxx . . $ `<file>/fon/PitchTier.h`/ifndef _PitchTier_h_ |
| 2 | #define _PitchTier_h_cxx . . $ `fon/PitchTier.h:2:9`! |
| 3 | /* PitchTier.h |
| 4 | * |
| 5 | * Copyright (C) 1992-2005,2007,2010-2012,2015-2018,2021-2023 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 "RealTier.h"cxx . . $ `<file>/fon/RealTier.h`/ |
| 22 | #include "Graphics.h"cxx . . $ `<file>/sys/Graphics.h`/ |
| 23 | #include "Sound.h"cxx . . $ `<file>/fon/Sound.h`/ |
| 24 | #include "Pitch.h"cxx . . $ `<file>/fon/Pitch.h`/ |
| 25 | |
| 26 | /********** class PitchTier **********/ |
| 27 | |
| 28 | Thing_definecxx . . $ theClassInfo_PitchTier. (PitchTier, RealTier) { |
| 29 | void v1_infocxx . . $ structPitchTier#v1_info(49f6e7a06ebc5aa8). () |
| 30 | override; |
| 31 | int v_domainQuantitycxx . . $ structPitchTier#v_domainQuantity(455f465bc33b4cdf). () const |
| 32 | override { return MelderQuantity_TIME_SECONDScxx . . $ `melder/melder_quantity.h:22:9`!; } |
| 33 | }; |
| 34 | |
| 35 | autoPitchTiercxx . . $ autoPitchTier# PitchTier_createcxx . . $ PitchTier_create(6e304f2c8cc67c9c). (double tmin, double tmax); |
| 36 | /* |
| 37 | Postconditions: |
| 38 | result -> xmin == tmin; |
| 39 | result -> xmax == tmax; |
| 40 | result -> points.size == 0; |
| 41 | */ |
| 42 | |
| 43 | void PitchTier_shiftFrequenciescxx . . $ PitchTier_shiftFrequencies(233d64163071de58). (PitchTiercxx . . $ PitchTier# me, double tmin, double tmax, double shift, kPitch_unitcxx . . $ kPitch_unit# units); |
| 44 | void PitchTier_multiplyFrequenciescxx . . $ PitchTier_multiplyFrequencies(f6b3a312c6578774). (PitchTiercxx . . $ PitchTier# me, double tmin, double tmax, double factor); |
| 45 | |
| 46 | void PitchTier_drawcxx . . $ PitchTier_draw(a0f332ff6e8fdb02). (PitchTiercxx . . $ PitchTier# me, Graphicscxx . . $ Graphics# g, double tmin, double tmax, |
| 47 | double fmin, double fmax, bool garnish, conststring32cxx . . $ conststring32# method); |
| 48 | |
| 49 | autoPitchTiercxx . . $ autoPitchTier# PointProcess_upto_PitchTiercxx . . $ PointProcess_upto_PitchTier(abb1168919acef87). (PointProcesscxx . . $ PointProcess# me, double frequency); |
| 50 | void PitchTier_stylizecxx . . $ PitchTier_stylize(25fef68f768d10e5). (PitchTiercxx . . $ PitchTier# me, double frequencyResolution, bool useSemitones); |
| 51 | |
| 52 | void PitchTier_writeToPitchTierSpreadsheetFilecxx . . $ PitchTier_writeToPitchTierSpreadsheetFile(a39ecb771f0745c3). (PitchTiercxx . . $ PitchTier# me, MelderFilecxx . . $ MelderFile# file); |
| 53 | void PitchTier_writeToHeaderlessSpreadsheetFilecxx . . $ PitchTier_writeToHeaderlessSpreadsheetFile(a39ecb771f0745c3). (PitchTiercxx . . $ PitchTier# me, MelderFilecxx . . $ MelderFile# file); |
| 54 | |
| 55 | autoPitchTiercxx . . $ autoPitchTier# RealTier_to_PitchTiercxx . . $ RealTier_to_PitchTier(7b9ade8f03ffb9cb). (RealTiercxx . . $ RealTier# me); |
| 56 | |
| 57 | /* End of file PitchTier.h */ |
| 58 | #endif |