Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
20704 Discussions

Input audio file into altera DE1 kit

Altera_Forum
Honored Contributor II
1,685 Views

Hi, 

 

Can i direct inputting audio files like .mp3 file into Altera DE1 kit or i must input the audio via using microphone? 

Any useful steps or simple coding to do so?
0 Kudos
3 Replies
Altera_Forum
Honored Contributor II
364 Views

If you are using a NIOS, you can use the HAL Host-Based File System to use fopen(), fread() etc. to transfer the file from your PC hard drive.

0 Kudos
Altera_Forum
Honored Contributor II
364 Views

Just take the SD card out of the DE1 and mount it in your computer. Copy the file like any other. Note that the Nios may not be powerful enough to decode MP3 in real time. Use a .wav format file instead.

0 Kudos
Altera_Forum
Honored Contributor II
364 Views

 

--- Quote Start ---  

Just take the SD card out of the DE1 and mount it in your computer. Copy the file like any other. Note that the Nios may not be powerful enough to decode MP3 in real time. Use a .wav format file instead. 

--- Quote End ---  

 

 

Hi, 

here are the question i facing when using SD card as input source 

 

1. How do i able to read a .wav audio file in SD card using FPGA kit via Verilog HDL coding? 

2. How do i able to sample the audio's sampling frequency? 

3. Are I able to mix 2 audio files together via using FPGA kit or i need to mix it before i insert the audio file into the FPGA kit 

4. How to implement megawizard into the coding??
0 Kudos
Reply