ΣSigmaStudio Ask AI Русский Log in

Does SigmaDSP support  both cosine and sine source?

SigmaDSP & SigmaStudio shen Dec 10, 2010 00:00 3 replies Original on forum ↗
Subscribe
shen Question
Dec 10, 2010 00:00

Hi,

I'd like to create a "frequency shifter function" based on SigmaDSP platform.

And the algorithm diagram is shown below.

Here the Hilbert filter is a 256 FIR filter and cosine and sine signal source is about 2~10 Hz.

The system sample frequency is 48kHz.

So I need both sine and cosine signal source while there is only tone source in Sigmastudio lib.

Although I can delay half a period of sine wave to generate cosine wave, which need too many RAM consuming.

So I'd like to know how can I get both cosine and sine signal source efficiently.

e3721d8c1e0ac9a9257d3527dfb4b9a2.jpg
e3721d8c1e0ac9a9257d3527dfb4b9a2.jpg
e3721d8c1e0ac9a9257d3527dfb4b9a2.jpg-450x247.jpg
e3721d8c1e0ac9a9257d3527dfb4b9a2.jpg-450x247.jpg
ADIApproved Reply
Dec 10, 2010 00:00

No, there is not a way to generate a cosine wave that is 90 degrees out of phase with the sine wave other than by delaying one vs the other.

ADIApproved Reply
Mar 30, 2011 00:00

Please look at this article for a method for generating a sine and cosine with the same frequency using multiply, add, and delay cells. I will try to implement this in SigmaStudio when I have free time.

http://www.earlevel.com/main/2003/03/02/the-digital-state-variable-filter/

EZAdministrator Reply
Aug 2, 2018 00:00

This question has been assumed as answered either offline via email or with a multi-part answer. This question has now been closed out. If you have an inquiry related to this topic please post a new question in the applicable product forum.

Thank you,
EZ Admin