Why matlab is not recognizing the audio signal from line-in port?

7 次查看(过去 30 天)
I have connected an AUX cable between phone and laptop, when I record voice from phone in matlab via microphone it is getting recorded but when I use same using line-in from same port it isn't record the voice i.e., coming from that port. and I checked whether the matlab is recognizing the line-in port or not using audiodevinfo command, it is able to show line-in port in matlab? but not able to record voice signal from that port. I have connection of same port for microphone and line-in to my laptop?

回答(1 个)

Raghav
Raghav 2023-8-4
Hi Sridhar,
It seems that you are experiencing difficulties recording audio from the line-in port on your laptop using MATLAB. There could be several reasons why this issue is occurring. Here are a few troubleshooting steps you can try:
Check the audio settings on your laptop:
  • Ensure that the line-in port is enabled and set as the default recording device in your laptop's audio settings. You can usually access these settings by right-clicking on the speaker icon in the system tray and selecting "Recording devices" or a similar option.
  • Make sure the volume levels for the line-in port are properly adjusted and not muted.
Verify the physical connection:
  • Double-check that the AUX cable is securely connected to both the phone and the line-in port on your laptop.
  • Test the AUX cable with another device to confirm that it is functioning correctly.
Test the line-in port with other software:
  • Try using other audio recording software to see if you are able to record audio from the line-in port. This will help determine if the issue is specific to MATLAB or if it's a broader system problem.
Update MATLAB and audio drivers:
  • Ensure that you have the latest version of MATLAB installed. Updates may include bug fixes or improvements related to audio recording.
  • Update your laptop's audio drivers to the latest version. You can usually find these on the manufacturer's website or through Windows Update.
Hope it helps,
Best Regards,
Raghav Bansal

类别

Help CenterFile Exchange 中查找有关 Audio I/O and Waveform Generation 的更多信息

产品


版本

R2021b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by