Forum Discussion
1 Reply
- Altera_Forum
Honored Contributor
Actually, if you want to generate sin() or cos() the Goertzel generator is better - provided you can do a multply per sample.
Hello I am new to this forum and I hope this is the right place to ask this question.
I need help on how to create a lookup table in C. I need to use the lookup table to simulate the sound of a note from a piano. The lookup table has to be programmed in C. This question is based on lab 8 from altera part 3(I can't post links yet so I attached the file). So far I generated a sin wave using the given equation in the lab8 guidelines. However, I do not know what else to do from there.Actually, if you want to generate sin() or cos() the Goertzel generator is better - provided you can do a multply per sample.