| 1 |
#ifndef _ComplexSpectrogram_h_ |
| 2 |
#define _ComplexSpectrogram_h_ |
| 3 |
|
| 4 |
/* ComplexSpectrogram.h |
| 5 |
* |
| 6 |
* Copyright (C) 2014-2019 David Weenink |
| 7 |
* |
| 8 |
* This code 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 2 of the License, or (at |
| 11 |
* your option) any later version. |
| 12 |
* |
| 13 |
* This code is distributed in the hope that it will be useful, but |
| 14 |
* WITHOUT ANY WARRANTY; without even the implied warranty of |
| 15 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 16 |
* General Public License for more details. |
| 17 |
* |
| 18 |
* You should have received a copy of the GNU General Public License |
| 19 |
* along with this work. If not, see <http://www.gnu.org/licenses/>. |
| 20 |
*/ |
| 21 |
|
| 22 |
#include "Sound.h" |
| 23 |
#include "Spectrum.h" |
| 24 |
#include "Spectrogram.h" |
| 25 |
|
| 26 |
#include "ComplexSpectrogram_def.h" |
| 27 |
|
| 28 |
autoComplexSpectrogram ComplexSpectrogram_create (double tmin, double tmax, integer nt, double dt, |
| 29 |
double t1, double fmin, double fmax, integer nf, double df, double f1); |
| 30 |
|
| 31 |
autoComplexSpectrogram Sound_to_ComplexSpectrogram (Sound me, double windowLength, double maximumFrequency); |
| 32 |
|
| 33 |
autoSound ComplexSpectrogram_to_Sound (ComplexSpectrogram me, double stretchFactor); |
| 34 |
|
| 35 |
autoSpectrogram ComplexSpectrogram_to_Spectrogram (ComplexSpectrogram me); |
| 36 |
|
| 37 |
autoSpectrum ComplexSpectrogram_to_Spectrum (ComplexSpectrogram me, double time); |
| 38 |
|
| 39 |
void ComplexSpectrogram_Spectrogram_replaceAmplitudes (ComplexSpectrogram me, Spectrogram thee); |
| 40 |
|
| 41 |
#endif /* _ComplexSpectrogram_h_ */ |