Bobby is absolutely correct. Most players don’t have a problem with music as long as the volume is low, but if one of your foursome objects, then you should turn it off.
As far a drinking beer, you won’t be alone, so have a few & have some fun.
About three or four years ago, I played with two guys from New York in the final round and they were both in last place or near it and they got blasted. It was fun to watch and listen, but neither broke 100 that day.