[PD] tanh() or a compressor?

IOhannes m zmoelnig zmoelnig at iem.at
Wed Oct 2 09:37:30 CEST 2013


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On 2013-10-01 16:30, Mario Mey wrote:
> How does Pd or the soundcard outputs the signal > 1? Does it
> compress it?

depends on the actual backend and how you are using it.
e.g. some backends only support values that cannot possibly exceed
+-1; in these cases, the signal will be hard clipped!
with some other backends (that support floating point values natively)
you might get away with a compressed/limited signal.

if you don't know, it's best to assume that anything exceeding +-1
will be clipped.
even if you do know, it's better to assume that they will be clipped.

> 
> I started this thread because I saw the high peaks in an array...
> but I never listened the sound distorted.

with very transient sounds (like clicks and pops) you might not hear
the distortion, as these values are very broadband anyhow.

btw, make sure that your signal is not already distorted on the
soundcard input. you cannot undo that...

fgamsdr
IOhannes

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.14 (GNU/Linux)
Comment: Using GnuPG with Icedove - http://www.enigmail.net/

iQIcBAEBCAAGBQJSS80zAAoJELZQGcR/ejb4w7oP/imJTt1s3zNaZv3npavA0YJT
oL0cne6eS6bQ726jE133aRik0z2AZ3jWeiDC565kRoQcrf5Gml8qRvu5HnyR0J13
8H1FImL6rnsBTlusfy63tcj5GO450/nW5MY4xryCIep0K/EMufdudwNUVa9iu3Ar
G74ifuN/eikpRZd8wBBB9ohAvqGU6qolLYqWq+acDBpAy0Z9rn+9NJMDsfrWNGDh
dV552L9S6pnieocZbTcsKmLpxnc/VeCbNIUUCQsksEuY5XKkbenj0u7o8zzfEsF2
IbGiMP16q3OzDJdVzABu13w9Vd890jLMVeGQZe9f4OuMz07VebHRNht97vOC1obw
f3DDGAbABd0XqJPl0yaMhTMF+L/ndXcHIthF5LHN65OqzDJlge+Mj2e1ZrXj6VGg
6KK+6SjoWRGNAMMeauTsQyjG/cu9UfYJ1gjgSk38trqKzAZupwi9J+ysnvUjOzfh
ib7TNGeJCm34GLNwZs6lta+53cMkLApADfQkR7+CFJrS9f+x1RMcoIizl4gnMcgu
TPAeuhWwbjebo/O3dwtokb2CxeMsa3vDmM3zT78khtYmmh5/ZJAMI3+Re+5FcvkQ
tVgIfexS7ghmISZOlPRfpCp+TGnES8xMmXzsql0Q+tKGWWt1sxZ3/P6di4zP4oiF
9BQxOCAGJ+wUk/S+TIRT
=jR3Z
-----END PGP SIGNATURE-----



More information about the Pd-list mailing list