Debian Codegraph @

dwtools/Sound_and_Spectrogram_extensions.h

raw symbols SCIP
1 #ifndef _Sound_and_Spectrogram_extensions_h_
2 #define _Sound_and_Spectrogram_extensions_h_
3 /* Sound_and_Spectrogram_extensions.h
4 *
5 * Copyright (C) 2014-2015,2023 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 20140914
23 */
24
25 #include "Spectrogram_extensions.h"
26 #include "Pitch.h"
27 #include "Sound.h"
28
29 autoBarkSpectrogram Sound_to_BarkSpectrogram (Sound me, double analysisWidth, double dt,
30 double f1_bark, double fmax_bark, double df_bark);
31 /*
32 Filtering with filters on a Bark scale as defined by
33 Andrew Sekey & Brian Hanson (1984), "Improved 1-Bark bandwidth
34 "auditory filter", Jasa 75, 1902-1904.
35 Although not explicitly stated the filter function is defined in the
36 power domain.
37 10 log F(z) = 15.8 + 7.5(z + 0.5) - 17.5 * sqrt(1 + (z + 0.5)^2)
38 */
39
40 autoMelSpectrogram Sound_to_MelSpectrogram (Sound me, double analysisWidth, double dt,
41 double f1_mel, double fmax_mel, double df_mel);
42
43 autoSpectrogram Sound_to_Spectrogram_pitchDependent (Sound me, double analysisWidth,
44 double dt, double f1_hz, double fmax_hz, double df_hz, double relative_bw,
45 double pitchFloor, double pitchCeiling);
46
47 autoSpectrogram Sound_Pitch_to_Spectrogram (Sound me, Pitch thee,
48 double analysisWidth, double dt, double f1_hz, double fmax_hz,
49 double df_hz, double relative_bw);
50
51 autoSound BandFilterSpectrograms_crossCorrelate (BandFilterSpectrogram me, BandFilterSpectrogram thee, enum kSounds_convolve_scaling scaling, enum kSounds_convolve_signalOutsideTimeDomain signalOutsideTimeDomain);
52
53 autoSound BandFilterSpectrograms_convolve (BandFilterSpectrogram me, BandFilterSpectrogram thee, enum kSounds_convolve_scaling scaling, enum kSounds_convolve_signalOutsideTimeDomain signalOutsideTimeDomain);
54
55
56 #endif /* _Sound_and_Spectrogram_extensions_h_ */