| 1 | #cxx . . $ `<file>/dwtools/Pitch_extensions.h`/ifndef _Pitch_extensions_h_ |
| 2 | #define _Pitch_extensions_h_cxx . . $ `dwtools/Pitch_extensions.h:2:9`! |
| 3 | /* Pitch_extensions.h |
| 4 | * |
| 5 | * Copyright (C) 1993-2017 David Weenink |
| 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. See the GNU |
| 15 | * 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 | /* |
| 22 | djmw 19970408 |
| 23 | djmw 20020813 GPL header |
| 24 | djmw 20110307 Latest modification |
| 25 | */ |
| 26 | |
| 27 | #include "Pitch.h"cxx . . $ `<file>/fon/Pitch.h`/ |
| 28 | #include "PitchTier.h"cxx . . $ `<file>/fon/PitchTier.h`/ |
| 29 | |
| 30 | void Pitch_Frame_addPitchcxx . . $ Pitch_Frame_addPitch(203fb7178073f670). (Pitch_Framecxx . . $ Pitch_Frame# me, double f, double strength, integercxx . . $ integer# maxnCandidates); |
| 31 | |
| 32 | void Pitch_Frame_getPitchcxx . . $ Pitch_Frame_getPitch(804b7ce859a03a77). (Pitch_Framecxx . . $ Pitch_Frame# me, double *f, double *strength); |
| 33 | |
| 34 | void Pitch_Frame_resizeStrengthscxx . . $ Pitch_Frame_resizeStrengths(cb539ae45523e044). (Pitch_Framecxx . . $ Pitch_Frame# me, double maxStrength, double unvoicedCriterium); |
| 35 | |
| 36 | autoPitchcxx . . $ autoPitch# Pitch_scaleTimecxx . . $ Pitch_scaleTime(8c3978e901f12399). (Pitchcxx . . $ Pitch# me, double scaleFactor); |
| 37 | /* Scale time domain and pitches: |
| 38 | xmin' = xmin; dx' = dx * scaleFactor; x1' = xmin + 0.5 * dx'; |
| 39 | xmax' = xmin + nx * dx'; |
| 40 | pitch [i]' = pitch [i] / scaleFactor; |
| 41 | */ |
| 42 | |
| 43 | autoPitchcxx . . $ autoPitch# PitchTier_to_Pitchcxx . . $ PitchTier_to_Pitch(20008ffd6ba3dd0). (PitchTiercxx . . $ PitchTier# me, double dt, double pitchFloor, double pitchCeiling); |
| 44 | |
| 45 | #endif /* _Pitch_extensions_h_ */ |