1. Introduction
This article mainly introduces how to use Audition software to test the delay of STM32 USB audio upstream audio data.
Two, preparation
Audition, ASIO driver, STM32 enumerated USB Audio high-speed sound card test board.
2. Hardware connection
Short-circuit the data in and data out of IIS of STM32 with a jumper cap, and connect to the computer through a USB cable. The computer displays the following, which means the sound card enumeration is successful.
Three, Audition configuration
3.1 Configure audition hardware selection
3.2 Confirm that the device type is ASIO mode
3.3 Configure ASIO sound card driver configuration
3.4 Create a new multitrack session for recording
3.5 Configuring Downlink and Uplink Paths
1. Set track 1 to play audio: select S for solo; output is STM32 USB AUDIO 1
2. Set track 2 to record IV data: select R for recording; input is STM32 USB AUDIO 2
Note: Track 1 output corresponds to track 2 input
After the configuration is complete, the interface is as follows:
3.6 Record iv data
1. Turn on the test sound source
2. Drag this audio source to track 1
3. Modify the name of track 2 as the file name for recording IV data
4. Click on the triangle: only play but not record; click on the red circle: record while playing; click on the square: stop
3.7 View the recorded data waveform
1. After the recording is stopped, the file shown in the figure will appear
2. Double-click this file to open its wav format
3.8 Convert to pcm format
1. Click File
2. Click Save As
3. Modify any file name and location
4. As shown in the figure: Modify format, sampling type, format setting
5. Click OK to save the pcm file
3.9 Close the pcm
1. Select the file and right click
2. Close the selected file
3. Click Yes
3.10 Reopen (16bit i, 16bit v)
1. Find the pcm file under the save path
2. Set as shown in the picture
3. Click OK
4. You can open this IV data
3.11 Check the corresponding delay
Four, summary
This article mainly introduces how to use audition to test the delay of the USB audio uplink loop, for the reference of relevant developers.