The invention provides a software framework that allows real-time
computer-generated music to be used in interactive applications,
particularly video games, by "modularizing" music-producing and
music-modifying computer procedures into musically logical and
programmatically convenient structures, as well as providing a
communication mechanism between the application and the music-generating
system which will allow the music to reflect the appropriate mood given
the current application state.