摘要 |
PURPOSE:To generate envelope waveform data exactly as a user images by performing arithmetic for generating the envelope waveform data after shifting a target value temporarily. CONSTITUTION:The arithmetic which shifts the target value until the smallest target value becomes 0 and generates the envelope waveform data according to the shifted target value is carried out. Then the generated envelope waveform data is shifted by the same quantity in the opposite direction to compensate the shift in the target value. In this case, there are initial level data IL, attack level data Al, 1st decay level data 1DL, and 2nd decay level data 2DL as parameter data for setting levels. Namely, the target values IL, AL, 1DL, and 2DL are shifted temporarily up to a maximum and then the envelope waveform data are generated. Consequently, specially when an envelope is varied curvedly, the envelope is generated exactly as the user images. |