As with Pavlov's dog and the ringing bell, your pets have learned to associate country music with good things.
(your pets; have learned; to associate country music with good things)
your pets
have learned
to associate country music with good things