摘要 |
PURPOSE:To generate an envelope without causing the reversing phenomenon of sounding times wherein a sounding time when a key is released before the completion of attenuation becomes longer than a sounding time when the key is not released before the completion of attenuation. CONSTITUTION:When key releasing operation is done, a channel to which musical sound information corresponding to the key releasing operation is assigned is searched for. Then a rate is calculated the rate of a current step at the time of the key releasing operation, a key-OFF rate, and the step-in quantity of a pedal, and written in a sound source circuit 12, and at this time, an equation R=RateXDamp+OffRateX (1-Damp) is used for the calculation of the rate R. Here, Damp is a coefficient (0-1) corresponding to the step-in quantity of the sustain pedal and '0' when the pedal is not stepped in and '1' when the pedal is stepped in up to Max. Further, Rate is a rate of each step of an envelope consisting of plural steps, and OffRate is a key-OFF rate stored by the steps. |