Skip to content

Maths, Inconsistent Behavior with input variables. #3

@torridgristle

Description

@torridgristle
A: max(abs(li0),ao1*0.999)
B: r
L: a
R: l/a

This works as expected: A uses either the left channel of the input audio to the plugin or the input that Maths sends to L, L puts out A, and R puts out either the left channel of the input audio to the plugin or the input that Maths sends to L after it's been divided by A.

A: max(abs(li0),ao1*0.999)
B: r
L: l/a
R: a

This does not work as expected: R sounds something like the input left channel clipped from (-1,1) to (0,1), L sounds the same as R but it's filling out the (-1,1) range. It's as if it was doing L: l/max(abs(li0),lo1*0.999).

A: max(abs(ri0),ao1*0.999)
B: r
L: a
R: r/a

This works as expected like the first example.

A: max(abs(ri0),ao1*0.999)
B: r
L: r/a
R: a

This is horribly distorted like the second example.

A: max(abs(li0),ao1*0.999)
B: r
L: 0
R: a

This puts out 0 on the left and on the right it's equal to abs(l) or rather abs(li0).

It seems the content of L has an impact on the input that A gets for its variables, I'm not entirely sure though. It looks as though there's some code for moving around data for L and R that isn't duplicated for A and B like some other lines are, maybe it's related to this? I don't know for sure.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions