The length of the generated .wav varies with the number of functions of different frequency I include in the channel, is there a way to fix that?