hsedit.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 hseditH
14 #define hseditH
15 
16 
21 #include "hs.h"
22 #include "hssf.h"
23 
24 //--tool procedures----------------------------------------------------------
25 void DeFM(double* a2, double* f2, double* a1, double* f1, double* arec, int npfr, int* peakfr);
26 void DFMSeg(double* arec, int& npfr, int* peakfr, int M, int Fr, atom** partials);
27 void ReFM(int M, int Fr, atom** partials, atom** partials2, double amount=1, double rate=1, TSF* SF=0);
28 
29 //--HS editing sample routines-----------------------------------------------
30 void HSAM(THS* HS, THS* SrcHS, double dep, double fre, double ph);
31 void HSFM(THS* HS, THS* SrcHS, double a, double freq, double ph);
32 void HSFM_SF(THS* HS, THS* SrcHS, double a, double freq, double ph, TSF* SF);
33 void HSPitchShift(THS* HS, THS* SrcHS, double ps12);
34 
35 #endif
Definition: hs.h:49
void HSFM(THS *HS, THS *SrcHS, double a, double freq, double ph)
Definition: hsedit.cpp:109
void ReFM(int M, int Fr, atom **partials, atom **partials2, double amount=1, double rate=1, TSF *SF=0)
Definition: hsedit.cpp:167
void HSAM(THS *HS, THS *SrcHS, double dep, double fre, double ph)
Definition: hsedit.cpp:90
void HSFM_SF(THS *HS, THS *SrcHS, double a, double freq, double ph, TSF *SF)
Definition: hsedit.cpp:129
void HSPitchShift(THS *HS, THS *SrcHS, double ps12)
Definition: hsedit.cpp:150
Definition: hs.h:147
void DeFM(double *a2, double *f2, double *a1, double *f1, double *arec, int npfr, int *peakfr)
Definition: hsedit.cpp:32
Definition: hssf.h:40
void DFMSeg(double *arec, int &npfr, int *peakfr, int M, int Fr, atom **partials)
Definition: hsedit.cpp:60