Can artificial intelligence beat musicians at their craft?

#artificialintelligence 

Should musicians, whose job relies on the unpredictable and mysterious workings of human imagination, heed the warnings about artificial intelligence driving humans into unemployment? Apparently, the answer to that question is bit complicated. Artificial intelligence is gradually transforming into a general-purpose technology that permeates virtually every aspect of human life and society. Just like electricity (another general-purpose technology) which had an impact on music and musical instruments, AI algorithms will inevitably change the way we create and perform music. While this does not mean an end to the era of human musicians, it is fair to say that some dramatic changes are lying ahead.