Detecting musical influences and genres