WE Core
Loading...
Searching...
No Matches
Formant.h
Go to the documentation of this file.
1/*
2 * File: Formant.h
3 *
4 * Created: 16/07/2016
5 *
6 * This file is part of WECore.
7 *
8 * WECore is free software: you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by
10 * the Free Software Foundation, either version 3 of the License, or
11 * (at your option) any later version.
12 *
13 * WECore is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU General Public License for more details.
17 *
18 * You should have received a copy of the GNU General Public License
19 * along with WECore. If not, see <http://www.gnu.org/licenses/>.
20 */
21
22#pragma once
23
28 class Formant {
29 public:
30 Formant() : frequency(0), gaindB(0) {}
31
32 Formant(double newFreq,
33 double newGaindB) : frequency(newFreq),
34 gaindB(newGaindB) {}
35
36 double frequency;
37 double gaindB;
38 };
39}
Formant(double newFreq, double newGaindB)
Definition Formant.h:32