Is it possible to use sound(y,Fs) with MATLAB on iPad?

8 vues (au cours des 30 derniers jours)
Jarle
Jarle le 7 Sep 2017
When i write:
clear
clc
load handel;
sound(y,Fs)
on my iPad i get a Warning: Unable to play audio because no audio outputs where found.
Is there any way to play audio with the iPad speakers?

Réponse acceptée

Walter Roberson
Walter Roberson le 13 Sep 2017
You could use Simulink to create a model that used an iOS audio playback block, and you could Deploy that to the iPAD.

Plus de réponses (1)

Ben Drebing
Ben Drebing le 13 Sep 2017
Unfortunately, MATLAB mobile does not support audio.
The reason for this is that the MATLAB Mobile application sends all commands to the cloud or to your computer for evaluation. So, commands will be executed on your PC or MATLAB cloud and the result will be sent back to MATLAB mobile. If you connected your MATLAB mobile to your Computer, the sound would be played on your Computer, and if you connected it to Cloud, you would receive the same error message as MATLAB cloud does not have any audio outputs.

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by