Matlab cant play .wav file twice
2 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Hello,
I'mwriting an app, and i want to play an created audiofile in this app.
The file is created by audiowrite, after it gets overworked by my fuzz function.
The funny thins is, matlab played the sound once, and after that, it always says, Undefined fucntion play for input arguments of type double.....
here the picture.
What can I do?
If I play the file with sound, it works fine,
but i want to play it and then stop it with two buttons made.
![Bildschirmfoto 2019-04-03 um 12.42.10.png](https://www.mathworks.com/matlabcentral/answers/uploaded_files/211812/Bildschirmfoto%202019-04-03%20um%2012.42.10.png)
3 Commenti
Jan
il 3 Apr 2019
Modificato: Jan
il 3 Apr 2019
Please post the code as text and not as screenshot. The code fails in line 123. You have posted screen shots for the 493 ff and 137 ff. Why do you think, that these screenshots help to understand the problem?
"'double' was added by me after gettting the problem." - where did you add 'double' for what reason?
Which play function do you expect to play a double array? The sound command does, but why do you think there is a play function also?
Risposte (1)
Vedere anche
Categorie
Scopri di più su Audio and Video Data in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!