Forum Discussion
Altera_Forum
Honored Contributor
9 years agoI can now generate a simple sine wave signal by a lookup table and send it to the line out now. I can hear very clear sound from the earphone. Thus I think the problem is not in the output. How should I send the sine signal to the input?
Here is the code to test the output.
for(n = 0; n<256; n++){
alt_up_audio_write_fifo (audio_dev, &(sine), 16, ALT_UP_AUDIO_LEFT);
}