What information is stored in each of those complex number, what its real and imaginary part can tell me about frequency. Starting point as I think for this is to convert sound from time domain to frequency domain, but I don't really understand what kind of data I'm receiving from kiss_fftr function. Everything works just fine but I would like to do some filtering of audio between kiss_fftr and kiss_fftri. Samples = rint(fft_reconstructed.r/(size*2)) Īfter that I fill OpenAL buffers and play them. Kiss_fftri(ifft, fft_out, (kiss_fft_scalar*)fft_reconstructed) Kiss_fftr(fft, (kiss_fft_scalar*) fft_in, fft_out) Kiss_fftr_cfg ifft = kiss_fftr_alloc(size*2,isinverse,0,0) Kiss_fftr_cfg fft = kiss_fftr_alloc(size*2 ,0 ,0,0) I am doing with it something like this: int size = 160 * 2 //160 Sample rate of sound is 8000 samples per second. I'm receiving PCM data trough socket connection in packets containing 320 samples.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |