Audiocapture objects error after connected to Raspberry Pi
4 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Yihan Hu
el 19 de Oct. de 2020
Comentada: Yihan Hu
el 23 de Oct. de 2020
Hi all, I am very new to using Matlab to interface with Raspberry Pi and I am trying to use its audio platform.
I have installed Matlab coder and the hardware supporting package.
But I am getting this error when I tried to run audiocapture:
audiocapture and audioplayer are supported only for code generation
I am runinng on Macbook and xcode is updated too.
Where should I look into for this problem? Any help is appreciated
0 comentarios
Respuesta aceptada
Yihan Hu
el 21 de Oct. de 2020
2 comentarios
Jon Dana
el 23 de Oct. de 2020
Editada: Jon Dana
el 23 de Oct. de 2020
I had the same issue and found that the following information is missing from the Raspberry Pi Audio tutorial:
- You need the Matlab Coder add-on
- You need to save the uncommented "raspi_pitchshiftdeployment()" function in a file
- Check available audio resources on the Pi with "system(rpi, 'aplay -l)"
Note:
- The demo was observed to stop after a few minutes. This is likely controlled by "for k = 1:3000"
Más respuestas (0)
Ver también
Categorías
Más información sobre MATLAB Support Package for Raspberry Pi Hardware en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!