Intel® FPGA University Program
University Program Material, Education Boards, and Laboratory Exercises
1174 Discussions

Audio IP Core: how to reproduce a sound

Altera_Forum
Honored Contributor II
829 Views

Hi, 

 

I'm trying to develop a program with Altera DE2 and Audio IP Core. 

 

I declared in memory a wave file just as an array of 32-bits elements. 

 

Here it is the code: 

 

alt_up_audio_reset_audio_core(); lw = alt_up_audio_write_left_channel(notify, LEN); rw = alt_up_audio_write_right_channel(notify, LEN); printf ("lw: %d rw: %d\n\n", lw, rw);lw and lr remain stuck to 128,while the array is much longer. it seems the FIFO doesn't empty by itself and the sound is not reproduced. So, how can I make it reproduced?
0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
188 Views

Hi,Vinlos,have your problem been solved? 

I'm facing the same problem,would you like tell something about that?
0 Kudos
Reply