CLAM-Development
1.1
|
00001 /* 00002 * Copyright (c) 2001-2004 MUSIC TECHNOLOGY GROUP (MTG) 00003 * UNIVERSITAT POMPEU FABRA 00004 * 00005 * 00006 * This program is free software; you can redistribute it and/or modify 00007 * it under the terms of the GNU General Public License as published by 00008 * the Free Software Foundation; either version 2 of the License, or 00009 * (at your option) any later version. 00010 * 00011 * This program is distributed in the hope that it will be useful, 00012 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00013 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00014 * GNU General Public License for more details. 00015 * 00016 * You should have received a copy of the GNU General Public License 00017 * along with this program; if not, write to the Free Software 00018 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 00019 * 00020 */ 00021 #ifndef __SEGMENTSMSMORPHCONFIG__ 00022 #define __SEGMENTSMSMORPHCONFIG__ 00023 00024 #include "Processing.hxx" 00025 #include "BPF.hxx" 00026 00027 00028 namespace CLAM 00029 { 00030 class SegmentSMSMorphConfig: public ProcessingConfig 00031 { 00032 public: 00033 DYNAMIC_TYPE_USING_INTERFACE (SegmentSMSMorphConfig, 16,ProcessingConfig); 00035 DYN_ATTRIBUTE (0, public, std::string, FileName); 00037 DYN_ATTRIBUTE (1, public, BPF, HybBPF); 00040 DYN_ATTRIBUTE (2, public, bool, InterpolateFrame); 00043 DYN_ATTRIBUTE (3, public, BPF, SynchronizeTime); 00046 DYN_ATTRIBUTE (4, public, BPF, HybSinAmp); 00048 DYN_ATTRIBUTE (5, public, BPF, HybSinSpectralShape); 00051 DYN_ATTRIBUTE (6, public, BPF, HybSinShapeW1); 00054 DYN_ATTRIBUTE (7, public, BPF, HybSinShapeW2); 00056 DYN_ATTRIBUTE (8, public, BPF, HybPitch); 00058 DYN_ATTRIBUTE (9, public, BPF, HybSinFreq); 00060 DYN_ATTRIBUTE (10, public, BPF, HybResAmp); 00062 DYN_ATTRIBUTE (11, public, BPF, HybResSpectralShape); 00064 DYN_ATTRIBUTE (12, public, BPF, HybResShapeW1 ); 00065 DYN_ATTRIBUTE (13, public, BPF, HybResShapeW2 ); 00067 DYN_ATTRIBUTE (14, public, bool, UseSpectralShapes ); 00069 DYN_ATTRIBUTE (15, public, TData, SamplingRate); 00070 00071 00072 protected: 00073 void DefaultInit(); 00074 00075 void DefaultValues(); 00076 }; 00077 00078 } 00079 00080 #endif // SegmentSMSMorphConfig.hxx 00081