摘要 |
PROBLEM TO BE SOLVED: To avoid the situation in which musical sound data are unintentionally saturated by detecting the level of waveform data that are cycling in a loop means and issuing an attenuation instruction for the input gain of a first attenuator for an input gain adjustment means when the detection result exceeds a threshold value. SOLUTION: A level detector 109 detects the amplitude level of the waveform data being cycled in a loop circuit 108. A gain adjusting circuit 110 adjusts the amount of attenuation, which attenuates an input gain Ign and a loop gain Lgn to be multiplied, in a multiplier 102 that is a first attenuator and a multiplier 105 that is a second attenuator based on the detection result of the detector 109. In other words, the detector 109 detects the amplitude level of the waveform data which cycle in the circuit 108 and when the detection result exceeds the threshold value, a decrement instructing flag is transmitted to the circuit 110 and the circuit 110 attenuates the gains Ign or Lgn. |