From bcae5b2f8561021f742ce7520ab13ddeb4209775 Mon Sep 17 00:00:00 2001 From: Joseph Hale Date: Sat, 28 Aug 2021 21:42:01 +0000 Subject: [PATCH] Clean up/organize repo a bit more --- .gitignore | 16 ++++++++++++---- Optimizer.py | 2 +- test_sounds/synthetic-2tps.wav | 0 test_sounds/synthetic-5tps.wav | 0 test_sounds/transmitted-356-2tps.wav | 0 test_sounds/transmitted-356-5tps.wav | 0 test_sounds/transmitted-QiYi-2tps.wav | 0 test_sounds/transmitted-QiYi-5tps.wav | 0 test_sounds/transmitted-X-2tps.wav | 0 test_sounds/transmitted-X-5tps.wav | 0 test_sounds/transmitted-clean-2tps.wav | 0 test_sounds/transmitted-clean-5tps.wav | 0 resources/sounds/synthetic-2tps.wav | 0 resources/sounds/synthetic-5tps.wav | 0 resources/sounds/transmitted-356-2tps.wav | 0 resources/sounds/transmitted-356-5tps.wav | 0 resources/sounds/transmitted-QiYi-2tps.wav | 0 resources/sounds/transmitted-QiYi-5tps.wav | 0 resources/sounds/transmitted-X-2tps.wav | 0 resources/sounds/transmitted-X-5tps.wav | 0 resources/sounds/transmitted-clean-2tps.wav | 0 resources/sounds/transmitted-clean-5tps.wav | 0 22 file(s) changed, 13 insertion(s)(+), 5 deletion(s)(-) diff --git a/.gitignore b/.gitignore --- a/.gitignore +++ b/.gitignore @@ -1,13 +1,21 @@ -venv*/ -*.iml -.idea/ +# Auto-generate project files plt/ audio/ csv/ logs/ -__pycache__/ demo*.wav + +# Python runtime files +venv*/ +__pycache__/ + +# OS Specific Files .DS_Store + +# IDE Specific Files +.vscode +*.iml +.idea/ # LaTeX Auto-generated files *.aux diff --git a/Optimizer.py b/Optimizer.py --- a/Optimizer.py +++ b/Optimizer.py @@ -9,7 +9,7 @@ # a_cube.play_simulation(silent=True) csv = open(f"csv/data.csv", "a") csv.write("file_name,window_size,stdv,alt_min,received_alg,similarity\n") -for (root, dirs, files) in os.walk('test_sounds'): +for (root, dirs, files) in os.walk('resources/sounds'): for file in files: for window_size in (range(1, 11)): # + range(10, 201, 30)): for stdv in range(25, 301, 25): diff --git a/test_sounds/synthetic-2tps.wav b/test_sounds/synthetic-2tps.wav deleted file mode 100644 --- a/test_sounds/synthetic-2tps.wav +++ /dev/null diff --git a/test_sounds/synthetic-5tps.wav b/test_sounds/synthetic-5tps.wav deleted file mode 100644 --- a/test_sounds/synthetic-5tps.wav +++ /dev/null diff --git a/test_sounds/transmitted-356-2tps.wav b/test_sounds/transmitted-356-2tps.wav deleted file mode 100644 --- a/test_sounds/transmitted-356-2tps.wav +++ /dev/null diff --git a/test_sounds/transmitted-356-5tps.wav b/test_sounds/transmitted-356-5tps.wav deleted file mode 100644 --- a/test_sounds/transmitted-356-5tps.wav +++ /dev/null diff --git a/test_sounds/transmitted-QiYi-2tps.wav b/test_sounds/transmitted-QiYi-2tps.wav deleted file mode 100644 --- a/test_sounds/transmitted-QiYi-2tps.wav +++ /dev/null diff --git a/test_sounds/transmitted-QiYi-5tps.wav b/test_sounds/transmitted-QiYi-5tps.wav deleted file mode 100644 --- a/test_sounds/transmitted-QiYi-5tps.wav +++ /dev/null diff --git a/test_sounds/transmitted-X-2tps.wav b/test_sounds/transmitted-X-2tps.wav deleted file mode 100644 --- a/test_sounds/transmitted-X-2tps.wav +++ /dev/null diff --git a/test_sounds/transmitted-X-5tps.wav b/test_sounds/transmitted-X-5tps.wav deleted file mode 100644 --- a/test_sounds/transmitted-X-5tps.wav +++ /dev/null diff --git a/test_sounds/transmitted-clean-2tps.wav b/test_sounds/transmitted-clean-2tps.wav deleted file mode 100644 --- a/test_sounds/transmitted-clean-2tps.wav +++ /dev/null diff --git a/test_sounds/transmitted-clean-5tps.wav b/test_sounds/transmitted-clean-5tps.wav deleted file mode 100644 --- a/test_sounds/transmitted-clean-5tps.wav +++ /dev/null diff --git a/resources/sounds/synthetic-2tps.wav b/resources/sounds/synthetic-2tps.wav new file mode 100644 --- /dev/null +++ b/resources/sounds/synthetic-2tps.wav diff --git a/resources/sounds/synthetic-5tps.wav b/resources/sounds/synthetic-5tps.wav new file mode 100644 --- /dev/null +++ b/resources/sounds/synthetic-5tps.wav diff --git a/resources/sounds/transmitted-356-2tps.wav b/resources/sounds/transmitted-356-2tps.wav new file mode 100644 --- /dev/null +++ b/resources/sounds/transmitted-356-2tps.wav diff --git a/resources/sounds/transmitted-356-5tps.wav b/resources/sounds/transmitted-356-5tps.wav new file mode 100644 --- /dev/null +++ b/resources/sounds/transmitted-356-5tps.wav diff --git a/resources/sounds/transmitted-QiYi-2tps.wav b/resources/sounds/transmitted-QiYi-2tps.wav new file mode 100644 --- /dev/null +++ b/resources/sounds/transmitted-QiYi-2tps.wav diff --git a/resources/sounds/transmitted-QiYi-5tps.wav b/resources/sounds/transmitted-QiYi-5tps.wav new file mode 100644 --- /dev/null +++ b/resources/sounds/transmitted-QiYi-5tps.wav diff --git a/resources/sounds/transmitted-X-2tps.wav b/resources/sounds/transmitted-X-2tps.wav new file mode 100644 --- /dev/null +++ b/resources/sounds/transmitted-X-2tps.wav diff --git a/resources/sounds/transmitted-X-5tps.wav b/resources/sounds/transmitted-X-5tps.wav new file mode 100644 --- /dev/null +++ b/resources/sounds/transmitted-X-5tps.wav diff --git a/resources/sounds/transmitted-clean-2tps.wav b/resources/sounds/transmitted-clean-2tps.wav new file mode 100644 --- /dev/null +++ b/resources/sounds/transmitted-clean-2tps.wav diff --git a/resources/sounds/transmitted-clean-5tps.wav b/resources/sounds/transmitted-clean-5tps.wav new file mode 100644 --- /dev/null +++ b/resources/sounds/transmitted-clean-5tps.wav -- tangled.sh