Development of multiple_sound_fpeaks function