How Perception Guides Production in Birdsong Learning