function numPartials = compNumPartials(numFreqs, numBinsPerSemitone)
% numPartials = compNumPartials(numFreqs, numBinsPerSemitone)
% 
% compute the number of partials that fall within the spectrogram range

numPartials = floor( 2^(numFreqs / (12 * numBinsPerSemitone)) );