In Europe , when females were not permitted to sing in church or cathedral choirs in the Roman Catholic Church , boys were sometimes castrated to prevent their voices breaking at puberty and to develop a special high voice . In Europe , when women were not permitted to sing in church or cathedral choirs in the Roman Catholic Church , boys might be castrated to prevent their voices breaking at puberty and to develop a special high voice .