src/tool-pccount.cpp
void Tool_pccount::setFactorMaximum(void) {
	m_factor = 0.0;
	for (int i=0; i<(int)m_counts[0].size(); i++) {
		if (m_counts[0][i] > m_factor) {
			m_factor = m_counts[0][i];
		}
	}
}
//////////////////////////////
//
// Tool_pccount::setFactorMaximum -- normalize by the maximum pitch-class value.
//
:setFactorMaximum -- normalize by the maximum pitch-class value.
: setFactorMaximum -- normalize by the maximum pitch - class value .
void Tool_pccount::setFactorMaximum(void) {
	m_factor = 0.0;
	for (int i=0; i<(int)m_counts[0].size(); i++) {
		if (m_counts[0][i] > m_factor) {
			m_factor = m_counts[0][i];
		}
	}
}
void Tool_pccount :: setFactorMaximum ( void ) { m_factor = 0.0 ; for ( int i = 0 ; i < ( int ) m_counts [ 0 ] . size ( ) ; i ++ ) { if ( m_counts [ 0 ] [ i ] > m_factor ) { m_factor = m_counts [ 0 ] [ i ] ; } } }
Tool_pccount::setFactorMaximum -- normalize by the maximum pitch-class value.
Tool_pccount :: setFactorMaximum -- normalize by the maximum pitch - class value .