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 00023 #ifndef _SMSTransformationChainIO_ 00024 #define _SMSTransformationChainIO_ 00025 00026 #include "SegmentTransformation.hxx" 00027 #include "SpectralEnvelopeExtract.hxx" 00028 #include "SpectralEnvelopeApply.hxx" 00029 #include "FDCombFilter.hxx" 00030 00031 00032 namespace CLAM{ 00033 00034 00039 class SMSTransformationChainIO: public SegmentTransformation 00040 { 00041 00045 const char *GetClassName() const {return "SMSTransformationChainIO";} 00046 00047 00048 public: 00050 SMSTransformationChainIO() 00051 { 00052 } 00056 SMSTransformationChainIO(const SegmentTransformationConfig &c):SegmentTransformation(c) 00057 { 00058 } 00059 00061 ~SMSTransformationChainIO() 00062 {} 00063 00064 bool Do() 00065 { 00066 CLAM_ASSERT(false, "Do with ports not implemented"); 00067 return false; 00068 } 00069 00070 bool Do(const Frame& in, Frame& out); 00071 00072 00073 }; 00074 };//namespace CLAM 00075 00076 #endif // _SMSTransformationChainIO_ 00077