mirror of
https://gitlab.ewi.tudelft.nl/ee2l1/2025-2026/A.K.03.git
synced 2025-12-12 12:20:58 +01:00
Cleaned up localization code for the 3rd time!
This commit is contained in:
parent
52aadfcd53
commit
2c48f12d0e
@ -118,6 +118,7 @@ if __name__ == "__main__":
|
|||||||
real_y = record_y[i]
|
real_y = record_y[i]
|
||||||
filenames.append(f"../files/Student Recordings/record_x{real_x}_y{real_y}.wav")
|
filenames.append(f"../files/Student Recordings/record_x{real_x}_y{real_y}.wav")
|
||||||
|
|
||||||
|
# Performing the location estimation on each file
|
||||||
for i in range(len(filenames)):
|
for i in range(len(filenames)):
|
||||||
sampling_rate, recordings = wavfile.read(filenames[i])
|
sampling_rate, recordings = wavfile.read(filenames[i])
|
||||||
print(f"\nRecording {i+1}: {filenames[i]}")
|
print(f"\nRecording {i+1}: {filenames[i]}")
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user