Debian Codegraph @

fon/Ltas_to_SpectrumTier.cpp

raw
1 /* Ltas_to_SpectrumTier.cpp
2 *
3 * Copyright (C) 2007-2011,2015,2026,2024 Paul Boersma
4 *
5 * This code is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 2 of the License, or (at
8 * your option) any later version.
9 *
10 * This code is distributed in the hope that it will be useful, but
11 * WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
13 * See the GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this work. If not, see <http://www.gnu.org/licenses/>.
17 */
18
19 #include "Ltas_to_SpectrumTier.h"
20
21 autoSpectrumTier Ltas_to_SpectrumTier_peaks (Ltas me) {
22 try {
23 autoSpectrumTier thee = Vector_to_RealTier_peaks (me, 1, classSpectrumTier).static_cast_move <structSpectrumTier>();
24 return thee;
25 } catch (MelderError) {
26 Melder_throw (me, U": peaks not analyzed as SpectrumTier.");
27 }
28 }
29
30 /* End of file Ltas_to_SpectrumTier.cpp */