From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with butter worth filter

Solved!
Go to solution

Hello!

I want to filter audio signal from WAV with butter worth filter, but it doesn´t work.

I read context help and there is that i have to set freq parametres in hertz. I did it. Do you know where is the problem?

problem2.jpg

0 Kudos
Message 1 of 5
(2,501 Views)

Hi 5times Tom,

 

you seem to have continued this VI from your older thread

 

Could you attach your VI and your sound file?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 5
(2,495 Views)

I want to try another aproach with this new script :).

0 Kudos
Message 3 of 5
(2,488 Views)

I think that I have found solution!

I have to use 'Index Array.vi' before my data enters IIR filter. Index Array will select channel for me.

But I have another question! 🙂

When I display my filtered data the X axis (time) change its range, why?

next.jpg

 

0 Kudos
Message 4 of 5
(2,463 Views)
Solution
Accepted by TomTomTomTomTom

One important topic for all programming is DATATYPES!

Next: Read the tutorials and have a look at the examples  about the graphs and how to feed them with data.

 

You used the same waveform graph, but wired data of different type (and color)  and the graph icon in the BD changed color 😮

 

The waveform datatype already contains the samplerate (dt) information, but your array does not.

 

Greetings from Germany
Henrik

LV since v3.1

“ground” is a convenient fantasy

'˙˙˙˙uıɐƃɐ lɐıp puɐ °06 ǝuoɥd ɹnoʎ uɹnʇ ǝsɐǝld 'ʎɹɐuıƃɐɯı sı pǝlɐıp ǝʌɐɥ noʎ ɹǝqɯnu ǝɥʇ'


0 Kudos
Message 5 of 5
(2,456 Views)