| 1 |
#ifndef _Cepstrogram_h_ |
| 2 |
#define _Cepstrogram_h_ |
| 3 |
/* Cepstrogram.h |
| 4 |
* |
| 5 |
* Copyright (C) 2012-2020 David Weenink |
| 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 2 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. See the GNU |
| 15 |
* 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 |
/* |
| 22 |
djmw 20121017 |
| 23 |
djmw 20130502 Latest modification. |
| 24 |
*/ |
| 25 |
|
| 26 |
/* |
| 27 |
The Cepstrogram is a matrix of real numbers. |
| 28 |
It is the inverse-fourier-transformed logarithm of the spectrum |
| 29 |
of a (sound) signal. |
| 30 |
*/ |
| 31 |
|
| 32 |
#include "Cepstrum.h" |
| 33 |
#include "Sound.h" |
| 34 |
#include "Table.h" |
| 35 |
|
| 36 |
Thing_define (Cepstrogram, Matrix) { |
| 37 |
}; |
| 38 |
|
| 39 |
/* |
| 40 |
xmin, xmax : time domain |
| 41 |
nx, dx, x1 : sampling in the time domain |
| 42 |
ymin // Lowest quefrency. |
| 43 |
ymax // Highest quefrency. |
| 44 |
ny // Number of quefrencies. |
| 45 |
dy // Quefrency step. |
| 46 |
y1 // First quefrency. |
| 47 |
|
| 48 |
*/ |
| 49 |
|
| 50 |
autoCepstrogram Cepstrogram_create (double tmin, double tmax, integer nt, double dt, double t1, double qmin, double qmax, integer nq, double dq, double q1); |
| 51 |
|
| 52 |
#endif /* _Cepstrogram_h_ */ |