This allows us to be sure that the song, as such, is not inherited, but there is inherited a strong learning bias, which makes sense. In order to live and reproduce successfully, it pays for a male to attract a female of the same species, and defend its territory against other males of its species. The right song does both these jobs.