There are a wide variety of factors that influence the overall taste of coffee. While individual tastes vary amongst coffee drinkers, there are a number of things to consider so brewed coffee always tastes the way you like it.
Grinding coffee beans fresh everytime produces the best flavours with a Manual or Automatic Coffee Machine. Coffee beans start losing their flavour a few weeks after roasting as they degas and oxidise so fresh is definitely best. Look at roast dates instead of expiration dates and make sure beans are stored properly in a suitable vacuum container or coffee canister.
The type of coffee bought also plays a part. Arabica coffee beans generally have a smoother, sweeter taste whilst robusta beans will have stronger, more bitter tastes. Roasting times, reigons and many more factors come into play here, so grab a bag from a great café and play around. Remember grind size is very important for coffee extraction, as under extracted coffee from potentially too thick grinds will produce weak or sour flavours, and over extracted coffee is more bitter. Matching the right size coffee grounds to the brewing method is key with a fine grind best for espresso.
It all starts with the coffee however the right Coffee Machine makes all the difference to the coffee experience.