We are about to switch to a new forum software. Until then we have removed the registration on this forum.
I am playing more than one sample at at time with the code I developed at the end of this thread. https://forum.processing.org/two/discussion/comment/94886#Comment_94886 However, when I play four samples at the same time there is clipping on the audio signal, clearly heard, and seen on an oscilloscope. The Gain function just controls the overall volume of the output. Is their any way to stop this or scale the input samples in Processing. Or do I just have to ensure that my input samples do not exceed a quarter of the maximum range? Thanks