Aliasing w/linseg
Date | 2017-02-22 17:02 |
From | Sam Smalley |
Subject | Aliasing w/linseg |
Hi Csounders, For some reason when I use linseg to create an amplitude envelope for, as an example, a sine wave, I hear some pretty nasty artifacts. I've turned 'dither' on in preferences, and played around with ksmps in the header... It's still pretty bad. Linseg (and it's variants), and to a much lesser degree expseg (and it's variants) are creating artifacts on basically all audible sounds when I use those opcodes to envelope amplitude. Even at quick ramp times the artifacts still show up. I will include a very simple .csd to demonstrate. Perhaps my header is wrong... although I use the default header template, so I'm wondering if this is a preferences issue and not an opcode issue. Thanks, Sam Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here |
Date | 2017-02-22 17:07 |
From | Rory Walsh |
Subject | Re: Aliasing w/linseg |
Change it to a-rate instead of k-rate. Always use a-rate if you want the best control resolution. On 22 February 2017 at 17:02, Sam Smalley <ssmalley@berklee.edu> wrote: Hi Csounders, |
Date | 2017-02-22 17:08 |
From | Samuel Smalley |
Subject | Re: Aliasing w/linseg |
Thanks! On Wed, Feb 22, 2017 at 12:07 PM, Rory Walsh <rorywalsh@ear.ie> wrote:
|