Neural networks and pitch detection in random acoustic signals