A method for generating and playing a musical file and a computer-readable
record medium with the musical file. The method records events performed
at the same time respectively by an event field, and also the event
fields correspond to a time field, such that a musical file can have less
file length. When reading a musical file on a computer-readable record
medium, both a time field with respect to the musical file and
corresponding event field or fields are read.