Questions tagged [c]

C is a high level (i.e. not assembler) programming language often used to program DSPs and other embedded microprocessors as well as being used for systems programming. Features of the language make it especially suitable for programming hardware and writing device drivers.

C is a high level (i.e. not assembler) programming language often used to program DSPs and other embedded microprocessors as well as being used for systems programming. Features of the language make it especially suitable for programming hardware and writing device drivers.

148 questions
11
votes
8 answers

How can I generate a sine wave with time varying frequency that is continuous, in C?

How can I generate a sine wave with time varying frequency that is continuous? How can I resolve the following problem? I want a continuous graph. I'm generating this simply like this: for(int i = 0; i < pcm_buffer_size - 1; i += 2) { float…
deltafft
  • 113
  • 1
  • 1
  • 7
1
vote
1 answer

DSP library compatible with QT?

I have checked this and this Question in this site very much similar to my question. But I want to know are they Qt compatible? I want to start learn developing DSP application in Qt framework so I want some library compatible with Qt so that it can…
Abdul Rehman
  • 169
  • 5
0
votes
0 answers

asoundlib: snd_pcm_writei() playing noise for half of buffer length

To start learning to use asoundlib.h, I am writing a simple program that plays a tone. I am filling an array of shorts, samples of length buffersize. with samples of a sine wave. When I pass samples to snd_pcm_writei() with its length, buffersize,…