目录

A pipeline for generating acoustic pressure data

This is the codes for the data generation of PAWS-Dataset, which is a dataset for room acoustic simulation based on wave acoustics simulation. We provide a sample pipeline in pipeline.py, you may use it to give it a try on making your own data

1. Install dependencies

# Install Python environment.
conda create --name PAWS python=3.9

# Activate environment.
conda activate PAWS

# Install Python packages dependencies.
pip install -r requirement.txt

2. Give it a try

You may directly run our pipeline.py file, this would generate a 256*256 shoebox data with 10000 frames. By commenting and uncommenting code for the scene generation part, you can generate polygon room data, too. Please note that the first run will take relevantly lone time because the code will download the executable file of the solver.

The generated file looks like this, you can check the image file for environment definition and mp4 file for the outcome.

generated_data
├── image_file
├── mp4_file
└── metadata

We also provided a user example in example.ipynb.

3. License

The PAWS Project is under the MIT license

邀请码
    Gitlink(确实开源)
  • 加入我们
  • 官网邮箱:gitlink@ccf.org.cn
  • QQ群
  • QQ群
  • 公众号
  • 公众号

版权所有:中国计算机学会技术支持:开源发展技术委员会
京ICP备13000930号-9 京公网安备 11010802032778号