| 1 |
#ifndef _Sound_and_MultiSampledSpectrogram_h_ |
| 2 |
#define _Sound_and_MultiSampledSpectrogram_h_ |
| 3 |
/* Sound_and_MultiSampledSpectrogram.h |
| 4 |
* |
| 5 |
* Copyright (C) 2021-2022 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 |
#include "AnalyticSound.h" |
| 22 |
#include "ConstantQSpectrograms.h" |
| 23 |
#include "Sound.h" |
| 24 |
|
| 25 |
autoSound MultiSampledSpectrogram_to_Sound (MultiSampledSpectrogram me); |
| 26 |
|
| 27 |
autoConstantQLog2FSpectrogram Sound_to_ConstantQLog2FSpectrogram (Sound me, double f1, double fmax, |
| 28 |
integer numberOfBinsPerOctave, double frequencyResolutionInBins, double timeOversamplingFactor, |
| 29 |
kSound_windowShape filterShape); |
| 30 |
|
| 31 |
autoGaborSpectrogram Sound_to_GaborSpectrogram (Sound me, double fmax, double filterBandwidth, |
| 32 |
double frequencyStep, double timeOversamplingFactor, kSound_windowShape filterShape); |
| 33 |
|
| 34 |
autoSound ConstantQLog2FSpectrogram_to_Sound (ConstantQLog2FSpectrogram me); |
| 35 |
|
| 36 |
autoSound ConstantQLog2FSpectrogram_to_Sound_frequencyBin (ConstantQLog2FSpectrogram me, integer frequencyBinNumber); |
| 37 |
|
| 38 |
autoAnalyticSound ConstantQLog2FSpectrogram_to_AnalyticSound_frequencyBin (ConstantQLog2FSpectrogram me, integer frequencyBinNumber); |
| 39 |
|
| 40 |
#endif /* Sound_and_MultiSampledSpectrogram_h_ */ |