(DAILY MAIL) -- Lullabies have been helping people drift off to sleep since 2,000 BC - and now, more than 4,000 years later, an AI machine has made its own relaxing tune.
Scientists have produced two tunes - one by Scottish composer Eddie McGuire and the other created by neural networks, in an attempt to see which one is better.
The AI-created lullaby was trained using sheet music in a computer-readable format, from which it developed a sense of harmony and rhythm, and it claims to be able to help cure insomnia.
Advertisement - story continues below