2357 views|0 replies

230

Posts

2

Resources
The OP
 

[Project source code] Audio recording and playback system based on FPGA WM8731 [Copy link]

 This post was last edited by Xiaomeige on 2020-2-6 15:48

/*
Functional description:
Use the audio codec chip WM8731 on the AC620 development board to complete audio acquisition, storage and playback.
WM8731 has an audio input ADC and an audio output DAC. ADC acquisition, DAC output SDRAM is used as the storage of the collected audio data.
The digital tube displays the number of sampled audio data sampling points and the number of remaining audio data sampling points that are not played during playback in real time.

Instructions for use:
Mode A: Record microphone sound
Use an ordinary condenser microphone to connect to the Mic input port (pink interface) of the development board
Use headphones or speakers to connect to the LineOUT output interface (light green interface) of the development board
In the wm8731_init_table.v file, select the code related to recording MIC (about 42 lines), then compile the program in full, and download the program sof to the development board
Press and hold button 0, speak to the microphone or play music, the duration is customized, for example, 5 seconds, and then release button 0 to end recording
Press and hold button 1 to start playing the recorded sound, and the recorded audio will automatically stop playing after the playback is completed.

Mode B: Record LineIN audio
Use the provided audio docking cable, one end of which is inserted into the audio input (Link IN) interface (orange-yellow), one end is plugged into the music player device (such as mobile phone, computer)
Use headphones or speakers to connect to the LineOUT output interface (light green interface) of the development board
In the wm8731_init_table.v file, select to record the Link IN audio-related code (about 41 lines), then fully compile the program, download the program sof to the development board
Press and hold button 0, the music player device plays music, the duration is customized, for example, 5 seconds, and then release button 0 to end recording
Press and hold button 1 to start playing the recorded sound, and the recorded audio will automatically stop playing after the playback is completed
*/

https://en.eeworld.com/bbs/forum.php?mod=attachment&aid=NDU3OTkzfGY4ZTM5Njg3ODE0OTZlNjg1MWI4YzgzN2ZjNmViMmYwfDE3MzE2NjEzMTc%3D&request=yes&_f=.rar

This post is from Altera SoC
 
 

Just looking around
Find a datasheet?

EEWorld Datasheet Technical Support

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号
快速回复 返回顶部 Return list