Debian Codegraph @

fon/praat_TimeVector.h

raw symbols SCIP
1 #ifndef _praat_TimeVector_h_
2 #define _praat_TimeVector_h_
3 /* praat_TimeVector.h
4 *
5 * Copyright (C) 2016,2017,2020,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 /*
22 Interface functions for time-based subclasses of Vector.
23 */
24
25 #include "Vector.h"
26 #include "praat_TimeFunction.h"
27
28 /*
29 Prompting for interpolated values at a time or within a time range.
30 */
31
32 #define praat_TimeVector_INTERPOLATED_VALUE(time,valueInterpolationType) \
33 REAL (time, U"Time (s)", U"0.5") \
34 CHOICE_ENUM (kVector_valueInterpolation, valueInterpolationType, \
35 U"Interpolation", kVector_valueInterpolation::CUBIC)
36
37 #define praat_TimeVector_INTERPOLATED_EXTREMUM(fromTime,toTime,peakInterpolationType) \
38 praat_TimeFunction_RANGE (fromTime, toTime) \
39 CHOICE_ENUM (kVector_peakInterpolation, peakInterpolationType, \
40 U"Interpolation", kVector_peakInterpolation::PARABOLIC)
41
42 /* End of file praat_TimeVector.h */
43 #endif