Skip to content

Commit a9f37db

Browse files
committed
feat: Update readme
1 parent 992c595 commit a9f37db

1 file changed

Lines changed: 72 additions & 23 deletions

File tree

README.md

Lines changed: 72 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,86 @@
1-
Example that shows how to implements image source method using the 3DTI Toolkit and OpenFramework, with a Visual Studio project
1+
# Hybrid ISM+BRIR Simulator
22

3-
Folder Content
4-
-
3+
Hybrid ISM+BRIR Simulator is an openFrameworks-based real-time acoustic simulation application that combines the Image Source Method (ISM) for early reflections with measured Binaural Room Impulse Responses (BRIRs) for the late reverberant tail.
54

6-
- resources: files needed by the example program to work (HRTF, BRIR and audio files). These files must be copied into the same folder as the solution file.
7-
- src: source files of the image source method TestApp project
8-
- vstudio: VisualStudio proyect files
5+
The simulator allows users to listen in real time to the direct sound path and the reverberation of a room. Rooms are defined using XML files that describe the room geometry and the wall reflection coefficients. The 3D scene includes a listener and a sound source, as well as a visual representation of the room, the image rooms, and the image sources generated during rendering.
96

10-
How to Build and Run in Windows
11-
-
12-
1. Download Openframework for Windows from https://openframeworks.cc/download/. Lastest version tested: of_v0.11.2_vs2017_release
7+
The application also allows the user to move the listener and the source interactively and configure a wide range of acoustic parameters.
138

14-
2. Clone the repository in a folder (you can call it "ImageSourceMethodTestApp") inside the openFramework folder.
9+
Several rooms and BRIR datasets are included, including the two case studies presented in the associated research article, where the BRIRs were measured. The BRIRs are loaded from SOFA files. The repository also includes KEMAR HRTFs.
1510

16-
3. Clone the submodules ("3dti_AudioToolkit") inside the openFramework folder .
11+
A paper describing the algorithm implemented in this simulator is currently under review.
1712

18-
4. Open the solution `Image_Source_Method_TestApp.sln` located at
19-
`localPath\of_v0.11.2_vs2017_release\ImageSourceMethodTestApp\vstudio`
20-
This has been tested with Visual Studio 2017 (v141) and Windows SDK 10.0.17763.0. To be able to build the 'libsofa' project, add (using VS Installer) the Visual C++ build tool called "VC++ 2015.3 v140 toolset".
13+
## Precompiled Windows Release
2114

22-
5. Compile the project for the first time.
15+
A precompiled Windows version of the simulator is available from the Releases section of this repository:
2316

24-
6. Run the project
17+
[Download the latest Windows release](https://github.com/3DTune-In/ImageSourceMethodTestApp/releases)
2518

26-
**Note 1**: To run the project from VisualStudio, copy all the files from the folder
27-
`localPath\of_v0.11.2_vs2017_release\ImageSourceMethodTestApp\resources`
28-
into the same folder as the project solution or the folder containing the exe file if you are going to run it directly.
19+
The release is distributed as a ZIP file containing both an `.msi` installer and an `.exe` executable.
2920

30-
**Note 2:** The use of the third party library Libsofa may require the user to add to the environment variable PATH the **absolute** path of the folder containing the libsofa libs. For example, in a 64-bit Microsoft Windows, you can find that folder in `3dti_AudioToolkit\3dti_ResourceManager\third_party_libraries\sofacoustics\libsofa\dependencies\lib\win\x64`
21+
## Folder Content
3122

23+
- `resources`: complete set of files required by the application, including HRTFs, BRIRs, SOFA files, room XML files, and audio files. These resources are already included in the repository and do not need to be copied manually.
24+
- `src`: source files of the Hybrid ISM+BRIR Simulator application.
25+
- `vstudio`: Visual Studio project files.
3226

33-
Acknowledgement
34-
-
35-
This project has received funding from the Spanish National Project SAVLab, under grant No. PID2019-107854GB-I00.
27+
## How to Build and Run in Windows
3628

29+
1. Download openFrameworks for Windows from:
3730

31+
https://openframeworks.cc/download/
32+
33+
Latest version tested:
34+
35+
`of_v0.11.2_vs2017_release`
36+
37+
2. Clone this repository in a folder inside the openFrameworks folder.
38+
39+
The repository folder name can remain as:
40+
41+
`ImageSourceMethodTestApp`
42+
43+
3. Make sure the required submodules, including `3dti_AudioToolkit`, are available inside the openFrameworks folder.
44+
45+
4. Open the solution:
46+
47+
`Image_Source_Method_TestApp.sln`
48+
49+
located at:
50+
51+
```text
52+
localPath\of_v0.11.2_vs2017_release\ImageSourceMethodTestApp\vstudio````
53+
54+
5. Open the project with Visual Studio 2022.
55+
56+
The current tested configuration is:
57+
58+
- openFrameworks: of_v0.11.2_vs2017_release
59+
- Visual Studio: Visual Studio 2022
60+
- Windows SDK: 10.0.X
61+
- Platform Toolset: v143
62+
- openFrameworks project structure
63+
- Compile the project.
64+
- Run the application.
65+
66+
The resources required by the application are already included in the repository, so it is no longer necessary to manually copy the files from the resources folder into the solution folder or executable folder.
67+
68+
### Notes
69+
70+
The use of the third-party library Libsofa may require the user to add to the environment variable PATH the absolute path of the folder containing the Libsofa libraries.
71+
72+
For example, in a 64-bit Microsoft Windows installation, this folder may be located at:
73+
74+
```3dti_AudioToolkit\3dti_ResourceManager\third_party_libraries\sofacoustics\libsofa\dependencies\lib\win\x64```
75+
76+
## Acknowledgments
77+
78+
This work was carried out in the context of the [SONICOM project](https://www.sonicom.eu/), which has received funding from the European Union’s Horizon 2020 research and innovation program under grant agreement No. 101017743; the [MusicSphere](https://musicsphere-eccch.eu/) project, funded by the Horizon Europe programme under grant agreement No. 101233618; and the Spanish National Project [SONIX](https://www.diana.uma.es/sonix/), PID2023-152547NB-I00.
79+
80+
## Citation
81+
82+
To be added.
83+
84+
## License
85+
86+
To be added.

0 commit comments

Comments
 (0)