freq_round
- pitchtools.freq_round(freq, semitone_divisions=1)
Round the freq. to the nearest semitone or fraction thereof
- Parameters:
freq (
float
) – the freq. to roundsemitone_divisions – the number of divisions per semitone
- Return type:
float
- Returns:
the rounded frequency
See also