The reproduction device comprises a decoding section, a threshold
calculating section, and a musical data output section. The threshold
calculating section calculates an average amplitude level in a
predetermined section of an end portion of first musical data generated
by the decoding section, and calculates a threshold for detecting a
silent portion of the end portion of the first musical data on the basis
of the calculated average amplitude level. The musical data output
section removes a silent portion between the first musical data and the
second musical data and reproduces them so that a position nearest to the
end position of the first musical data at an amplitude level which is the
threshold or more is a reproduction ending position and so that a
position near the leading position of the second musical data at an
amplitude level which is the threshold or more is a reproduction starting
position.