This document presents a method for controlling the affective content of pre-composed music using a symbolic approach. The method involves building a knowledge base through experiments with musical pieces and listener ratings on the dimensions of valence (happiness) and arousal (activation). The knowledge base contains weighted mappings between musical features and affective dimensions determined through feature selection algorithms and linear regression. This allows a system to transform music by modifying features to produce music expressing an intended emotion. An example demonstrates increasing the tempo and adding an instrument to a piece of music to change its affective ratings on the dimensions.