How to convert a double file to audiorecorder type ?

2 views (last 30 days)
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.

Accepted Answer

Jan
Jan on 10 Dec 2018
Edited: Jan on 10 Dec 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.

More Answers (0)

Categories

Find more on Data Type Conversion in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!