Split the channels using 'From Multimedia File'

4 ビュー (過去 30 日間)
Hamda Zarrouk
Hamda Zarrouk 2023 年 2 月 9 日
コメント済み: Hamda Zarrouk 2023 年 2 月 10 日
Hello, I have a problem, where I need to seperate a stereo signal into two monos each with a size of 1024. Here I used 'From Multimedia File' and 'Multiport selector'. It can also basically be considered a 1024*2 matrix. Now the problem that have is dispaying the seperate sinals in each scope. I get this warning and even after waiting a lot the signal is not right. what sould i do and what settings have to be set right ? Thank you.
The next step is to use a speaker and a mic from Simulink and to split the channels as done to this audio file. If there are suggestions please tell me.

採用された回答

jibrahim
jibrahim 2023 年 2 月 9 日
Hi Hamda,
The scope has an 'Input processing' parameter. You probably have it set as:
Elements as channels (sample based) - Process each element as a unique sample.
You want to set it to this instead:
Columns as channels (frame based) - Process signal values in a channel as a group of values from multiple time intervals. Frame-based processing is available only with discrete input signals.
then you will get a single plot corresponding to the entire 1024 samples
  2 件のコメント
Hamda Zarrouk
Hamda Zarrouk 2023 年 2 月 10 日
Thank you it worked
Hamda Zarrouk
Hamda Zarrouk 2023 年 2 月 10 日
I have a follow up question. Now i changed the system a bit so that the sound file isn't directly splitted, but rather first emiited through a speaker, picked up by a microphone and then splitted into two channels. Here in each 'Multiport selector' I specified a a column. Would this system work ?

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeDirection of Arrival Estimation についてさらに検索

製品


リリース

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by