One of the reasons that overlapping sounds tends to be unpleasant is that most 
sound drivers take amplitude input in the range [-1,1].  If you simply add two 
sounds that are each in this range, the resulting sound will occasionally have 
an amplitude outside the range.  The simple (and common) solution to this is to 
"clip" the amplitude to that range, which sounds really nasty.

Another solution is to average the old sound with the new sound, which doesn't 
cause clipping but makes overlapping two sounds a non-associative operation.

Stephen Bloch
sbl...@adelphi.edu
_________________________________________________
  For list-related administrative tasks:
  http://lists.racket-lang.org/listinfo/users

Reply via email to