Now he’s facing the music.

Former “American Idol” star Caleb Flynn wiped sweat from his brow as a cringey love song he wrote for his mistress played at his murder trial Wednesday — as onlookers stifled back laughter, footage shows.

Flynn, 40 — who’s accused of murdering his 37-year-old wife, Ashley Flynn, at their Ohio home in February — wrote two painfully corny tune for his mistress Alleigha Botner, 24, according to prosecutors, which played the songs out loud during the trial.

“If somewhere you feel this, if somewhere you’re whole, know that you still own every piece of my soul,” song, which was produced by AI, blared.

“So here’s to the…

Read the full article at NYPOST.COM