| Filtering won't work, because the signal is
already generated aliased. What you need to do
is to limit your fundamental. If your 4th harmonic
is the highest, then fun <= (sr/2)/4 .
Victor
>
> Hi xbz80,
>
> With a high CPS rate you're going to go over the nyquist
> frequency (half the sampling rate) and get
> foldover/aliasing, such that the frequencies above half
> the sampling rate get reconstructed as low frequencies.
>
> If you look up "Nyquist foldover" on your search engine of
> choice and should be able to find some deeper
> explanations.
>
> To avoid it, you might want to put in a low pass filter
> (i.e. butterlp) in your instrument as a safety measure to
> prevent frequencies above the nyquist from being
> generated.
>
> steven
>
>
> On 4/26/06, xbz80@cegetel.net wrote:
> > Hi,
> > I'm using Gen 10 to create sinusoidal waves with
> > partials and I have 2 questions:
> >
> > 1. How are these partials calculated ? (Is it the
> > natural harmonic series?)
> > 2. When I use a function like this
> > f1 0 4096 10 1 0 0 2
> > with a high cps rate, the 4th partial sounds below the
> first. Why? >
> > I hope these questions are not too obvious to be
> treated here. >
> > Thank you in advance.
> >
> > --
> > Send bugs reports to this list.
> > To unsubscribe, send email to
> csound-unsubscribe@lists.bath.ac.uk >
> --
> Send bugs reports to this list.
> To unsubscribe, send email to
> csound-unsubscribe@lists.bath.ac.uk |