摘要 |
PURPOSE:To correctly provide a generation start time and a duration time, etc., by using a free time in a transmission path, beforehand transmitting the performance data, storing them in a receiving side and performing event processes such as the generation and the mute of a musical sound at a prescribed time. CONSTITUTION:Initialization routines of a CPU 1, an SPU 2, an FIFO are executed, and the event data by one event are taken out from an event queue to be stored in an event register. The first half four bytes are the value data of the event, and the second half four bytes are the time data. A zero is returned when the event queue is empty, and a value excepting 0 is returned when no empty. Then, a decision whether or not the event exists is performed, and the event is decided when the returned value is the value excepting 0, and the second half four bytes of an event buffer are made a Y. Then, the present point of time timer value is made an X, and the operation of Z=X-Y is performed from the X, Y, and the decision with an event process time T is performed, and when Z=T, Z>T, the process of the prescribed event is executed. |