Patent ID: 7427709

Claim:
An apparatus for processing MIDI (musical instrument digital interface) comprising: a MIDI parser for parsing a MIDI file having a plurality of notes to extract the plurality of notes, corresponding volume levels, corresponding volume information comprising a plurality of volume sections, and corresponding note playback duration information from the MIDI file; a MIDI sequencer for sorting and outputting the parsed plurality of notes according to the note playback duration information; a wave table in which a plurality of sound source samples are recorded; a sample calculator for calculating at least one sample number in each volume section using the volume information; a volume controller for controlling a volume of sound source samples that correspond to the plurality of notes using the calculated at least one sample number; and a frequency converter for converting a frequency of the volume-controlled sound source samples to a frequency assigned to the each of the plurality of notes output from the MIDI sequencer and outputting the frequency-converted sound source samples to play a sound, wherein the sample calculator uses the volume information and a calculated summation of volumes for each volume section in order to calculate the at least one sample number.