facebookresearch / sound-spaces

A first-of-its-kind acoustic simulation platform for audio-visual embodied AI research. It supports training and evaluating multiple tasks and applications.
https://soundspaces.org
Creative Commons Attribution 4.0 International
340 stars 55 forks source link

How to set a directional sound source? #146

Open szhang-hub opened 1 month ago

szhang-hub commented 1 month ago

Thanks for your excellent work! I set my sound source as shown below, source=np.array([0.0,4.0,1.7]) audio_sensor = sim.get_agent(0)._sensors["audio_sensor"] audio_sensor.setAudioSourceTransform(source) audio_sensor.setAudioMaterialsJSON("data/mp3d_material_config.json") I wonder whether the sound source is omnidirectional or directional? If it is directional, how to change the direction of the sound source?Thanks for your answer!

ChanganVR commented 1 week ago

Hi there, unfortunately, we do not support setting directional sound sources at the moment and all sources are omnidirectional.