摘要 |
<P>PROBLEM TO BE SOLVED: To provide a method and device for controlling a musical interval, which enable a clock to be used as the timing reference for data write and data read to a ring buffer. <P>SOLUTION: With respect to every data group consisting of a prescribed number of consecutive data of input digitized audio signal data, the number of data is reduced by a prescribed number at the time of rise of a musical interval, and interpolation is performed to increase the number of data by a prescribed number at the time of fall of the musical interval, and data of the data group after interpolation is written in a designated write storage position of the ring buffer with a period equal to the sampling interval of the audio signal data, and data is read out from a designated read storage position of the ring buffer with the same period. At the time of rise of the musical interval, the current write storage position is returned to the preceding write storage position by a prescribed frequency and is designated with respect to each data group, and data in the preceding write storage position is maintained. At the time of fall of the musical interval, the current write storage position is advanced to the next write storage position by a prescribed frequency and is designated with respect to every data group, and data is written in the next write storage position. <P>COPYRIGHT: (C)2003,JPO |