Csound Csound-dev Csound-tekno Search About

mvclpf 0dbfs/linear scale problem

Date2016-01-14 13:34
FromFfanci Silvain
Subjectmvclpf 0dbfs/linear scale problem
Hey hey,
first of all, I love these filters! Thank you Rory and Victor!

I have one issue, normally I work with linear scale amp (0-32768). In this mod 
every signal passed through mvclpf will only produce output of amplitude 1, 
which is unexpected and not very useful in that context. With 0dbfs =1 set in 
the header everything works just fine. Is this a limitation of the code as it 
was adopted or can it be changed to accept both scales easily.

I do like the audio control inputs! Thanks again!

Ta-ta
----
Ffanci
* Homepage: https://freeshell.de/~silvain
* Twitter:  http://twitter.com/ffanci_silvain
* GitHub:   https://github.com/fsilvain

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Date2016-01-14 13:49
Fromjpff
SubjectRe: mvclpf 0dbfs/linear scale problem
unds like the output should be multiplied bu 0dbfs, and possibly inout 
divided?

On Thu, 14 Jan 2016, Ffanci Silvain wrote:

> Hey hey,
> first of all, I love these filters! Thank you Rory and Victor!
>
> I have one issue, normally I work with linear scale amp (0-32768). In this 
> mod every signal passed through mvclpf will only produce output of amplitude 
> 1, which is unexpected and not very useful in that context. With 0dbfs =1 set 
> in the header everything works just fine. Is this a limitation of the code as 
> it was adopted or can it be changed to accept both scales easily.
>
>

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Date2016-01-14 14:50
FromVictor Lazzarini
SubjectRe: mvclpf 0dbfs/linear scale problem
yes, it looks like the case. I will modify the code.
========================
Dr Victor Lazzarini
Dean of Arts, Celtic Studies and Philosophy,
Maynooth University,
Maynooth, Co Kildare, Ireland
Tel: 00 353 7086936
Fax: 00 353 1 7086952 

> On 14 Jan 2016, at 13:49, jpff  wrote:
> 
> unds like the output should be multiplied bu 0dbfs, and possibly inout divided?
> 
> On Thu, 14 Jan 2016, Ffanci Silvain wrote:
> 
>> Hey hey,
>> first of all, I love these filters! Thank you Rory and Victor!
>> 
>> I have one issue, normally I work with linear scale amp (0-32768). In this mod every signal passed through mvclpf will only produce output of amplitude 1, which is unexpected and not very useful in that context. With 0dbfs =1 set in the header everything works just fine. Is this a limitation of the code as it was adopted or can it be changed to accept both scales easily.
>> 
>> 
> 
> Csound mailing list
> Csound@listserv.heanet.ie
> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
> Send bugs reports to
>       https://github.com/csound/csound/issues
> Discussions of bugs and features can be posted here

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Date2016-01-14 14:54
FromSteven Yi
SubjectRe: mvclpf 0dbfs/linear scale problem
I'm confused by this, why shouldn't it just be [-1.0,1.0]?  If users
want to use different values, they could scale themselves. If a user
is using 0dbfs = 1, then they can avoid a multiply and divide.

On Thu, Jan 14, 2016 at 9:50 AM, Victor Lazzarini
 wrote:
> yes, it looks like the case. I will modify the code.
> ========================
> Dr Victor Lazzarini
> Dean of Arts, Celtic Studies and Philosophy,
> Maynooth University,
> Maynooth, Co Kildare, Ireland
> Tel: 00 353 7086936
> Fax: 00 353 1 7086952
>
>> On 14 Jan 2016, at 13:49, jpff  wrote:
>>
>> unds like the output should be multiplied bu 0dbfs, and possibly inout divided?
>>
>> On Thu, 14 Jan 2016, Ffanci Silvain wrote:
>>
>>> Hey hey,
>>> first of all, I love these filters! Thank you Rory and Victor!
>>>
>>> I have one issue, normally I work with linear scale amp (0-32768). In this mod every signal passed through mvclpf will only produce output of amplitude 1, which is unexpected and not very useful in that context. With 0dbfs =1 set in the header everything works just fine. Is this a limitation of the code as it was adopted or can it be changed to accept both scales easily.
>>>
>>>
>>
>> Csound mailing list
>> Csound@listserv.heanet.ie
>> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
>> Send bugs reports to
>>       https://github.com/csound/csound/issues
>> Discussions of bugs and features can be posted here
>
> Csound mailing list
> Csound@listserv.heanet.ie
> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
> Send bugs reports to
>         https://github.com/csound/csound/issues
> Discussions of bugs and features can be posted here

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Date2016-01-14 15:08
FromVictor Lazzarini
SubjectRe: mvclpf 0dbfs/linear scale problem
I think it is better not to constrain. This was also the case with moogvcf, and we fixed it.
I think we should try and work with signals in the 0dbfs range as much as possible.
========================
Dr Victor Lazzarini
Dean of Arts, Celtic Studies and Philosophy,
Maynooth University,
Maynooth, Co Kildare, Ireland
Tel: 00 353 7086936
Fax: 00 353 1 7086952 

> On 14 Jan 2016, at 14:54, Steven Yi  wrote:
> 
> I'm confused by this, why shouldn't it just be [-1.0,1.0]?  If users
> want to use different values, they could scale themselves. If a user
> is using 0dbfs = 1, then they can avoid a multiply and divide.
> 
> On Thu, Jan 14, 2016 at 9:50 AM, Victor Lazzarini
>  wrote:
>> yes, it looks like the case. I will modify the code.
>> ========================
>> Dr Victor Lazzarini
>> Dean of Arts, Celtic Studies and Philosophy,
>> Maynooth University,
>> Maynooth, Co Kildare, Ireland
>> Tel: 00 353 7086936
>> Fax: 00 353 1 7086952
>> 
>>> On 14 Jan 2016, at 13:49, jpff  wrote:
>>> 
>>> unds like the output should be multiplied bu 0dbfs, and possibly inout divided?
>>> 
>>> On Thu, 14 Jan 2016, Ffanci Silvain wrote:
>>> 
>>>> Hey hey,
>>>> first of all, I love these filters! Thank you Rory and Victor!
>>>> 
>>>> I have one issue, normally I work with linear scale amp (0-32768). In this mod every signal passed through mvclpf will only produce output of amplitude 1, which is unexpected and not very useful in that context. With 0dbfs =1 set in the header everything works just fine. Is this a limitation of the code as it was adopted or can it be changed to accept both scales easily.
>>>> 
>>>> 
>>> 
>>> Csound mailing list
>>> Csound@listserv.heanet.ie
>>> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
>>> Send bugs reports to
>>>      https://github.com/csound/csound/issues
>>> Discussions of bugs and features can be posted here
>> 
>> Csound mailing list
>> Csound@listserv.heanet.ie
>> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
>> Send bugs reports to
>>        https://github.com/csound/csound/issues
>> Discussions of bugs and features can be posted here
> 
> Csound mailing list
> Csound@listserv.heanet.ie
> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
> Send bugs reports to
>        https://github.com/csound/csound/issues
> Discussions of bugs and features can be posted here

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Date2016-01-14 15:10
FromVictor Lazzarini
SubjectRe: mvclpf 0dbfs/linear scale problem
Done.
========================
Dr Victor Lazzarini
Dean of Arts, Celtic Studies and Philosophy,
Maynooth University,
Maynooth, Co Kildare, Ireland
Tel: 00 353 7086936
Fax: 00 353 1 7086952 

> On 14 Jan 2016, at 13:49, jpff  wrote:
> 
> unds like the output should be multiplied bu 0dbfs, and possibly inout divided?
> 
> On Thu, 14 Jan 2016, Ffanci Silvain wrote:
> 
>> Hey hey,
>> first of all, I love these filters! Thank you Rory and Victor!
>> 
>> I have one issue, normally I work with linear scale amp (0-32768). In this mod every signal passed through mvclpf will only produce output of amplitude 1, which is unexpected and not very useful in that context. With 0dbfs =1 set in the header everything works just fine. Is this a limitation of the code as it was adopted or can it be changed to accept both scales easily.
>> 
>> 
> 
> Csound mailing list
> Csound@listserv.heanet.ie
> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
> Send bugs reports to
>       https://github.com/csound/csound/issues
> Discussions of bugs and features can be posted here

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Date2016-01-14 15:17
Fromjpff
SubjectRe: mvclpf 0dbfs/linear scale problem
And al over thephysical models we do this

On Thu, 14 Jan 2016, Victor Lazzarini wrote:

> I think it is better not to constrain. This was also the case with moogvcf, and we fixed it.
> I think we should try and work with signals in the 0dbfs range as much as possible.
> ========================
> Dr Victor Lazzarini
> Dean of Arts, Celtic Studies and Philosophy,
> Maynooth University,
> Maynooth, Co Kildare, Ireland
> Tel: 00 353 7086936
> Fax: 00 353 1 7086952
>
>> On 14 Jan 2016, at 14:54, Steven Yi  wrote:
>>
>> I'm confused by this, why shouldn't it just be [-1.0,1.0]?  If users
>> want to use different values, they could scale themselves. If a user
>> is using 0dbfs = 1, then they can avoid a multiply and divide.
>>
>> On Thu, Jan 14, 2016 at 9:50 AM, Victor Lazzarini
>>  wrote:
>>> yes, it looks like the case. I will modify the code.
>>> ========================
>>> Dr Victor Lazzarini
>>> Dean of Arts, Celtic Studies and Philosophy,
>>> Maynooth University,
>>> Maynooth, Co Kildare, Ireland
>>> Tel: 00 353 7086936
>>> Fax: 00 353 1 7086952
>>>
>>>> On 14 Jan 2016, at 13:49, jpff  wrote:
>>>>
>>>> unds like the output should be multiplied bu 0dbfs, and possibly inout divided?
>>>>
>>>> On Thu, 14 Jan 2016, Ffanci Silvain wrote:
>>>>
>>>>> Hey hey,
>>>>> first of all, I love these filters! Thank you Rory and Victor!
>>>>>
>>>>> I have one issue, normally I work with linear scale amp (0-32768). In this mod every signal passed through mvclpf will only produce output of amplitude 1, which is unexpected and not very useful in that context. With 0dbfs =1 set in the header everything works just fine. Is this a limitation of the code as it was adopted or can it be changed to accept both scales easily.
>>>>>
>>>>>

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Date2016-01-14 17:12
FromFfanci Silvain
SubjectRe: mvclpf 0dbfs/linear scale problem
Victor Lazzarini, Jan 14 2016:

> Done.
Thank you very much, Victor!
...

Ta-ta
----
Ffanci
* Homepage: https://freeshell.de/~silvain
* Twitter:  http://twitter.com/ffanci_silvain
* GitHub:   https://github.com/fsilvain

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here