Note that when modRana gets a new voice message while there is already one playing, the new one is skipped. IMHO your patch only increases the distance - so maybe it just increases the distance for short segments to be larger than their length, so that their announcement is triggered at once when switching to the segment and then being skipped because the last announcement is still playing ?
some long on-highway segments have announcements too far ahead This is caused by Google setting the default turn distance too high (I have seen 2,5+ km, which is IMO too much even on a highway). In extreme cases the announcement might be even skipped due to overlapping with the last one. generally when on highway (long segments + high speed), more announcements at a varied distance would definitely be handy I have hacked in some rounding to the voice output (325 meters -> 320 meters) which made it definitely quicker to "get to the point" Some more advanced rounding might make it even quicker (300..330 = 300, 333..367 = 350, 351..400 = 400, etc.).