1041 if (triggerCondition.m_triggerData.m_triggerLevel !=
m_level)
1043 m_level = triggerCondition.m_triggerData.m_triggerLevel;
1047 bool condition, trigger;
1050 condition = triggerCondition.m_projector.run(s) >
m_levelPowerDB;
1054 condition = triggerCondition.m_projector.run(s) >
m_level;
1059 if (triggerCondition.m_trues < triggerCondition.m_triggerData.m_triggerHoldoff) {
1061 triggerCondition.m_trues++;
1063 triggerCondition.m_falses = 0;
1068 if (triggerCondition.m_falses < triggerCondition.m_triggerData.m_triggerHoldoff) {
1070 triggerCondition.m_falses++;
1072 triggerCondition.m_trues = 0;
1078 triggerCondition.m_prevCondition = condition;
1083 if (triggerCondition.m_triggerData.m_triggerBothEdges) {
1084 trigger = triggerCondition.m_prevCondition ? !condition : condition;
1085 }
else if (triggerCondition.m_triggerData.m_triggerPositiveEdge) {
1086 trigger = !triggerCondition.m_prevCondition && condition;
1088 trigger = triggerCondition.m_prevCondition && !condition;
1099 triggerCondition.m_prevCondition = condition;
Calculate logarithmic (dB) of squared magnitude.
Calculate linear magnitude or modulus.