My question is not completely programming-related, but nevertheless I think SO is the right place to ask.
In my program I generate some audio data and save the track
dirty mix of two samples
mix = (a + b) - a * b * sign(a + b)