Legally it's different everywhere, here for instance you can play music all you like until like 11:30pm (I think it's later on weekends) and after that the police would do something about it. To be honest though, regardless of whether they have legal grounds to complain or not it's probably not best to piss off your neighbours. I had a party at my unit the day after I moved in and ever since then my next door neighbour has made it her mission in life to try to get me evicted, despite the fact I've never done it again. She couldn't complain at the time either because it went all day and we just turned the music off after 11.
So even if you don't get into trouble officially (from your landlord or whoever) that won't stop your neighbours putting you under a magnifying glass and reporting you every time you do something remotely wrong, no matter how minor.