Forum Discussion
Altera_Forum
Honored Contributor
16 years agoAudio Codec Problems DE2 Board
Hi, I've been having some problems using the Audio Codec on the DE2 board. I've configured the board using I2C, to use the DAC at 8kHz sampling frequency, 16 bits sample size, to use Left-Justi...
Altera_Forum
Honored Contributor
16 years agoThanks for the help so far. I put the ramp within my rom, and it played out fine -- so the rom isn't really the problem. My wav file comes from the Altera DE2 Demonstrations music stuff. I took music.wav, deleted the right channel and made it mono, downsampled it to 8 kHz, cut out a chunk of it, and then took the first 2048 samples of this. My cut, downsampled version plays fine in most audio players including Audacity. I still dunno what's going on. The only thing I'm thinking is that, DACLRCK has a period of 1/fs, so each channel has 1/(2*fs) to play, which means each individual channel is actually playing at 16 kHz and not 8? Could that be the problem?