src/HumTransposer.cpp
bool HumTransposer::setTransposition(int keyFifths, const string &semitones) {
	if (!isValidSemitones(semitones)) {
		return false;
	}
	int semis = stoi(semitones);
	return setTransposition(keyFifths, semis);
}
// Set the transposition based on the key signature (or inferred key signature coming from
// the keySig@diatonic/keySig@accid/keySig@mode information) and a string containing the
// semitone transposition.
Set the transposition based on the key signature (or inferred key signature coming from
the keySig@diatonic/keySig@accid/keySig@mode information) and a string containing the
semitone transposition.
Set the transposition based on the key signature ( or inferred key signature coming from the keySig@diatonic / keySig@accid / keySig@mode information ) and a string containing the semitone transposition .
bool HumTransposer::setTransposition(int keyFifths, const string &semitones) {
	if (!isValidSemitones(semitones)) {
		return false;
	}
	int semis = stoi(semitones);
	return setTransposition(keyFifths, semis);
}
bool HumTransposer :: setTransposition ( int keyFifths , const string & semitones ) { if ( ! isValidSemitones ( semitones ) ) { return false ; } int semis = stoi ( semitones ) ; return setTransposition ( keyFifths , semis ) ; }
Set the transposition based on the key signature (or inferred key signature coming from
the keySig@diatonic/keySig@accid/keySig@mode information) and a string containing the
semitone transposition.
Set the transposition based on the key signature ( or inferred key signature coming from the keySig@diatonic / keySig@accid / keySig@mode information ) and a string containing the semitone transposition .