摘要 |
PURPOSE:To generate musical sounds according with functions of an electronic musical instrument and the degree of complication of processing by generating musical sounds in response to the interrupt signal generated with the sampling period from a timer interrupt control circuit and varying the sampling period. CONSTITUTION:A microcomputer performs interrupt handling to generate musical sounds at each time of generation of the interrupt signal from an interrupt control part 40 having a timer, a thereby keeping the musical sound sampling period during the operation. The generation interval of the interrupt signal generated by the control part 40, namely, the sampling period of musical sounds is variably programmed by the microcomputer 1. Thus, musical sounds are generated with the musical sound sampling period according with functions of the electronic musical instrument, the number of polyphonics, the manner of musical sound synthesis, and the degree of complication of processing. |