Sound Transformer Data Compute

Unity 2022.3+ GPU Accelerated FDTD Physics

Sound Transformer Data Compute is a Unity project for real-time, physically-based sound simulation using Finite-Difference Time-Domain (FDTD) methods. It models sound propagation, material effects, and interactive audio synthesis for games and research.

Features
Feature Description
FDTD Sound Simulation Real-time pressure and velocity field simulation on the GPU.
Material Modeling Supports air, steel, aluminum, wood, and water for realistic sound effects.
Enhanced Sources Trigger metallic, wooden, and liquid sounds with physical parameters.
Audio Output Direct synthesis to Unity's AudioSource with post-processing.
Visualization 3D grid and source visualization in the Unity Editor.
Technical Details
Reference

Based on research in FDTD sound simulation:
Finite-Difference Time-Domain Simulation of Sound Propagation in 3D

Getting Started
  1. Clone the repository: git clone https://github.com/yourusername/SoundTransformerDataCompute.git
  2. Open in Unity 2022.3 or newer.
  3. Assign the WaveBlenderSolver and WaveBlenderDemo scripts to GameObjects.
  4. Assign the WaveBlenderFDTD.compute shader to the solver.
  5. Press Play and interact using Space (metal), W (wood), Q (water drop).
License & Contributing

MIT License. Pull requests and issues welcome!