Apple Music replacing songs in playlists
I just signed up for Apple Music, which I'm beginning to regret. I have playlists for each of the albums that I have ripped in my Music library on my Mac at home, the vast majority in lossless uncompressed AIFF format, and many in hi-res. I now find that many of the songs in various playlists have been replaced with songs in the Cloud. I do not want this to happen when I'm at home. When I'm home, I want to listen to the songs that I have painstakingly ripped to be identical to the original. How can I stop this from happening, or do I just have to give up on Apple Music? Thanks.
Mac mini, macOS 12.1