But it HAS to be from a video game, cartoon or anime. Honestly, l like Ravel Nightstar : The Drums and Bass of Flower Bless That or any Pokémon music.
Despite having a lot of cliches towards the end, Kabaneri of the Iron Fortress has a pretty nice ending song. Also, all the songs from Your Lie in April are beautiful
Any of the music from Super Meat Boy, The Binding of Isaac or The End is Nigh. Ridiculon makes some good pieces, especially with how well they fit the levels of the games.
From any anime....hm....Yeah! Have you ever seen the anime The World God Only Knows? Its opening song is brilliant! I like it very much and also its rhyming so I enjoy singing it.
I've been playing "A Hat In Time" recently, and the music they have for certain scenes is amazing, especially with some of the remixes they have in the game too. The Train Rush remix is so good~
BONETROSLE! NYEHEHEH! Oh, also a lot of Phineas and Ferb and some Steven Universe. Because you said cartoons are allowed.
For me, the phrase "favourite music" and "favourite music from a video game" are equivalent terms, so answering this question isn't that difficult for me: The only tracks that would offer this any real competition to the above would be from the Etrian Odyssey series, and those are dispersed liberally throughout the series that it's too hard for me to just pick one I like over the others.