摘要 |
PROBLEM TO BE SOLVED: To provide a musical sound waveform generating method in which a CPU is used capable of preventing or reducing the operational delay of other software to be executed in parallel with a multitasking operation. SOLUTION: When a CPU calculates waveform values at every sampling clock to output them to a reproducing part, the CPU calculates waveforms equivalent to 128 samples (one block) and transmits waveform values valent to the one block in the timing of the clock BC to be generated every 128 samples. Moreover, at this time, when there is a margin in the capacity of the CPU, the CPU calculates the waveform values of the next and succeeding blocks to accumulate and store them in a sample buffer. When the CPU is busy in the multitasking operation, since the CPU may only outputs accumulated and stored waveform data to the reproducing part, the operational delay of other software to be executed in parallel is prevented. |