A music player has sequencers each including a reading and restoring
function unit for reading music information including header information,
a delta time, and a message and restoring running status of the message;
a message analyzing and processing function unit for analyzing the header
information, consuming a period of time according to the delta time, and
processing the message to generate sound source drive information; a
writing function unit for writing the sound source drive information into
an output memory; and a sequencer controlling function unit for
controlling the reading and restoring function unit to read and restore
the music information, controlling the message analyzing and processing
function unit to analyze the header information, and controlling the
message analyzing and processing function unit and the writing function
unit to consume the period of time, generate the sound source drive
information, and write the sound source drive information.