Sound visualisation using Generic led in simulink

2 ビュー (過去 30 日間)
Mike
Mike 2013 年 3 月 30 日
コメント済み: Zishan Quadri 2018 年 9 月 16 日
I am working on a project to visualize music in simulink. I'm trying to recreate the schematic presented in this video.
I use : #1 From multimedia file to open .wave audio file #2 lowpass filter #3 idealized 8bit ADC #4 Convert 2D to 1D #5 Delay line #6 Unbuffer #7 Generic LED
I get this 2 errors
Error in port widths or dimensions. Output port 1 of 'licenta_LED/Unbuffer' is a [1x2048] matrix.
Error in port widths or dimensions. Input port 1 of 'licenta_LED/Generic LED' is a one dimensional vector with 1 elements.
  1 件のコメント
Zishan Quadri
Zishan Quadri 2018 年 9 月 16 日
How will i get that generic led?

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

採用された回答

Navan Ruthramoorthy
Navan Ruthramoorthy 2013 年 4 月 2 日
This means your LED block can take only scalar inputs while you are trying to send it a vector data. Unbuffer works on channels. You will get a scalar output from unbuffer for each column of data. You have 2048 columns. Try using reshape with output set to "Column vector (2-D)" instead of converting 2-D to 1-D. Your input to delay line and unbuffer should be a column vector.
  1 件のコメント
Mike
Mike 2013 年 4 月 3 日
Thank you! it worked!

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

その他の回答 (2 件)

mar
mar 2013 年 6 月 5 日
Hi Mike , I am working on the same project . But I have a difficulty finding the required Low pass filter and specifying its parameters . Can you send me some information about the parameters and the blocks used.Thank you

mar
mar 2013 年 6 月 7 日
Hi again Mike..please I need your help urgent.of you can send to me info or file .
  2 件のコメント
Mike
Mike 2013 年 6 月 11 日
ok i will provide all the information tomorrow. hope it's not too late
mar
mar 2013 年 6 月 12 日
Thank you Mike .

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

製品

Community Treasure Hunt

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

Start Hunting!

Translated by