feat: add physically explicit narrowband MUSIC
This commit is contained in:
@@ -56,7 +56,7 @@ test("localization algorithm registry exposes stable ids and capabilities", () =
|
||||
assertEqual(DEFAULT_LOCALIZATION_ALGORITHM, "das", "default algorithm");
|
||||
assertEqual(
|
||||
LOCALIZATION_ALGORITHM_IDS.join(","),
|
||||
"das,das-phat,gcc-phat",
|
||||
"das,das-phat,gcc-phat,music",
|
||||
"stable algorithm ids",
|
||||
);
|
||||
assertEqual(localizationAlgorithmDefinition("das").rawScale, "power", "DAS map scale");
|
||||
@@ -70,8 +70,14 @@ test("localization algorithm registry exposes stable ids and capabilities", () =
|
||||
"cpu",
|
||||
"GCC-PHAT backend capability",
|
||||
);
|
||||
assertEqual(
|
||||
localizationAlgorithmDefinition("music").rawScale,
|
||||
"noise-projection",
|
||||
"MUSIC map scale",
|
||||
);
|
||||
assert(isDasAlgorithm("das") && isDasAlgorithm("das-phat"), "DAS engine algorithms");
|
||||
assert(!isDasAlgorithm("gcc-phat"), "GCC-PHAT uses a separate engine");
|
||||
assert(!isDasAlgorithm("music"), "MUSIC uses a separate engine");
|
||||
assertEqual(localizationAlgorithmLabel("das-phat"), "DAS-PHAT", "algorithm label");
|
||||
assertEqual(localizationAlgorithmDefinition("unknown"), undefined, "unknown lookup");
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user