amplitude wrap around

Anders Vinjar anders.vinjar@notam.uio.no
24 Nov 1997 16:17:59 +0100


  bil> I thought at one time of clipping at 1.0 (or 1.0-epsilon) rather
  bil> than just letting it wrap-around to -1.0...

Wouldnt it make more sense to allow
  
    (with-sound () (outa 0 -1.0) (outa 1 1.0))

to actually put out what you would normally mean by such an expression?
Which is :) most negative and most positive number supported by the
sound-file-format, and rescale in between according to these limits.

(I think csound clips when shuffling out +32768, and puts out a note
about it, which isnt much use)