[scilab-Users] IIR BP filter

Simone Mannori simone.mannori at scilab.org
Sun Dec 21 10:13:54 CET 2008


Hi,

may you be so kind to send us the "test.wav" file that you are using ?

Windows / Linux / what Scilab version ? 

I would like to reproduce EXACTLY your test condition ...

Regards

Simone Mannori - The Scilab Consortium (DIGITEO)
Scilab/Scicos Embedded Applications

//============================================================================

On Sat, 2008-12-20 at 16:41 +0100, Laurent HAAS wrote:
> Hi
> 
> First of all, congrats for making this software available ! Great work !
> 
> I'm currently facing an issue regarding a simple BandPass filter...
> 
> Here's the code (FYI, I'm a total newbie - Forgive any 'basic' error !) :
> 
> [voice, Fs] = wavread("test.wav");
> nbSamples = size(voice, 2);
> if (size(voice, 1) > 1)
>    voice = voice(1, 1:nbSamples); // Use only one channel if recorded in 
> stereo
> end;
> lisys = iir(11,'bp','butt',[300/Fs 3000/Fs],[0 0]);
> voice = flts (voice, lisys);
> wavwrite(voice, Fs, "voiceFiltered.wav");
> 
> Scilab doesn't complain. It just doesn't work. What's wrong ? A similar 
> LP filter works, but an HP doesn't, too. I certainly miss something...
> 
> Thanks and regards !
> 
> Laurent
> 
> (Scilab 5.03 - WinXP)
> 




More information about the users mailing list