The 35-year-old actor and "America's Got Talent" host recorded the song "Divorce Papers" as a way to vent about the frenzy surrounding his split from the 46-year-old singer.
Cannon released the song and a statement to Karen Civil on Thursday.
"My purpose for creating this ... was not to feed the tabloid chatter, or even to diffuse it," he asserted. "This was strictly a creative way for me to express my frustrations with the media, the naysayers, myself and ultimately the voices in my head."
"I've been sitting on the song for almost a week now because I was really torn on whether or not I should," the star admitted. "Ultimately I felt it was necessary to clear the air and set the record straight once and for all."
"My ex and I are in a great place and are diligently moving things along so we both can continue to be happy," he added. "I am happy for her and all her new endeavors, both personal ones and professional ones."
Cannon and Carey, who share 5-year-old twins Monroe and Moroccan, split in 2014 after six years of marriage.
Carey has since gotten engaged to businessman James Packer, but Cannon said in February he's still not ready to date.
"I haven't figured it out yet," he admitted to People magazine. "I just don't think I'm ready to date yet."
"It's funny because my next film that I'm writing is all about online dating so I'm learning all about it," the actor revealed. "It's so intriguing to me but I have yet to jump into that pool. But it's the new wave so I'm not against it."
Cannon last released the album "White People Party Music" in 2014. In addition to his new film, the actor writes for "Make It Pop," a Nickelodeon sitcom he co-created with Thomas W. Lynch.
Copyright 2016 United Press International, Inc. (UPI). Any reproduction, republication, redistribution and/or modification of any UPI content is expressly prohibited without UPI's prior written consent.