Commit 2ecc8816 authored by Archit Tamarapu's avatar Archit Tamarapu
Browse files

Merge branch 'fix-incorrect-masa-format-for-ivasrend' into 'main'

[fix] python format name used for IVAS_rend commandline for MASA

See merge request !211
parents 69bcb6cd 727002b2
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -56,7 +56,9 @@ def ivasRendMasa(
    masa : MetadataAssistedSpatialAudio
        Input MASA audio
    out_fmt: str
        Desired output format (only 5_1, 7_1_4 and BINAURAL supported)
        Desired output format
    trajectory: Path
        Head rotation trajectory

    Returns
    -------
+4 −1
Original line number Diff line number Diff line
@@ -555,6 +555,9 @@ class IVAS_rend(Processing):
            rend_cfg_file = self.render_config_dir.joinpath(f"{rend_cfg_name}.wav.cfg")
            cmd.extend(["-render_config", rend_cfg_file])

        # remove MASA number of directions
        in_fmt = self.in_fmt.name.replace("DIR1", "").replace("DIR2", "")

        cmd.extend(
            [
                "-fs",
@@ -562,7 +565,7 @@ class IVAS_rend(Processing):
                "-i",
                str(in_file),
                "-if",
                self.in_fmt.name,
                in_fmt,
                "-o",
                str(out_file),
                "-of",