Actually, dogs have some rather intriguing musical tastes. They seem to respond differently to different tunes and have distinct music preferences. Dogs frequently associate music with certain occasions, just like they do with other noises. It’s how they create memories. Dogs want to be ready for everything that comes next, and sounds help them forecast what will happen next.
Dogs can detect sound, however they might not be as sensitive to the notes on a scale because of their hearing range. Dogs may not be as aware of the small changes between 440 Hz and 490 Hz (the middle keys of a keyboard) as humans are because they are able to detect a far wider range of frequencies. However, because of our much smaller frequency range, humans are able to perceive these minute variations and hear the melody being played.