Debian Codegraph @

LPC/PowerCepstrogram.h

raw symbols SCIP
1 #cxx . . $ `<file>/LPC/PowerCepstrogram.h`/ifndef _PowerCepstrogram_h_
2 #define _PowerCepstrogram_h_cxx . . $ `LPC/PowerCepstrogram.h:2:9`!
3 /* PowerCepstrogram.h
4 *
5 * Copyright (C) 2012-2025 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 The Cepstrogram is a matrix of real numbers.
23 It is the inverse-fourier-transformed logarithm of the spectrum
24 of a (sound) signal.
25 */
26
27 #include "PowerCepstrumWorkspace.h"cxx . . $ `<file>/LPC/PowerCepstrumWorkspace.h`/
28 #include "Matrix.h"cxx . . $ `<file>/fon/Matrix.h`/
29 #include "Sound.h"cxx . . $ `<file>/fon/Sound.h`/
30 #include "Table.h"cxx . . $ `<file>/stat/Table.h`/
31
32 Thing_definecxx . . $ classPowerCepstrogram. (PowerCepstrogram, Matrix) {
33 double v_getValueAtSamplecxx . . $ structPowerCepstrogram#v_getValueAtSample(8bbfc6ce471470c9). (integercxx . . $ integer# sampleNumber, integercxx . . $ integer# level, int unit) const
34 override;
35 };
36
37 /*
38 xmin, xmax : time domain
39 nx, dx, x1 : sampling in the time domain
40 ymin // Lowest quefrency.
41 ymax // Highest quefrency.
42 ny // Number of quefrencies.
43 dy // Quefrency step.
44 y1 // First quefrency.
45
46 */
47
48 autoPowerCepstrogramcxx . . $ autoPowerCepstrogram# PowerCepstrogram_createcxx . . $ PowerCepstrogram_create(bde97b71e31956b6). (double tmin, double tmax, integercxx . . $ integer# nt, double dt, double t1,
49 double qmin, double qmax, integercxx . . $ integer# nq, double dq, double q1);
50
51 void PowerCepstrogram_paintcxx . . $ PowerCepstrogram_paint(e228a6e630a2d0e1). (PowerCepstrogramcxx . . $ PowerCepstrogram# me, Graphicscxx . . $ Graphics# g, double tmin, double tmax,
52 double qmin, double qmax, double dBmaximum, int autoscaling, double dynamicRangedB, double dynamicCompression, bool garnish);
53
54 autoPowerCepstrogramcxx . . $ autoPowerCepstrogram# PowerCepstrogram_smoothcxx . . $ PowerCepstrogram_smooth(784f2760925e5127). (PowerCepstrogramcxx . . $ PowerCepstrogram# me, double timeAveragingWindow, double quefrencyAveragingWindow);
55
56
57 autoTablecxx . . $ autoTable# PowerCepstrogram_to_Table_hillenbrandcxx . . $ PowerCepstrogram_to_Table_hillenbrand(d04d1cc2c1a2ca3a). (PowerCepstrogramcxx . . $ PowerCepstrogram# me, double pitchFloor, double pitchCeiling);
58
59 autoTablecxx . . $ autoTable# PowerCepstrogram_to_Table_CPPcxx . . $ PowerCepstrogram_to_Table_CPP(3c2647b8f0ab4b03). (PowerCepstrogramcxx . . $ PowerCepstrogram# me, bool includeFrameNumber, bool includeTime,
60 integercxx . . $ integer# numberOfTimeDecimals, integercxx . . $ integer# numberOfCPPdecimals, bool includeQuefrency, integercxx . . $ integer# numberOfQuefrencyDecimals,
61 double pitchFloor, double pitchCeiling, double deltaF0, kVector_peakInterpolationcxx . . $ kVector_peakInterpolation# peakInterpolationType,
62 double qstartFit, double qendFit, kCepstrum_trendTypecxx . . $ kCepstrum_trendType# lineType, kCepstrum_trendFitcxx . . $ kCepstrum_trendFit# fitMethod);
63
64 void PowerCepstrogram_listCPPcxx . . $ PowerCepstrogram_listCPP(3a0656b26706ebd2). (PowerCepstrogramcxx . . $ PowerCepstrogram# me, bool includeFrameNumber, bool includeTime,
65 integercxx . . $ integer# numberOfTimeDecimals, integercxx . . $ integer# numberOfCPPdecimals, bool includePeakQuefrency, integercxx . . $ integer# numberOfQuefrencyDecimals,
66 double pitchFloor, double pitchCeiling, double deltaF0, kVector_peakInterpolationcxx . . $ kVector_peakInterpolation# peakInterpolationType,
67 double qstartFit, double qendFit, kCepstrum_trendTypecxx . . $ kCepstrum_trendType# lineType, kCepstrum_trendFitcxx . . $ kCepstrum_trendFit# fitMethod);
68
69 autoTablecxx . . $ autoTable# PowerCepstrogram_to_Table_CPPvaluescxx . . $ PowerCepstrogram_to_Table_CPPvalues(63c4d242c3c4a41b). (PowerCepstrogramcxx . . $ PowerCepstrogram# me, double pitchFloor, double pitchCeiling,
70 double deltaF0, kVector_peakInterpolationcxx . . $ kVector_peakInterpolation# peakInterpolationType, double qstartFit, double qendFit,
71 kCepstrum_trendTypecxx . . $ kCepstrum_trendType# lineType, kCepstrum_trendFitcxx . . $ kCepstrum_trendFit# fitMethod);
72
73 autoPowerCepstrumcxx . . $ autoPowerCepstrum# PowerCepstrogram_to_PowerCepstrum_slicecxx . . $ PowerCepstrogram_to_PowerCepstrum_slice(cffbf2e4edc2074). (PowerCepstrogramcxx . . $ PowerCepstrogram# me, double time);
74
75 autoPowerCepstrogramcxx . . $ autoPowerCepstrogram# PowerCepstrogram_subtractTrendcxx . . $ PowerCepstrogram_subtractTrend(a230c63ce2610488). (constPowerCepstrogramcxx . . $ constPowerCepstrogram# me, double qstartFit, double qendFit,
76 kCepstrum_trendTypecxx . . $ kCepstrum_trendType# lineType, kCepstrum_trendFitcxx . . $ kCepstrum_trendFit# fitMethod);
77
78 void PowerCepstrogram_subtractTrend_inplacecxx . . $ PowerCepstrogram_subtractTrend_inplace(83c1ee410c32d421). (mutablePowerCepstrogramcxx . . $ mutablePowerCepstrogram# me, double qstartFit, double qendFit,
79 kCepstrum_trendTypecxx . . $ kCepstrum_trendType# lineType, kCepstrum_trendFitcxx . . $ kCepstrum_trendFit# fitMethod);
80
81 double PowerCepstrogram_getCPPS_hillenbrandcxx . . $ PowerCepstrogram_getCPPS_hillenbrand(d729da23b6b7ca26). (PowerCepstrogramcxx . . $ PowerCepstrogram# me, bool subtractTrendBeforeSmoothing,
82 double timeAveragingWindow, double quefrencyAveragingWindow, double pitchFloor, double pitchCeiling);
83
84 double PowerCepstrogram_getCPPScxx . . $ PowerCepstrogram_getCPPS(cc85b1fb6b62d83c). (PowerCepstrogramcxx . . $ PowerCepstrogram# me, bool subtractTrendBeforeSmoothing,
85 double timeAveragingWindow, double quefrencyAveragingWindow, double pitchFloor, double pitchCeiling, double deltaF0, kVector_peakInterpolationcxx . . $ kVector_peakInterpolation# peakInterpolationType, double qstartFit, double qendFit, kCepstrum_trendTypecxx . . $ kCepstrum_trendType# lineType, kCepstrum_trendFitcxx . . $ kCepstrum_trendFit# fitMethod);
86
87 autoMatrixcxx . . $ autoMatrix# PowerCepstrogram_to_Matrixcxx . . $ PowerCepstrogram_to_Matrix(f63da8dca4ae29d5). (PowerCepstrogramcxx . . $ PowerCepstrogram# me);
88
89 autoPowerCepstrogramcxx . . $ autoPowerCepstrogram# Matrix_to_PowerCepstrogramcxx . . $ Matrix_to_PowerCepstrogram(66931413c5178fa4). (Matrixcxx . . $ Matrix# me);
90
91 #endif /* _PowerCepstrogram_h_ */