Use const in ss_tempo_from_wave() and ss_pitch_from_tempo().