This starts before birth. When she first hears your voice while in the womb, her network of neurons and synapses dedicated to hearing faintly imprints (i.e., records) it. The more she hears you, the more synapses will form and the thicker they will become until your voice is firmly imprinted in her brain and memory. If she hears your favorite song repeatedly, she will respond to it once born.
Read More (link to full page)