
Hi,
Thanks for that reference! Tons of good ideas there..
I never even thought of checking the online forum since I much prefer
the mailing list and always forget there is another place where people
discuss chuck.. :)
Good to know, for example, that you can chuck into a SinOsc, I didn't
even know that. Time to read the documentation and examples all over
again.
eduard: thanks, I should have specified that I didn't want to do this
in a single-sample loop. (usually a bad idea if you're worried about
CPU usage..)
ps. also i didn't know there was a ".op" parameter for Gain. It seems
to not be on the reference page:
http://chuck.cs.princeton.edu/doc/program/ugen_full.html#gain
cheers,
steve
On Dec 15, 2007 10:36 AM, Leuthold Dominik
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
_______________________________________________ chuck-users mailing list chuck-users@lists.cs.princeton.edu https://lists.cs.princeton.edu/mailman/listinfo/chuck-users