The present invention relates to the preparation of a beverage by centrifugation of a capsule, by: Recognising the type of the capsule inserted in the centrifuging brewing device, and/or its ingredients; Selecting accordingly a recipe comprising at least two sets of target values for parameters of the centrifuging brewing device, each set being associated to a specific condition; Controlling the parameters of the centrifuging brewing device so as to reach the target values of the set associated to the specific condition that is currently met.