Hi everyone,

I have tested the two different sine tones in sigma studio.One is the sine tone in "source" category with few MIPS being used.And the other sine tone is from test signal generator in "SHARC Audio Toolbox" category,which results in even 8 MIPS used.Refering to the source code of the sine tone in "SHARC Audio Toolbox",I see it just straightly generate the sine tone with the sine function in "math.h".

So I wonder if there is any other way to generate the sine tone with less MIPS used,as the sine tone in the "source" category?As you know we may also use cosine tone most of the time,and I just want to generate an efficient cosine tone according to the learning the sin tone.

I also used sine tone in source combining up with delay modul to generate cosine tone,even though,as you know it may be so bothering to calcucating the delay samples for the different frequence of sine tone.

Best Regards,

Liang.

Hi Liang,

Please find answers to your queries

1) Yes, it is expected. The two modules are implemented differently. The internal module is implemented using optimized ASM instructions whereas the second implementation is using standard library functions.

2) As mentioned above, it uses functions from standard library functions, which is expensive.

3) Yes. You will have to implement it using Algorithm Designer based on a tone generation algorithm/equation. The iterative equations mentioned in one of my earlier posts is one of the possible options.

Best Regards,

John