This document discusses a system for controlling the emotional content of pre-composed music to express an intended emotion. The system uses a knowledge base mapping music features like rhythm, melody, and instrumentation to emotional dimensions of valence and arousal. Music is selected and transformed based on these mappings. The system was evaluated and shown to be effective, correctly selecting music with correlations of 87.4% for valence and 84.8% for arousal, and transforming music with correlations of 67.8% for valence and 69.4% for arousal. The system allows customizing music to express different emotions through automated selection and transformation of pre-existing music.