Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Altera_Forum
Honored Contributor I
684 Views

Audio IP Core: how to reproduce a sound

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 I
43 Views

Hi,Vinlos,have your problem been solved? 

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