Dude who asked on range... loud mp3s. In short your answer is "No".
But for everyone, generally...
The police show up at your door, do you have to let them in?
No... officers will, 99% of the time, simply ask to come in and folks think they're under an obligation to oblige. Once inside anything the officers can "sense" is fair game... see, hear & smell.
You absolutely have the right to deny them access to your home. This wont keep them from trying to literally talk you into inviting them in, "we're coming in one way or another", "we'll get a warrant" and "if you have nothing to hide..." were my favorites.
Don't let the color of authority intimidate you, the answer is "no" if that's what you want.
Also, per Cal law, anyway, once you step outside your door...you're in public, meaning if you step out intoxicated, you can be arrested.
Now.. I say this in general, if you just kicked your wifes' bellybutton and think telling the gendarme to wank-off at the door will save you, think again. All you're going to do is delay the inevitable and pissoff everyone including the judge. Why?, because that's a felony and the officers *can* force entry based on their opinion exigent circumstances exist... or get an emergency warrant.
After your arrest you can argue the finer points of law challenging the officers opinion or how valid the warrant is, meanwhile you're with infamous 'Bubba'.
I hope that answers your question... which I didn't really hear.