help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: different when dealing with a wave sound


From: Juan Pablo Carbajal
Subject: Re: different when dealing with a wave sound
Date: Tue, 13 May 2014 08:39:13 +0200

On Mon, May 12, 2014 at 6:15 PM, Stephen Zhang <address@hidden> wrote:
> Hi, all
> I have a wave sound here[1], which mixed a man's sound with some "beeee"
> sound. I tested this sound in matlab(windows version), octave(windows
> version) and octave(linux  version), but get diffenrent result. Details are
> here:
> I use these commands:
>
> [wav fs bps] = wavread('buzz.wav');
> b = fir1(50, [X Y], 'bandpass');
> y = filter(b, 1, wav);
> wavwrite(y, fs, bps, 'test.wav');
>
> When I set X=0.3, Y=0.7 (in line 2),In matlab and octave(windows version), I
> can clearly hear the man's sound saying "zhe li shi dian zi ke ji da
> xue"(Chinese) without any "beeee" sound while in octave(linux version), I
> can only hear "beeee" sound. Only when I set X=0.8 and Y=0.99 can I hear the
> man's sound(not very clearly) with "beeee" sound in octave's linux version.
> I'd really like to know what causes difference? Is it a bug or just my
> fault?
>
> Thanks a lot to read this email.
> Regards,
> Stephen
>
> [1]http://pan.baidu.com/s/1dDtcTwt
>
> _______________________________________________
> Help-octave mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/help-octave
>

I can't reproduce. Without filtering I hear the annoying sound, when I
run your code with X=0.3, Y=0.7 I hear a male person speaking.
What version of Octave(linux) and signal package are you using?
What OS?
Do other wav files play fine?
Do you get any warning when doing wavwrite?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]