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