SACHA BARON COHEN, meet Irving Berlin.

Jokes that compare Jews to cockroaches have left some viewers of Mr. Cohen’s farcical new film, “Borat: Cultural Learnings of America for Make Benefit Glorious Nation of Kazakhstan,” shifting uncomfortably in their seats.

But probably few of those shocked by the movie realize that long before Mr. Cohen shed his Ali G persona for Borat’s ill-fitting suit — in fact, long before the 1929 stock market crash — Berlin, the songwriter behind “White Christmas” and “God Bless America,” was reeling off satirical songs about Jews that might seem dodgy on the “Borat” soundtrack. One such Berlin number, “Cohen Owes Me Ninety-Seven Dollars,” from 1916, concerns a businessman on his deathbed who cannot stop fretting over his unrepaid i.o.u.’s.

This song and others by long-dead Tin Pan Alley songwriters are featured on a new compact disc, “Jewface,” which is aimed not at the History Channel crowd, but at a hipper audience. The album, to be released Nov. 14, contains 16 songs salvaged from wax cylinder recordings and scratchy 78s, from a century-old genre that is essentially Jewish minstrelsy. Often known as Jewish dialect music, it was performed in vaudeville houses by singers in hooked putty noses, oversize derbies and tattered overcoats. Highly popular, if controversial, in its day, it has been largely lost to history — perhaps justifiably.

“It’s like Hitler’s playlist, but it’s not, because it was actually Fanny Brice’s playlist,” said Jody Rosen, 37, a music critic for the online magazine Slate, who has spent more than a decade researching the genre. (Brice was the Ziegfeld-era singer and comedian played by Barbra Streisand in “Funny Girl.”) “It’s a more complicated and nuanced vision of Jewish history than what you absorb at Hebrew school.”