Hi,
I have used the pre-built image on i.MX6ULL EVK board and need to test audio loop-back on wm8960 audio codec.
But I failed to test it and after that I gone for the capture operation using below command.
"arecord -D hw:0,0 -c 1 -f S16_LE -r 32000 sample1.wav".
So, using this command .wav file is created but it captured nothing while I palyed it (also test that file in audacity).
I also follow all steps from this thread : "https://community.nxp.com/thread/449685 " and failed to capture audio.
It is very helpful if you provide solution for this issue.
Best regards,
Nirmal
Solved! Go to Solution.
Hi, NIRMAL LUHANA
Please execute following commands to enable the microphone on i.MX6ULL EVK:
Then, record the audio with below command:
Test this recorded audio file using the following command:
If you are still facing an issue, please try the above commands on another board as well.
Regards,
Shivani
--------------------------------------------------------------------------------------------------------------------------
Note:- If this post answers your question, please click the "Mark Correct" button. Thank you!
--------------------------------------------------------------------------------------------------------------------------
Hi, NIRMAL LUHANA
Please execute following commands to enable the microphone on i.MX6ULL EVK:
Then, record the audio with below command:
Test this recorded audio file using the following command:
If you are still facing an issue, please try the above commands on another board as well.
Regards,
Shivani
--------------------------------------------------------------------------------------------------------------------------
Note:- If this post answers your question, please click the "Mark Correct" button. Thank you!
--------------------------------------------------------------------------------------------------------------------------
Hello,
Can you please try with gstreamer?
You can use the gstreamer pipeline as below:
$gst-launch-1.0 alsasrc num-buffers=430 blocksize=4096 ! avenc_mp2 ! filesink location=output.mp3
Hope this information can help you.
Best regards,
Diego.