A man who played loud music with a “heavy bass” despite repeated calls to stop has been ordered to pay almost £3,000 by a court.