VR.HRTF.test.demo.video_SD.1.mp4
This repo currently support:
- PRTF Testing with Quest3: PRTF testing for two modes (azimuth/elevation) with Meta Quest3 headset and controller.
- PRTF Testing without Quest3: Simulation on unity with XR Device Simulator.
PRTF(Pinna-Related Transfer Function) is signal processing model which characterizes the changes an acoustic signal undergoes due to its interaction with the listener's pinna (outer ear). This repository utilizes a compact PRTF generated by PRTFNet (B.Y. Ko et al., 2023). If you're interested in learning more about PRTFNet, please refer to the original paper.
- Unity Hub>= 3.9.1
- Matlab >= R2024b
🌟 Currently we Support two modes:
- Azimuth mode : Speakers are aligned from azimuth -90°C to 90°C at every 30°C (Elevation angle: 0°C)
- Elevation mode : Speakers are aligned from elevation angle 0°C to 180°C at every 30°C (Azimuth: 0°C)
🌟 Simulation step
- Click play button on the unity project screen.
- Run the corresponding MATLAB code.
- Simulation (Please refer to the video above).
- Test result will be saved in SpeakerLogs_fin folder (Time, Trials, Selected Speaker, Correct Speaker, PRTF type, Result).
Follow three steps:
- Click XR Device Simulator on the Hierarchy screen.
- Check the checkbox on the inspector screen.
- Click play button to execute
🌟 Change PRTF Sample
Here we explain how to configure your custom PRTF Sample dataset. You should follow the folder structure above, and put the "Subject_Name" folder with the MATLAB script. If you want to modify folder structure, please modify MATLAB scripts.
🌟 Add Speakers
If you want to modify simulation environment, please modify GameManager.cs, and Speakers.cs.
If you found this tool useful, please consider citing
@ARTICLE{10229140,
author={Ko, Byeong-Yun and Lee, Gyeong-Tae and Nam, Hyeonuk and Park, Yong-Hwa},
journal={IEEE Access},
title={PRTFNet: HRTF Individualization for Accurate Spectral Cues Using a Compact PRTF},
year={2023},
volume={11},
number={},
pages={96119-96130},
keywords={Location awareness;Head;Torso;Spatial audio;Transfer functions;Acoustic measurements;Image reconstruction;Spatial audio;Rendering (computer graphics);Root mean square;Head-related transfer functions;individualization;pinna-related transfer functions;spectral cues;spatial hearing},
doi={10.1109/ACCESS.2023.3308143}
}
