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 00022 #ifndef __MorphologicalSegmentDescriptors__ 00023 #define __MorphologicalSegmentDescriptors__ 00024 #include <typeinfo> 00025 00026 #include "Flags.hxx" 00027 #include "DynamicType.hxx" 00028 #include "ProcessingData.hxx" 00029 #include "DataTypes.hxx" 00030 #include "EnvelopeDescriptors.hxx" 00031 00032 namespace CLAM{ 00033 00034 class MorphologicalSegmentDescriptors : public ProcessingData 00035 { 00036 public: 00037 DYNAMIC_TYPE_USING_INTERFACE (MorphologicalSegmentDescriptors, 18, ProcessingData); 00038 DYN_ATTRIBUTE (0, public, int, MorphSegDescInt1); 00039 DYN_ATTRIBUTE (1, public, int, MorphSegDescInt2); 00040 DYN_ATTRIBUTE (2, public, int, MorphSegDescInt3); 00041 DYN_ATTRIBUTE (3, public, TData, PitchSalienceWAv); 00042 DYN_ATTRIBUTE (4, public, TData, PitchSalienceVar); 00043 DYN_ATTRIBUTE (5, public, TData, PitchSalienceFluxAv); 00044 DYN_ATTRIBUTE (6, public, TData, PitchSalienceWFluxAv); 00045 DYN_ATTRIBUTE (7, public, TData, LogSCVar); 00046 DYN_ATTRIBUTE (8, public, TData, LogSCWFluxAv); 00047 DYN_ATTRIBUTE (9, public, TData, LogPitchWFlux); 00048 DYN_ATTRIBUTE (10, public, TData, LogPitchVar); 00049 DYN_ATTRIBUTE (11, public, int, nPitchSeg); 00050 DYN_ATTRIBUTE (12, public, TData, gLogPitchFluxWAv); 00051 DYN_ATTRIBUTE (13, public, TData, gLogPitchVarWAv); 00052 DYN_ATTRIBUTE (14, public, TData, PitchAv); 00053 DYN_ATTRIBUTE (15, public, TData, StablePitch2Tot); 00054 DYN_ATTRIBUTE (16, public, TData, nSeg2NonSilentPitchedFr); 00055 DYN_ATTRIBUTE (17, public, EnvelopeDescriptors, EnvD); 00056 00057 00058 private: 00059 void DefaultInit(); 00060 }; 00061 00062 00063 00064 };//CLAM 00065 00066 00067 00068 #endif 00069