| 1 | /* Sound_and_Spectrum.h |
| 2 | * |
| 3 | * Copyright (C) 1992-2005,2007,2009,2011,2012,2015,2016,2018 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 "Sound.h" |
| 20 | #include "Spectrum.h" |
| 21 | Thing_declare (Interpreter); |
| 22 | |
| 23 | autoSpectrum Sound_to_Spectrum_at (Sound me, double tim, double windowDuration, int windowType); |
| 24 | |
| 25 | autoSpectrum Sound_to_Spectrum (Sound me, bool fast); |
| 26 | autoSound Spectrum_to_Sound (Spectrum me); |
| 27 | |
| 28 | autoSpectrum Spectrum_lpcSmoothing (Spectrum me, int numberOfPeaks, double preemphasisFrequency); |
| 29 | |
| 30 | autoSound Sound_filter_passHannBand (Sound me, double fmin, double fmax, double smooth); |
| 31 | autoSound Sound_filter_stopHannBand (Sound me, double fmin, double fmax, double smooth); |
| 32 | autoSound Sound_filter_formula (Sound me, conststring32 formula, Interpreter interpreter); |
| 33 | |
| 34 | /* End of file Sound_and_Spectrum.h */ |