Mercurial > hg > x
view hsedit.h @ 13:de3961f74f30 tip
Add Linux/gcc Makefile; build fix
author | Chris Cannam |
---|---|
date | Mon, 05 Sep 2011 15:22:35 +0100 |
parents | 977f541d6683 |
children |
line wrap: on
line source
/* Harmonic sinusoidal modelling and tools C++ code package for harmonic sinusoidal modelling and relevant signal processing. Centre for Digital Music, Queen Mary, University of London. This file copyright 2011 Wen Xue. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. */ #ifndef hseditH #define hseditH /** \file hsedit.h - harmonic sinusoid audio editing routines. */ #include "hs.h" #include "hssf.h" //--tool procedures---------------------------------------------------------- void DeFM(double* a2, double* f2, double* a1, double* f1, double* arec, int npfr, int* peakfr); void DFMSeg(double* arec, int& npfr, int* peakfr, int M, int Fr, atom** partials); void ReFM(int M, int Fr, atom** partials, atom** partials2, double amount=1, double rate=1, TSF* SF=0); //--HS editing sample routines----------------------------------------------- void HSAM(THS* HS, THS* SrcHS, double dep, double fre, double ph); void HSFM(THS* HS, THS* SrcHS, double a, double freq, double ph); void HSFM_SF(THS* HS, THS* SrcHS, double a, double freq, double ph, TSF* SF); void HSPitchShift(THS* HS, THS* SrcHS, double ps12); #endif