Forum Discussion
Altera_Forum
Honored Contributor
15 years agoAudio Processing DE2 possible?
Hello there everyone! I'm new to this forum and i hope that i can get along with everyone!:) Currently, i'm doing my project using independent component analysis(ICA) to separate 2 audio source...
Altera_Forum
Honored Contributor
15 years agoThe CPU uses a 32-bit ALU, so you won't suffer any penalty by doing all your calculations in 32 bits. In fact if you store all your samples as 16-bit integers, you could loose a few clock cycles due to the bit shifting that the CPU needs to do. On the other hand, 32-bit samples use obviously twice the memory, so it could be a problem if you need to store a lot of samples and are a bit short on memory.
I think the easiest way to do it is to use 32-bit samples. Your hardware part can present directly 32-bit values to the CUP by padding the incoming sample with zeroes.