Hi,
I am getting into developing DSP algorithms in C#, and face the problem o
generating 'test' waveform.
I have been an extensive user of Matlab/Simulink, where you have access t
a
whole library of 'sources' with all the parameters one needs (frequency
sample rate, sine, triangular, even bitwidth...)
Although I 'know' how to code up a 'for-loop' with sin(wt), I know tha
there are a lot of pitfalls and corner cases that need to be considered
Any of you DSP guys know of a good, reliable 'waveform generator' librar
written in either C, C++ or C#?
I tried searches on the languages newsgroup but didn't find anythin
really reliable or complete. I guess this might be more a 'DSP' develope
need?
>Hi,
>I am getting into developing DSP algorithms in C#, and face the proble
of
>generating 'test' waveform.
>
>I have been an extensive user of Matlab/Simulink, where you have acces
to
>a
>whole library of 'sources' with all the parameters one needs (frequency,
>sample rate, sine, triangular, even bitwidth...)
>
>Although I 'know' how to code up a 'for-loop' with sin(wt), I know that
>there are a lot of pitfalls and corner cases that need to be considered.
>Any of you DSP guys know of a good, reliable 'waveform generator
library
>written in either C, C++ or C#?
>
>I tried searches on the languages newsgroup but didn't find anything
>really reliable or complete. I guess this might be more a 'DSP
developer
>need?
>
>Thanks,
>Dave
>
If you like the waveform generators in Matlab, and you want to generat
'test' waveforms, then you could use Matlab to create your waveforms an
save them to files. Then in your C, C+ or C# code you just need to ope
the file and read out the samples. I have used this method in the past t
generate DTMF (telephone) tones for testing.
On Jul 7, 9:28*am, "Shawn Stevenson" <s_steven...@shaw.ca> wrote:
> >Hi,
> >I am getting into developing DSP algorithms in C#, and face the problem
> of
> >generating 'test' waveform.
>
> >I have been an extensive user of Matlab/Simulink, where you have access
> to
> >a
> >whole library of 'sources' with all the parameters one needs (frequency,
> >sample rate, sine, triangular, even bitwidth...)
>
> >Although I 'know' how to code up a 'for-loop' with sin(wt), I know that
> >there are a lot of pitfalls and corner cases that need to be considered.
> >Any of you DSP guys know of a good, reliable 'waveform generator'
> library
> >written in either C, C++ or C#?
>
> >I tried searches on the languages newsgroup but didn't find anything
> >really reliable or complete. I guess this might be more a 'DSP'
> developer
> >need?
>
> >Thanks,
> >Dave
>
> If you like the waveform generators in Matlab, and you want to generate
> 'test' waveforms, then you could use Matlab to create your waveforms and
> save them to files. *Then in your C, C+ or C# code you just need to open
> the file and read out the samples. *I have used this method in the pastto
> generate DTMF (telephone) tones for testing.
>
> -Shawn
why break head for this c or c++,
there is c++ library for
signal processing and communication functions..that is IT++..please
find those at this link