Acoustic 3D Ray Tracing

Importing a 3D scene as an 'stl' file, obtaining the transfer func from point to any point within the scene and rendering the sound out.
29 descargas
Actualizado 8 may 2024

Ver licencia

An iPhone can be utilized to generate a 3D scan of a room, producing a file with an "stl" extension. These STL files can be imported into MATLAB®, where a sound source and microphone location can be designated within the 3D environment. By employing the ray tracing function, it is possible to calculate the delay and phase profile, which represents the arrival times of various audio wavefronts at the microphone. The impact of these early reflections can be modeled using an FIR filter. Additionally, Sabine's formula allows for the estimation of the room's reverberation time, which characterizes the late-arriving wavefronts. This reverberation can be simulated with the reverberator function. Integrating these components, a WAV file can be processed to simulate the sound as it would be recorded from any location within the room.

Citar como

Francis Tiong (2024). Acoustic 3D Ray Tracing (https://www.mathworks.com/matlabcentral/fileexchange/165536-acoustic-3d-ray-tracing), MATLAB Central File Exchange. Recuperado .

Compatibilidad con la versión de MATLAB
Se creó con R2024a
Compatible con cualquier versión desde R2023a
Compatibilidad con las plataformas
Windows macOS Linux
Etiquetas Añadir etiquetas

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Versión Publicado Notas de la versión
1.0.1

Added thumbnail image.

1.0.0