Method for generating playback sound, electronic device, and entertainment system for generating playback sound
First Claim
1. 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 whereinthe 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.
6 Assignments
0 Petitions
Accused Products
Abstract
A method and electronic device for obtaining clear playback sound that is faithful to the original sound, in which data and audio data are played back under control of a CPU, and in accordance with the played-back audio data, a timer, which generates a CPU interrupt signal, is controlled and said interrupt signal is dynamically altered. The sound data obtained in accordance with the CPU interrupt signal is emitted to a speaker, thereby causing the timing of the second data and the timing of the CPU interrupt signal to agree with each other, thus reducing the burden on the CPU, and generating a clear playback sound from the speaker.
15 Citations
17 Claims
-
1. 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.
-
-
2. A method of generating a clear playback sound in an electronic device including a CPU and a speaker, the method comprising the steps of:
-
dynamically altering a period of a CPU interrupt signal in accordance with a period T of the sound data that is read from a CPU memory; and emitting to the speaker 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 the period of said CPU interrupt signal is dynamically altered to T/n (where n=2, 3, . . . ) with respect to 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.
-
-
3. 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 period of a CPU interrupt signal in accordance with a period of the sound data that is read from a CPU memory; and emitting to the speaker 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 in said altering step the period of the CPU interrupt signal is dynamically altered in correspondence with a period T of said sound data, the period of the CPU interrupt signal is dynamically altered, and the period of said CPU interrupt signal is dynamically altered to T/n where n=2, 3, . . . , 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.
-
-
4. 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 period of a CPU interrupt signal in accordance with a period of the sound data that is read from a CPU memory; and emitting to the speaker 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 in said altering step the period of the CPU interrupt signal is dynamically altered in correspondence with period T of said sound data, and the period T of said CPU interrupt signal is dynamically altered to T/2, 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/2.
-
-
5. A method for generating a clear playback sound, in an electronic device including a CPU, a timer unit and a speaker, the method comprising the steps of:
-
reading image data and audio data under CPU control; controlling said timer unit that generates a CPU interrupt signal in accordance with said read audio data to dynamically alter said CPU interrupt signal; and emitting to the speaker said sound data obtained in accordance with said CPU interrupt signal, wherein the timing between said sound data and the timing of said CPU interrupt signal are made to agree, the burden on the CPU is reduced, and a playback sound is generated from the speaker; wherein the period of the CPU interrupt signal is dynamically altered in correspondence with a period T of said sound data and the period t of said CPU interrupt signal is dynamically altered to T/n where n=2, 3, . . . , 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.
-
-
6. An electronic device comprising:
-
a timer unit that generates a CPU interrupt signal; a CPU that specifies sound data by the timing of said CPU interrupt signal; a D/A converter that changes said sound data to an analog signal; and a speaker that emits sound that corresponds to said analog signal; said CPU controlling said timer unit in accordance with a period T of said second data, dynamically altering a period of said CPU interrupt signal, causing a switching timing of said sound data and the period of said CPU interrupt signal to agree, and generating a clear playback sound; wherein the period of said CPU interrupt signal is dynamically altered to T/n (where n=2, 3, . . . ) with respect to 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.
-
-
7. An electronic device comprising:
-
a timer unit that generates a CPU interrupt signal; a CPU that specifies sound data by the timing of said interrupt signal; a D/A converter that changes said sound data to an analog signal; and a speaker that emits sound that corresponds to said analog signal; said CPU controlling said timer means in accordance with a period of said second data, dynamically altering a period of said CPU interrupt signal, causing a switching timing of said sound data and the period of said CPU interrupt signal to agree, and generating a clear playback sound; wherein the period of said CPU interrupt signal is dynamically altered to T/n (where n=2, 3, . . . ) with respect to 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. - View Dependent Claims (8)
-
-
9. An electronic device comprising:
-
a clock unit; a CPU; a down-counter; a timer unit connected to said clock unit and generates an interrupt signal using said down-counter; an interrupt controller connected to said timer unit; said CPU being connected to said interrupt controller; a bus controller connected to said CPU; a D/A converter connected to said bus controller; an amplification unit connected to said D/A converter; a speaker connected to said amplification unit; and an electronic means causing said CPU to control said down-counter based on the period of the sound data, generate said interrupt signal, determine the sound data based on said interrupt signal, emit the sound data via said bus controller and said amplification unit to said speaker, and generate a clear playback sound, wherein said CPU dynamically alters the period T of said interrupt signal to T/n where n=2, 3, . . . ) when the period of said sound data is T; and
whereinthe 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 by said CPU. - View Dependent Claims (10, 11)
-
-
12. An entertainment system comprising a portable electronic device which is a child machine that is detachably mounted to a parent machine, and an interface for making an electrical connection to said parent machine, said portable electronic device comprising:
-
a CPU; a timer that generates a CPU interrupt signal; said CPU specifying a sound data by the timing of said CPU interrupt signal; a D/A converter that converts said sound data to an analog signal; and a speaker that emits sound corresponding to said analog signal; wherein the period of said CPU interrupt signal is dynamically altered to a 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.
-
-
13. An entertainment system comprising a portable electronic device which is a child machine that is detachably mounted to a parent machine, and an interface for making an electrical connection to said parent machine, said portable electronic device comprising:
-
a CPU; a timer that generates a CPU interrupt signal; said CPU specifying a sound data by the timing of said CPU interrupt signal; a D/A converter that converts said sound data to an analog signal; and a speaker that emits sound corresponding to said analog signal; wherein a period of said CPU interrupt signal is dynamically altered to T/n (where T is a period of the sound data and n=2, 3, . . . ), 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.
-
-
14. 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, that has been generated by a timer using a down-counter, 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 said sound data has a period and wherein said CPU controls said down-counter based on the period of said sound data; 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
whereinthe 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.
-
-
15. A method for generating clear playback sound in an electronic device including a CPU and a speaker, the method comprising the steps of:
-
dynamically altering a period of a CPU interrupt signal, that has been generated by a timer using a down-counter, in accordance with a period T of the sound data that is read from a CPU memory; and emitting to the speaker 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 said CPU controls said down-counter based on the period T of said sound data; wherein the period of said CPU interrupt signal is dynamically altered to a T/n (where n=2, 3, . . . ) with respect to 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.
-
-
16. An electronic device comprising:
-
a timer unit that generates a CPU interrupt signal using a down-counter; a CPU that specifies sound data by the timing of said CPU interrupt signal; a D/A converter that changes said sound data to an analog signal; and a speaker that emits sound that corresponds to said analog signal; said CPU controlling said down-counter in accordance with a period T of said second data, dynamically altering a period of said CPU interrupt signal, causing a switching timing of said sound data and the period of said CPU interrupt signal to agree, and generating 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.
-
-
17. An entertainment system comprising a portable electronic device which is a child machine that is detachably mounted to a parent machine, and an interface for making an electrical connection to said parent machine,
said portable electronic device comprising: -
a CPU; a timer that generates a CPU interrupt signal using a down-counter; said CPU specifying a sound data by the timing of said CPU interrupt signal; a D/A converter that converts said sound data to an analog signal; and a speaker that emits sound corresponding to said analog signal; wherein the CPU controls said down-counter based on a period of said sound data, and dynamically alters a period of said CPU interrupt signal, causing a switching timing of said sound data and the period of said CPU interrupt signal to agree, and generates a clear playback sound, wherein the period of said CPU interrupt signal is dynamically altered by said CPU to T/n (where n=2, 3, . . . ) with respect to 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.
-
Specification