LCAV / pyroomacoustics

Pyroomacoustics is a package for audio signal processing for indoor applications. It was developed as a fast prototyping platform for beamforming algorithms in indoor scenarios.
https://pyroomacoustics.readthedocs.io
MIT License
1.33k stars 417 forks source link

How to understand the ray-tracing code? #308

Open emptyshelly opened 1 year ago

emptyshelly commented 1 year ago

Hello,thanks for your contribution ! I have learned pyroomacoustics for a while. Lines 2206 to 2220 https://github.com/LCAV/pyroomacoustics/blob/0ccf8ae06f818f00a43a712038607e6744c13d08/pyroomacoustics/room.py#L2206 and lines 2277 to 2301 https://github.com/LCAV/pyroomacoustics/blob/0ccf8ae06f818f00a43a712038607e6744c13d08/pyroomacoustics/room.py#L2277 of the room.py are related to ray tracing code,I would like to know whether there are literatures or other references for the ray tracing method.How did you write the rt_needed code? Thanks a lot.

fakufaku commented 1 year ago

Hi, this is a good question indeed, and the documentation should be clearer.

The simulator is heavily based upon Dirk Schroeder's PhD thesis:

Dirk Schroeder, Physically based real-time auralization of interactive virtual environments, 2011.

I have also found the wayverb documentation to be very detailed and useful. It is a different project implementing a similar simulator.