[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Signal PKG] limited slope
From: |
Renato S. Yamane |
Subject: |
Re: [Signal PKG] limited slope |
Date: |
Fri, 15 Dec 2017 09:27:06 +0100 |
2017-12-14 20:25 GMT+01:00 Robert T. Short <address@hidden>:
> On 12/13/2017 11:39 PM, Renato S. Yamane wrote:
>> Regarding the code below, someone have an idea why I have this limit
>> in low frequencies?
>>
>> Please, see the frequency response on image available in:
>> https://ibb.co/cgwOqG
>>
>> Detail: when I use a crest factor of 12dB instead 6dB, I donĀ“t have
>> this problem.
>>
>> ==============
>> pkg load signal;
>> pkg load ltfat;
>>
>> sampling_rate = 44100;
>> lenght = 30;
>> hpf = 400;
>> lpf = 4000;
>> crest_factor = 6;
>>
>> typenoise = noise((lenght)*sampling_rate, 1, 'pink');
>> [b,a] = butter(2, [hpf/(sampling_rate/2), lpf/(sampling_rate/2)]);
>> filtered = filter(b, a, typenoise);
>> filtered = filtered / (rms(filtered) / 10^(-crest_factor/20));
>> audiowrite ('signal.wav', filtered, 44100);
>> ==============
>
>
> I don't get the same spectral plots you show here. My results are much more
> like your "expected" slope.
>
Wowww!
Can you tell me how you plot it? Just to be possible I make the same
check here in my side...
Thanks,
Renato
- [Signal PKG] limited slope, Renato S. Yamane, 2017/12/14
- Re: [Signal PKG] limited slope, Robert T. Short, 2017/12/14
- Re: [Signal PKG] limited slope,
Renato S. Yamane <=
- Re: [Signal PKG] limited slope, Robert T. Short, 2017/12/15
- Re: [Signal PKG] limited slope, Renato S. Yamane, 2017/12/16
- Re: [Signal PKG] limited slope, Robert T. Short, 2017/12/17
- Re: [Signal PKG] limited slope, Robert T. Short, 2017/12/17
- Re: [Signal PKG] limited slope, Renato S. Yamane, 2017/12/17
- Re: [Signal PKG] limited slope, Ozzy Lash, 2017/12/17
- Re: [Signal PKG] limited slope, Renato S. Yamane, 2017/12/18