0
$\begingroup$

As i am using open Al library for generating a tune. I was able to generate a tone for single frequency.

When I was trying to generate tone for multiple frequncies, it suffered from the problem of clipping and noise. So please sugest me how to rectify the problem.

$\endgroup$
1
  • $\begingroup$ If you have two tones both with amplitude of 1 (for now the limit) the sum of those two tones will be above the limit of the signal. in tha t case you get clipping for free. So check if the sum of all your tones is not above the limit!! $\endgroup$
    – Jan-Bert
    Dec 29 '15 at 12:09
1
$\begingroup$

Your sampling frequency should be at least two times higher than the highest frequency in your signal. (Read about Nyquist frequency). This has nothing to do with clipping. I can imagine that your clipping occurs because you are adding multiple signals without scaling (normalizing) the amplitudes.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.