Main Page | Modules | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members | Related Pages

FEAPIExamplePluginZeroCrossings.cpp File Reference


Detailed Description

implementation of the CZeroCrossings class.

:

Definition in file FEAPIExamplePluginZeroCrossings.cpp.

#include <string>
#include <iostream>
#include <math.h>
#include "zplVecLib.h"
#include "FEAPI.h"
#include "FEAPIExamplePluginZeroCrossings.h"
#include "FEAPIEntryPoints.h"

Include dependency graph for FEAPIExamplePluginZeroCrossings.cpp:

Go to the source code of this file.

Defines

#define FLT_MAX   3.402823466e+38F
#define kDefaultNumOfResults   8
#define _MY_MAJOR_VERSION   0x00000000
#define _MY_MINOR_VERSION   0x00000000
#define _MY_SUB_VERSION   0x00000001
#define _MY_PLUGIN_NAME   "ZeroCrossings"
#define _MY_PLUGIN_VENDOR   "zplane.development"
#define _MY_PLUGIN_DESCRIPTION   "This PlugIn calculates the relative number of zero crossings per channel. A zero crossing is a sign change of two neibourghed samples."
#define _MY_PLUGIN_COPYRIGHT   "(c) 2005 by zplane.development"
#define _MY_PLUGIN_ID   "zplZeroCrossings"
#define kFeatureIndex   0
#define kFeatureName   "Relative number of Zero-Crossings"
#define kFeatureUnit   "-"
#define kFeatureDescription   "The number of zero crossings in the analysis block divided by the analysis block length"
#define kFeatureRangeMin   0.0F
#define kFeatureRangeMax   1.0F
#define kFeatureIsQuantized   -1
#define kParam1Index   0
#define kParam1Name   "Analysis Block Length"
#define kParam1Unit   "Frames"
#define kParam1Description   "Length of analysis window for one result"
#define kParam1RangeMin   4
#define kParam1RangeMax   (float)((1<<30)-1)
#define kParam1DefaultValue   1024
#define kParam1QuantizedTo   4
#define kParam1IsChangeableInRealTime   false
#define kParam2Index   1
#define kParam2Name   "Analysis Hop-Size"
#define kParam2Unit   "ms"
#define kParam2Description   "Distance between two analysis block beginnings"
#define kParam2RangeMin   1
#define kParam2RangeMax   (float)((1<<30)-1)
#define kParam2DefaultValue   10
#define kParam2QuantizedTo   -1
#define kParam2IsChangeableInRealTime   false
#define kParam3Index   2
#define kParam3Name   "Individual Channels or Sum Channel"
#define kParam3Unit   ""
#define kParam3Description   "Determines wether the calculation should be done on the sum of all input channels ('0') or on each individual channel ('1')"
#define kParam3RangeMin   0
#define kParam3RangeMax   1
#define kParam3DefaultValue   0
#define kParam3QuantizedTo   1
#define kParam3IsChangeableInRealTime   false

Enumerations

enum  MyParameters_t { kBlockSize = 0, kHopSize = 1, kChannelMode = 2, kNumParameters }


Define Documentation

#define _MY_MAJOR_VERSION   0x00000000
 

this defines the version of the PlugIn itself

Definition at line 57 of file FEAPIExamplePluginZeroCrossings.cpp.

#define _MY_MINOR_VERSION   0x00000000
 

Definition at line 58 of file FEAPIExamplePluginZeroCrossings.cpp.

#define _MY_PLUGIN_COPYRIGHT   "(c) 2005 by zplane.development"
 

Definition at line 66 of file FEAPIExamplePluginZeroCrossings.cpp.

#define _MY_PLUGIN_DESCRIPTION   "This PlugIn calculates the relative number of zero crossings per channel. A zero crossing is a sign change of two neibourghed samples."
 

Definition at line 65 of file FEAPIExamplePluginZeroCrossings.cpp.

#define _MY_PLUGIN_ID   "zplZeroCrossings"
 

Definition at line 67 of file FEAPIExamplePluginZeroCrossings.cpp.

#define _MY_PLUGIN_NAME   "ZeroCrossings"
 

Definition at line 63 of file FEAPIExamplePluginZeroCrossings.cpp.

#define _MY_PLUGIN_VENDOR   "zplane.development"
 

Definition at line 64 of file FEAPIExamplePluginZeroCrossings.cpp.

#define _MY_SUB_VERSION   0x00000001
 

Definition at line 59 of file FEAPIExamplePluginZeroCrossings.cpp.

#define FLT_MAX   3.402823466e+38F
 

Definition at line 51 of file FEAPIExamplePluginZeroCrossings.cpp.

#define kDefaultNumOfResults   8
 

Definition at line 54 of file FEAPIExamplePluginZeroCrossings.cpp.

#define kFeatureDescription   "The number of zero crossings in the analysis block divided by the analysis block length"
 

Definition at line 74 of file FEAPIExamplePluginZeroCrossings.cpp.

#define kFeatureIndex   0
 

Definition at line 71 of file FEAPIExamplePluginZeroCrossings.cpp.

Referenced by CZeroCrossings::InitializePlugin().

#define kFeatureIsQuantized   -1
 

Definition at line 77 of file FEAPIExamplePluginZeroCrossings.cpp.

#define kFeatureName   "Relative number of Zero-Crossings"
 

Definition at line 72 of file FEAPIExamplePluginZeroCrossings.cpp.

#define kFeatureRangeMax   1.0F
 

Definition at line 76 of file FEAPIExamplePluginZeroCrossings.cpp.

#define kFeatureRangeMin   0.0F
 

Definition at line 75 of file FEAPIExamplePluginZeroCrossings.cpp.

#define kFeatureUnit   "-"
 

Definition at line 73 of file FEAPIExamplePluginZeroCrossings.cpp.

#define kParam1DefaultValue   1024
 

Definition at line 85 of file FEAPIExamplePluginZeroCrossings.cpp.

Referenced by CZeroCrossings::InitializePlugin().

#define kParam1Description   "Length of analysis window for one result"
 

Definition at line 82 of file FEAPIExamplePluginZeroCrossings.cpp.

Referenced by CZeroCrossings::InitializePlugin().

#define kParam1Index   0
 

Definition at line 79 of file FEAPIExamplePluginZeroCrossings.cpp.

Referenced by CZeroCrossings::InitializePlugin().

#define kParam1IsChangeableInRealTime   false
 

Definition at line 87 of file FEAPIExamplePluginZeroCrossings.cpp.

Referenced by CZeroCrossings::InitializePlugin().

#define kParam1Name   "Analysis Block Length"
 

Definition at line 80 of file FEAPIExamplePluginZeroCrossings.cpp.

Referenced by CZeroCrossings::InitializePlugin().

#define kParam1QuantizedTo   4
 

Definition at line 86 of file FEAPIExamplePluginZeroCrossings.cpp.

Referenced by CZeroCrossings::InitializePlugin().

#define kParam1RangeMax   (float)((1<<30)-1)
 

Definition at line 84 of file FEAPIExamplePluginZeroCrossings.cpp.

Referenced by CZeroCrossings::InitializePlugin().

#define kParam1RangeMin   4
 

Definition at line 83 of file FEAPIExamplePluginZeroCrossings.cpp.

Referenced by CZeroCrossings::InitializePlugin().

#define kParam1Unit   "Frames"
 

Definition at line 81 of file FEAPIExamplePluginZeroCrossings.cpp.

Referenced by CZeroCrossings::InitializePlugin().

#define kParam2DefaultValue   10
 

Definition at line 95 of file FEAPIExamplePluginZeroCrossings.cpp.

Referenced by CZeroCrossings::InitializePlugin().

#define kParam2Description   "Distance between two analysis block beginnings"
 

Definition at line 92 of file FEAPIExamplePluginZeroCrossings.cpp.

Referenced by CZeroCrossings::InitializePlugin().

#define kParam2Index   1
 

Definition at line 89 of file FEAPIExamplePluginZeroCrossings.cpp.

Referenced by CZeroCrossings::InitializePlugin().

#define kParam2IsChangeableInRealTime   false
 

Definition at line 97 of file FEAPIExamplePluginZeroCrossings.cpp.

Referenced by CZeroCrossings::InitializePlugin().

#define kParam2Name   "Analysis Hop-Size"
 

Definition at line 90 of file FEAPIExamplePluginZeroCrossings.cpp.

Referenced by CZeroCrossings::InitializePlugin().

#define kParam2QuantizedTo   -1
 

Definition at line 96 of file FEAPIExamplePluginZeroCrossings.cpp.

Referenced by CZeroCrossings::InitializePlugin().

#define kParam2RangeMax   (float)((1<<30)-1)
 

Definition at line 94 of file FEAPIExamplePluginZeroCrossings.cpp.

Referenced by CZeroCrossings::InitializePlugin().

#define kParam2RangeMin   1
 

Definition at line 93 of file FEAPIExamplePluginZeroCrossings.cpp.

Referenced by CZeroCrossings::InitializePlugin().

#define kParam2Unit   "ms"
 

Definition at line 91 of file FEAPIExamplePluginZeroCrossings.cpp.

Referenced by CZeroCrossings::InitializePlugin().

#define kParam3DefaultValue   0
 

Definition at line 105 of file FEAPIExamplePluginZeroCrossings.cpp.

Referenced by CZeroCrossings::InitializePlugin().

#define kParam3Description   "Determines wether the calculation should be done on the sum of all input channels ('0') or on each individual channel ('1')"
 

Definition at line 102 of file FEAPIExamplePluginZeroCrossings.cpp.

Referenced by CZeroCrossings::InitializePlugin().

#define kParam3Index   2
 

Definition at line 99 of file FEAPIExamplePluginZeroCrossings.cpp.

Referenced by CZeroCrossings::InitializePlugin().

#define kParam3IsChangeableInRealTime   false
 

Definition at line 107 of file FEAPIExamplePluginZeroCrossings.cpp.

Referenced by CZeroCrossings::InitializePlugin().

#define kParam3Name   "Individual Channels or Sum Channel"
 

Definition at line 100 of file FEAPIExamplePluginZeroCrossings.cpp.

Referenced by CZeroCrossings::InitializePlugin().

#define kParam3QuantizedTo   1
 

Definition at line 106 of file FEAPIExamplePluginZeroCrossings.cpp.

Referenced by CZeroCrossings::InitializePlugin().

#define kParam3RangeMax   1
 

Definition at line 104 of file FEAPIExamplePluginZeroCrossings.cpp.

Referenced by CZeroCrossings::InitializePlugin().

#define kParam3RangeMin   0
 

Definition at line 103 of file FEAPIExamplePluginZeroCrossings.cpp.

Referenced by CZeroCrossings::InitializePlugin().

#define kParam3Unit   ""
 

Definition at line 101 of file FEAPIExamplePluginZeroCrossings.cpp.

Referenced by CZeroCrossings::InitializePlugin().


Enumeration Type Documentation

enum MyParameters_t
 

Enumeration values:
kBlockSize 
kHopSize 
kChannelMode 
kNumParameters 

Definition at line 109 of file FEAPIExamplePluginZeroCrossings.cpp.


Generated on Fri Mar 23 10:28:55 2007 for FEAPI Plugin Documentation by  doxygen 1.3.9.1