Patent ID: 7406355

Claim:
A method for generating a clear playback sound in an electronic device including a CPU and a speaker, the method comprising the steps of: dynamically altering a CPU interrupt signal in accordance with a sound data that is read from a CPU memory; and emitting to a speaker of the electronic device said sound data obtained in connection with said CPU interrupt signal, wherein the timing between said sound data and the timing of said CPU interrupt signal are made to agree with each other to provide a clear playback sound; wherein a period of said CPU interrupt signal is dynamically altered to T/n (where n=2, 3, . . . ) with respect to a period T of said sound data, and wherein the timing of interrupt corresponds to a rise or fall of a sound waveform of said sound data and discrepancy between the timing of said period of said CPU interrupt signal and the timing of the rise and fall of the sound waveform is substantially eliminated by said dynamically altering said period of said CPU interrupt signal to T/n.