Effacer les filtres
Effacer les filtres

How to convert a double file to audiorecorder type ?

1 vue (au cours des 30 derniers jours)
Yvan N.
Yvan N. le 10 Déc 2018
Modifié(e) : Jan le 10 Déc 2018
I have a code that uses two scripts.
The first script's output should be used as the input of the second script.
But the second scripts needs an audiorecorder object type as input . Unfortunately, the first script's output is a double matrix type (8000 *1 ).
I want to know how to convert the double type to audiorecorder object type.
Thank you.

Réponse acceptée

Jan
Jan le 10 Déc 2018
Modifié(e) : Jan le 10 Déc 2018
You can't. An audiorecorder and a double vectors are two different things. You cannot convert a list of temperatures to a thermometer also.
Modify the 2nd script such that it does not get the output of the audiorecorder, but the provided signal directly.

Plus de réponses (0)

Catégories

En savoir plus sur Data Type Conversion dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by