Matlab support for Raspberry Pi pitch shift example error

5 views (last 30 days)
I sucessfully installed and configured the package for Pi 4 and I was able to run the example without problems yesterday.
After I installed Simulink support as well today and tried to rerun the example code, Pi was returning this error:
Capture overrun: errno = -32 (Broken pipe)
I can still hear the audio from the speaker except it is distorted and discontinous.
I thought this issue is caused by the hardware so I ran arecord and aplay to test and both commands worked fine.
How should I go about this problem? Thank you in advance

Answers (1)

Puru Kathuria
Puru Kathuria on 2 Nov 2020
If you were able to run it once then debugging might help. You can try the following:
  • clearing your workspace
  • rebooting Raspberry Pi
  • restarting MATLAB

Categories

Find more on MATLAB Support Package for Raspberry Pi Hardware in Help Center and File Exchange

Products


Release

R2020b

Community Treasure Hunt

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

Start Hunting!