An envelope generator comprises a counting circuit and counting control means capable of controlling a counting mode of the counting circuit, i.e., operation and non-operation of the counting circuit, counting speed, addition and subtraction etc., in accordance with an envelope shape to be obtained. There are various predetermined counting modes corresponding to different envelope shapes and the envelope generator includes selection means for causing the counting control means to select a desire...