
Hi steve there is a long thread with some examples on the forum. look here: http://electro-music.com/forum/viewtopic.php?t=19287 hope this help.. /moudi
-----Ursprüngliche Nachricht----- Von: chuck-users-bounces@lists.cs.princeton.edu [mailto:chuck-users-bounces@lists.cs.princeton.edu] Im Auftrag von Stephen Sinclair Gesendet: Samstag, 15. Dezember 2007 00:29 An: ChucK Users Mailing List Betreff: [chuck-users] simple distortion/clipping
Hi,
I've been trying to figure out how to do some simple distortion / clipping in Chuck. I'm not sure I fully understand the GenX objects. Is this the best way to do it?
Ideally I just want something that clips a waveform when it exceeds x or -x. Even better if the "corner" is somewhat rounded, but not necessary. I thought there might be a simple "Clip" UGen but it doesn't seem to exist.
By the way, on a similar topic, what happens exactly when the signal input in "dac" exceeds [-1,1]? It doesn't really sound like clipping to me, so is it integer wrapping? I find my audio output significantly degrades (i.e., sound pops, goes silent, or makes strange unpleasant noises) when I exceed this limit, so I always have to fight to keep it within the correct range.
Steve (currently working on my first chuck-related music performance!) _______________________________________________ chuck-users mailing list chuck-users@lists.cs.princeton.edu https://lists.cs.princeton.edu/mailman/listinfo/chuck-users