From 73ea9177f9ae8c66def2c39c38e6efb488120c3c Mon Sep 17 00:00:00 2001 From: Teddy Koker Date: Sun, 10 May 2020 18:12:57 -0400 Subject: [PATCH] unstandardize audio out --- test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test.py b/test.py index 4754e0f..22cd0d2 100644 --- a/test.py +++ b/test.py @@ -29,7 +29,7 @@ def test(args): y_pred = y_pred[:, :, -x_test.shape[2] :] save("y_pred.wav", y_pred) - save("x_test.wav", data["x_test"]) + save("x_test.wav", data["x_test"] * data["std"] + data["mean"]) save("y_test.wav", data["y_test"])