CLAM-Development
1.4.0
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
src
Data
Descriptors
EnvelopeDescriptors.hxx
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2001-2004 MUSIC TECHNOLOGY GROUP (MTG)
3
* UNIVERSITAT POMPEU FABRA
4
*
5
*
6
* This program is free software; you can redistribute it and/or modify
7
* it under the terms of the GNU General Public License as published by
8
* the Free Software Foundation; either version 2 of the License, or
9
* (at your option) any later version.
10
*
11
* This program is distributed in the hope that it will be useful,
12
* but WITHOUT ANY WARRANTY; without even the implied warranty of
13
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
* GNU General Public License for more details.
15
*
16
* You should have received a copy of the GNU General Public License
17
* along with this program; if not, write to the Free Software
18
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19
*
20
*/
21
22
#ifndef __EnvelopeDescriptors__
23
#define __EnvelopeDescriptors__
24
25
#include <typeinfo>
26
27
#include "
ProcessingData.hxx
"
28
#include "
DataTypes.hxx
"
29
30
31
32
namespace
CLAM{
33
34
class
Frame;
35
36
/*
37
* This class holds Descriptors computed from Frame data. Right now no specific
38
* descriptors are computed for frame (only for spectrums, audios... that are held
39
* inside the frame. TODO: add specific descriptors.
40
*
41
*/
42
class
EnvelopeDescriptors
:
public
ProcessingData
43
{
44
public
:
45
DYNAMIC_TYPE_USING_INTERFACE
(
EnvelopeDescriptors
, 23,
ProcessingData
);
46
DYN_ATTRIBUTE
(0,
public
,
TData
, TC2TotSize);
47
DYN_ATTRIBUTE
(1,
public
,
TData
, MidEnvSize);
48
DYN_ATTRIBUTE
(2,
public
,
TData
, MidEnvSize2TotSize);
49
DYN_ATTRIBUTE
(3,
public
,
TData
, TotSize);
50
DYN_ATTRIBUTE
(4,
public
,
TData
, nSilence);
51
DYN_ATTRIBUTE
(5,
public
,
TData
, MidEnvEnVar);
52
DYN_ATTRIBUTE
(6,
public
,
TData
, HighAmpDerAv);
53
DYN_ATTRIBUTE
(7,
public
,
TData
, LogAttackTime);
54
DYN_ATTRIBUTE
(8,
public
,
TData
, MaxAtDer);
55
DYN_ATTRIBUTE
(9,
public
,
TData
, AttackDerAv);
56
DYN_ATTRIBUTE
(10,
public
,
TData
, Attack2TotSize);
57
DYN_ATTRIBUTE
(11,
public
,
TData
, DerAAttackAv);
58
DYN_ATTRIBUTE
(12,
public
,
TData
, Pos2NegDer);
59
DYN_ATTRIBUTE
(13,
public
,
TData
, LogReleaseTime);
60
DYN_ATTRIBUTE
(14,
public
,
TData
, MinReleaseDer);
61
DYN_ATTRIBUTE
(15,
public
,
TData
, ReleaseDerAv);
62
DYN_ATTRIBUTE
(16,
public
,
TData
, Release2TotSize);
63
DYN_ATTRIBUTE
(17,
public
,
TData
, DerBMaxAv);
64
DYN_ATTRIBUTE
(18,
public
,
TData
, MaxDerBMax);
65
DYN_ATTRIBUTE
(19,
public
,
TData
, DerAMaxAv);
66
DYN_ATTRIBUTE
(20,
public
,
TData
, MinDerAMax);
67
DYN_ATTRIBUTE
(21,
public
,
TData
, MaxT2TotSize);
68
DYN_ATTRIBUTE
(22,
public
,
TData
, Velocity);
69
70
71
private
:
72
void
DefaultInit();
73
};
74
75
76
77
};
//CLAM
78
79
80
81
#endif
82
Generated by
1.8.1