multires.h
Go to the documentation of this file.
1 /*
2  Harmonic sinusoidal modelling and tools
3 
4  C++ code package for harmonic sinusoidal modelling and relevant signal processing.
5  Centre for Digital Music, Queen Mary, University of London.
6  This file copyright 2011 Wen Xue.
7 
8  This program is free software; you can redistribute it and/or
9  modify it under the terms of the GNU General Public License as
10  published by the Free Software Foundation; either version 2 of the
11  License, or (at your option) any later version.
12 */
13 #ifndef multiresH
14 #define multiresH
15 
36 //--memory re-indexing routines for internal use-----------------------------
37 void HSplitSpec(int X, int Y, double** Spec, double**& lSpec, double**& uSpec);
38 void HSplitSpecs(int N, double*** Specs, double***& lSpecs, double***& uSpecs);
39 void VSplitSpec(int X, int Y, double** Spec, double**& lSpec, double**& rSpec);
40 void VSplitSpecs(int N, double*** Specs, double***& lSpecs, double***& rSpecs);
41 
42 //--composite spectrogram algorithms-----------------------------------------
43 double MixSpectrogram(double** Spec, double*** Specs, int Fr, int WID, int wid, bool norm=true, bool normmix=true, int*** cuts=0);
44 double MixSpectrogram(int** spl, double** Spec, double*** Specs, int Fr, int WID, int wid, bool norm=true, bool normmix=true);
45 #endif
void HSplitSpec(int X, int Y, double **Spec, double **&lSpec, double **&uSpec)
Definition: multires.cpp:359
void HSplitSpecs(int N, double ***Specs, double ***&lSpecs, double ***&uSpecs)
Definition: multires.cpp:379
double MixSpectrogram(double **Spec, double ***Specs, int Fr, int WID, int wid, bool norm=true, bool normmix=true, int ***cuts=0)
Definition: multires.cpp:773
void VSplitSpecs(int N, double ***Specs, double ***&lSpecs, double ***&rSpecs)
Definition: multires.cpp:852
void VSplitSpec(int X, int Y, double **Spec, double **&lSpec, double **&rSpec)
Definition: multires.cpp:832