The literal performance of the symbols contained in a traditional score is not enough to produce expressive music. Human interpreters use musical knowledge that is not explicitly represented in it. This paper presents a knowledge-based approach to introduce expressiveness to the performance of a score by calculating dynamics and tempo envelopes of the piece, combining implicit musical knowledge with the explicit one contained in the score. Keywords. Knowledge-based systems, ontologies, applications.