Commit 63c54ecf authored by Vladimir Malenovsky's avatar Vladimir Malenovsky
Browse files

forgot to add mode parameter to reverb_hoa3(), ...

parent bd60be09
Loading
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -285,6 +285,7 @@ def reverb_hoa2(
    input: Audio,
    hoa2_IR: Audio,
    align: Optional[float] = None,
    mode: Optional[str] = None,
) -> Audio:
    """
    Convolve mono audio signal with an HOA2 impulse response
@@ -322,7 +323,7 @@ def reverb_hoa2(
        # separate IR into each channel
        IR.audio = hoa2_IR.audio[:, [i]]
        # convolve mono input with channel IR
        ych.append(reverb(input, IR, align=align))
        ych.append(reverb(input, IR, align=align, modee=mode))

    # combine into HOA2 output
    y = audio.fromtype("HOA2")
@@ -336,6 +337,7 @@ def reverb_hoa3(
    input: Audio,
    hoa3_IR: Audio,
    align: Optional[float] = None,
    mode: Optional[str] = None,
) -> Audio:
    """
    Convolve mono audio signal with an HOA3 impulse response
@@ -373,7 +375,7 @@ def reverb_hoa3(
        # separate IR into each channel
        IR.audio = hoa3_IR.audio[:, [i]]
        # convolve mono input with channel IR
        ych.append(reverb(input, IR, align=align))
        ych.append(reverb(input, IR, align=align, mode=mode))

    # combine into HOA3 output
    y = audio.fromtype("HOA3")