Music when the carnival takes place (7)
I believe the answer is:
ragtime
'music' is the definition.
(I know that ragtime is a type of popular music)
I can't explain the remainder of the clue.
Can you help me to learn more?
(Other definitions for ragtime that I've seen before include "musical style" , "Maigret (anag)" , "Jazz music for Maigret" , "Style of jazz popularised by Scott Joplin et al" , "Syncopated music genre" .)