[chuck-users] simple distortion/clipping

Daniel L Trueman (dtrueman@Princeton.EDU) dtrueman at Princeton.EDU
Sat Dec 15 12:33:33 EST 2007


that's because *all* ugens of the .op method. i can't remember where, but it is in the manual, and is super useful!

dan

> 
> 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 <moudi at gmx.net> wrote:
> > 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 at lists.cs.princeton.edu
> > > [mailto:chuck-users-bounces at 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 at lists.cs.princeton.edu
> > > https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
> >
> > _______________________________________________
> > chuck-users mailing list
> > chuck-users at lists.cs.princeton.edu
> > https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
> >
> _______________________________________________
> chuck-users mailing list
> chuck-users at lists.cs.princeton.edu
> https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
> 


More information about the chuck-users mailing list