The present invention provides an
algorithm for rapidly playing a
musical instrument through
software which is concretely applied in the music
system development, belonging to the
multimedia creation technology field. The
algorithm revolves around 'nodes' (notes '0'-'7') in a
numbered musical notation and performs data block segment of the
numbered musical notation, and each data block has itself music features-pitches and length; a length calculation method is employed to obtain the
audio frequency resource s(n) through the relative length r(n, d) of the nodes, the valued-added length a (n, j) of the data block and the
basic mode basis of the whole music; the length calculation method is employed to obtain the play time y(n) corresponding to the
audio frequency through the
delay time spanning t(n, j) and the
unit delay time span time of the data block; the length and the
rhythm of the whole music is changed through correction of the basis and time values; the feature value of the data block corresponding to each 'node' is [s(n), y(n)]; and finally, a music
numbered musical notation is translated to a large data block set [[s(0), y(0)], [s(1), y(1)], ..., [s(0), y(n)]. The development time is saved, the operation efficiency is high, the operation is simple, and the practicability is high.