1fbb5253ee4db53498fde8766b55541546d9804a,pyroomacoustics/libroom_src/tests/test_ray_tracing_2D.py,,,#,151
Before Change
print(len(log), " entries to build the rir")
rir = compute_rir(log, time_thres, fs, plot=True)
apply_rir(rir, "0riginal.wav", fs, cutoff=0)
After Change
scatter_coef = 0.1
time_thres = 0.8 //s
energy_thres = 0.001
sound_speed = 340
fs = 16000
// compute the log with the C++ code
chrono = time.time()
log = room.get_rir_entries(nb_phis, nb_thetas, source_pos, mic_radius, scatter_coef, time_thres, energy_thres, sound_speed)
print("\nNumber of phi : ", nb_phis)
print("Number of theta :", nb_thetas)
print("\nThere are", len(log), " microphone(s).")
print("(", nb_phis, "*", nb_thetas,") =", nb_phis * nb_thetas, " rays traced in ", time.time() - chrono, " seconds")
print("------------------\n")
// For all microphones
for k in range(len(log)):
mic_log = log[k]
print("For microphone n° ", k+1, ": ", len(mic_log), " entries to build the rir")
rir = compute_rir(mic_log, time_thres, fs, mic_id = k+1, plot=True)
apply_rir(rir, "0riginal.wav", fs, cutoff=0, result_name="aaa_mic"+str(k+1))
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 50
Instances
Project Name: LCAV/pyroomacoustics
Commit Name: 1fbb5253ee4db53498fde8766b55541546d9804a
Time: 2018-12-21
Author: cyril.cadoux@epfl.ch
File Name: pyroomacoustics/libroom_src/tests/test_ray_tracing_2D.py
Class Name:
Method Name:
Project Name: LCAV/pyroomacoustics
Commit Name: 1fbb5253ee4db53498fde8766b55541546d9804a
Time: 2018-12-21
Author: cyril.cadoux@epfl.ch
File Name: pyroomacoustics/libroom_src/tests/test_ray_tracing_2D.py
Class Name:
Method Name:
Project Name: LCAV/pyroomacoustics
Commit Name: 4c516c4b8c20474ed609761b7e56aac2f1d3f37c
Time: 2018-12-21
Author: cyril.cadoux@epfl.ch
File Name: pyroomacoustics/libroom_src/tests/test_ray_tracing_2D.py
Class Name:
Method Name:
Project Name: LCAV/pyroomacoustics
Commit Name: 0cb55813e0fe0e711fd6d72a5922a5c828648138
Time: 2018-12-19
Author: cyril.cadoux@epfl.ch
File Name: pyroomacoustics/libroom_src/tests/test_ray_tracing.py
Class Name:
Method Name: