[LAU] Clipping as a 64-bit issue?

Ken Restivo ken at restivo.org
Sat May 26 15:25:48 EDT 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I've noticed the same strange behaviour in two completely different peices of software/hardware, and have to wonder if it's a integer-size issue.

First of all, the AZR3 LV2 softsynth clips on my 64-bit machine. Really bad. Lars looked at it, and gave me the action item to go digging through the source and test the sound at various points in the processing chain, to try to isolate it further. Which I am still going to do.

Then, I noticed the exact same problem with the *inputs* on my M-Audio Audiophile USB interface (it is big-endian). This is a new problem too, and I don't know what could have changed to cause it. The noise floor on the line inputs went way up into the -30db range, and even the lowest, faintest mic-level input will cause it to clip! There is no ALSA mixer interface on this unit so I don't know of any way to lower the levels. But seems very similar to the problem with AZR3 on the same 64-bit machine.

Integer overflow? Byte order? In other words, are lower-order bytes getting swapped around with higher-order bytes, and thus sending the signal level through the roof? 

Coincidence or superstition?

Anyone else had these kinds of problems?

- -ken
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFGWIm8e8HF+6xeOIcRAhNcAKCcIBwXTebyclAd6Cd77nfhatjoLACdEevb
egN20braEXLBxNuwGbNNHoU=
=Lqh3
-----END PGP SIGNATURE-----



More information about the Linux-audio-user mailing list