After the release of The Jazz Singer in 1927, all bets were off for live musicians who played in movie theaters. Thanks to synchronized sound, the use of live musicians was unnecessary — and perhaps a larger sin, old-fashioned.
https://www.smithsonianmag.com/history/musicians-wage-war-against-evil-robots-92702721/