The present application relates to the technical field of mixing sound, in particular to a kind of automatic mixing method, mixer, storage medium and
electronic equipment, comprising the following steps: step S1, obtain the i-th sample value;Step S2, obtain input value;Step S3, compare input value and storage value, judge the size of input value and storage value;Step S4, obtain the first output value, and replace storage value with the first output value;Step S5, obtain the second output value, and replace storage value with the second output value;Step S6, the first output value or the second output value is output to external
sound box to make external
sound box output sound, control acquisition module to collect the i+1-th sample value of next moment;Square is carried out directly to
single sample value and is output, reduce the loss to memory, repeatedly call output value in the process of running, make it as storage value in the calculation of next sample value, recursive process is realized, and
noise interference is eliminated by controlling the activation and release of sample value.