| 1 | #ifndef _H1minusH2Tier_h_ |
| 2 | #define _H1minusH2Tier_h_ |
| 3 | /* H1minusH2Tier.h |
| 4 | * |
| 5 | * Copyright (C) 2025 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 3 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 "RealTier.h" |
| 22 | #include "Sound.h" |
| 23 | |
| 24 | /********** class H1minusH2Tier **********/ |
| 25 | |
| 26 | Thing_define (H1minusH2Tier, RealTier) { |
| 27 | int v_domainQuantity () const |
| 28 | override { return MelderQuantity_TIME_SECONDS; } |
| 29 | }; |
| 30 | |
| 31 | autoH1minusH2Tier H1minusH2Tier_create (double tmin, double tmax); |
| 32 | |
| 33 | void H1minusH2Tier_draw (H1minusH2Tier me, Graphics g, double tmin, double tmax, |
| 34 | double ymin, double ymax, conststring32 method, bool garnish); |
| 35 | |
| 36 | autoH1minusH2Tier PointProcess_upto_H1minusH2Tier (PointProcess me, double soundPressure); |
| 37 | autoH1minusH2Tier RealTier_to_H1minusH2Tier (RealTier me); |
| 38 | |
| 39 | autoH1minusH2Tier PointProcess_Sound_to_H1minusH2Tier_u (PointProcess me, Sound thee, |
| 40 | double tmin, double tmax, double shortestPeriod, double longestPeriod, double maximumPeriodFactor); |
| 41 | |
| 42 | /* End of file H1minusH2Tier.h */ |
| 43 | #endif |