| 1 | #cxx . . $ `<file>/fon/Manipulation.h`/ifndef _Manipulation_h_ |
| 2 | #define _Manipulation_h_cxx . . $ `fon/Manipulation.h:2:9`! |
| 3 | /* Manipulation.h |
| 4 | * |
| 5 | * Copyright (C) 1992-2005,2007,2011,2015,2016,2018,2022,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 "Sound.h"cxx . . $ `<file>/fon/Sound.h`/ |
| 22 | #include "PointProcess.h"cxx . . $ `<file>/fon/PointProcess.h`/ |
| 23 | #include "PitchTier.h"cxx . . $ `<file>/fon/PitchTier.h`/ |
| 24 | #include "DurationTier.h"cxx . . $ `<file>/fon/DurationTier.h`/ |
| 25 | #include "LPC.h"cxx . . $ `<file>/LPC/LPC.h`/ |
| 26 | |
| 27 | /* The following have to be included for compatibility. */ |
| 28 | #include "IntensityTier.h"cxx . . $ `<file>/fon/IntensityTier.h`/ |
| 29 | #include "Intensity.h"cxx . . $ `<file>/fon/Intensity.h`/ |
| 30 | #include "FormantTier.h"cxx . . $ `<file>/fon/FormantTier.h`/ |
| 31 | #include "Formant.h"cxx . . $ `<file>/fon/Formant.h`/ |
| 32 | #include "Pitch.h"cxx . . $ `<file>/fon/Pitch.h`/ |
| 33 | #include "Image.h"cxx . . $ `<file>/fon/Image.h`/ |
| 34 | |
| 35 | #include "Manipulation_def.h"cxx . . $ `<file>/fon/Manipulation_def.h`/ |
| 36 | |
| 37 | /* How to create an Manipulation. */ |
| 38 | |
| 39 | autoManipulationcxx . . $ autoManipulation# Manipulation_createcxx . . $ Manipulation_create(703441835d7bb364). (double tmin, double tmax); |
| 40 | void Manipulation_replaceOriginalSoundcxx . . $ Manipulation_replaceOriginalSound(42ff95da0dc92020). (Manipulationcxx . . $ Manipulation# me, Soundcxx . . $ Sound# sound); |
| 41 | void Manipulation_replacePulsescxx . . $ Manipulation_replacePulses(b728bebfed846588). (Manipulationcxx . . $ Manipulation# me, PointProcesscxx . . $ PointProcess# pulses); |
| 42 | void Manipulation_replaceIntensityTiercxx . . $ Manipulation_replaceIntensityTier(820a6da3a0b20569). (Manipulationcxx . . $ Manipulation# me, IntensityTiercxx . . $ IntensityTier# intensity); |
| 43 | void Manipulation_replacePitchTiercxx . . $ Manipulation_replacePitchTier(43acf25292e6488f). (Manipulationcxx . . $ Manipulation# me, PitchTiercxx . . $ PitchTier# pitch); |
| 44 | void Manipulation_replaceDurationTiercxx . . $ Manipulation_replaceDurationTier(b13f27a8dfde78e). (Manipulationcxx . . $ Manipulation# me, DurationTiercxx . . $ DurationTier# duration); |
| 45 | |
| 46 | autoManipulationcxx . . $ autoManipulation# Sound_to_Manipulationcxx . . $ Sound_to_Manipulation(30f887474585d5d9). (Soundcxx . . $ Sound# me, double timeStep, double pitchFloor, double pitchCeiling); |
| 47 | autoManipulationcxx . . $ autoManipulation# Sound_Pitch_to_Manipulationcxx . . $ Sound_Pitch_to_Manipulation(2e1e2cc711a6a618). (Soundcxx . . $ Sound# sound, Pitchcxx . . $ Pitch# pitch); |
| 48 | autoManipulationcxx . . $ autoManipulation# Sound_PointProcess_to_Manipulationcxx . . $ Sound_PointProcess_to_Manipulation(5045a1b881ee9bd4). (Soundcxx . . $ Sound# sound, PointProcesscxx . . $ PointProcess# point); |
| 49 | autoManipulationcxx . . $ autoManipulation# Manipulation_AnyTier_to_Manipulationcxx . . $ Manipulation_AnyTier_to_Manipulation(8ed2a2dcc2ec7e2f). (Manipulationcxx . . $ Manipulation# manip, AnyTiercxx . . $ AnyTier# tier); |
| 50 | |
| 51 | /* Resynthesis. */ |
| 52 | |
| 53 | #define Manipulation_OVERLAPADDcxx . . $ `fon/Manipulation.h:53:9`! 1 |
| 54 | #define Manipulation_PULSEScxx . . $ `fon/Manipulation.h:54:9`! 2 |
| 55 | #define Manipulation_PULSES_HUMcxx . . $ `fon/Manipulation.h:55:9`! 3 |
| 56 | #define Manipulation_PITCHcxx . . $ `fon/Manipulation.h:56:9`! 4 |
| 57 | #define Manipulation_PITCH_HUMcxx . . $ `fon/Manipulation.h:57:9`! 5 |
| 58 | #define Manipulation_PULSES_PITCHcxx . . $ `fon/Manipulation.h:58:9`! 6 |
| 59 | #define Manipulation_PULSES_PITCH_HUMcxx . . $ `fon/Manipulation.h:59:9`! 7 |
| 60 | #define Manipulation_OVERLAPADD_NODURcxx . . $ `fon/Manipulation.h:60:9`! 8 |
| 61 | #define Manipulation_PULSES_FORMANTcxx . . $ `fon/Manipulation.h:61:9`! 9 |
| 62 | #define Manipulation_PULSES_FORMANT_INTENSITYcxx . . $ `fon/Manipulation.h:62:9`! 10 |
| 63 | #define Manipulation_PULSES_LPCcxx . . $ `fon/Manipulation.h:63:9`! 11 |
| 64 | #define Manipulation_PULSES_LPC_INTENSITYcxx . . $ `fon/Manipulation.h:64:9`! 12 |
| 65 | #define Manipulation_PITCH_LPCcxx . . $ `fon/Manipulation.h:65:9`! 13 |
| 66 | #define Manipulation_PITCH_LPC_INTENSITYcxx . . $ `fon/Manipulation.h:66:9`! 14 |
| 67 | #define Manipulation_PITCH_LPC_INT_DURcxx . . $ `fon/Manipulation.h:67:9`! 15 |
| 68 | autoSoundcxx . . $ autoSound# Sound_Point_Point_to_Soundcxx . . $ Sound_Point_Point_to_Sound(e3d45e54be0b8c1f). (Soundcxx . . $ Sound# me, PointProcesscxx . . $ PointProcess# source, PointProcesscxx . . $ PointProcess# target, double maxT); |
| 69 | /*void Sound_Formant_Intensity_filter (Sound me, FormantTier formant, IntensityTier intensity);*/ |
| 70 | |
| 71 | autoSoundcxx . . $ autoSound# Manipulation_to_Soundcxx . . $ Manipulation_to_Sound(7deae98ef053e36b). (Manipulationcxx . . $ Manipulation# me, int method); |
| 72 | void Manipulation_playPartcxx . . $ Manipulation_playPart(43fb68d856ffd33a). (Manipulationcxx . . $ Manipulation# me, double tmin, double tmax, int method); // BUG: why no callback? |
| 73 | void Manipulation_playcxx . . $ Manipulation_play(15af01879a98877c). (Manipulationcxx . . $ Manipulation# me, int method); |
| 74 | void Manipulation_writeToTextFileWithoutSoundcxx . . $ Manipulation_writeToTextFileWithoutSound(b2c1697b76489b30). (Manipulationcxx . . $ Manipulation# me, MelderFilecxx . . $ MelderFile# file); |
| 75 | void Manipulation_writeToBinaryFileWithoutSoundcxx . . $ Manipulation_writeToBinaryFileWithoutSound(b2c1697b76489b30). (Manipulationcxx . . $ Manipulation# me, MelderFilecxx . . $ MelderFile# file); |
| 76 | |
| 77 | /* The low-level synthesis routines. */ |
| 78 | |
| 79 | autoSoundcxx . . $ autoSound# Sound_Point_Pitch_Duration_to_Soundcxx . . $ Sound_Point_Pitch_Duration_to_Sound(f5fdd517ed726be5). (Soundcxx . . $ Sound# me, PointProcesscxx . . $ PointProcess# pulses, |
| 80 | PitchTiercxx . . $ PitchTier# pitch, DurationTiercxx . . $ DurationTier# duration, double maxT); |
| 81 | |
| 82 | /* End of file Manipulation.h */ |
| 83 | #endif |