Repository navigation
Releases
Releases · AhmadHassan-BTed/RainGen-RainGenerator
raingen 3.0.0: physically based weather sound, now real time in Rust
raingen is a physically based weather and environment sound engine. Rain, wind, thunder and shelters are synthesised from real physics: drop-size distributions, impact and bubble acoustics, gusts and air absorption. It never loops, and the same scene and seed always give the same storm.
Highlights
- Native real-time engine (Rust): every generator runs live on all CPU cores. The default scene plays 101 voices at about 26% of real-time CPU with no dropouts. Offline renders run at about 3.3x real time.
- Spatial audio: third-order ambisonics, decoded to stereo, binaural headphones (MagLS), 5.1, 7.1 and 7.1.4, plus raw FOA and HOA.
- Depth and space for each place: early reflections, forest scattering, street slapback, valley and lake echoes, room modes, and reverb sized to the room.
- Delivery-ready files: BS.1770 loudness targets (YouTube, Spotify, Apple Music, podcast, EBU and ATSC broadcast, game, VR), a true-peak limiter, RF64/BWF/FLAC, UCS-named stems and captions.
- Python library and CLI: describe weather in plain words, a preset or a METAR report, then
raingen renderorraingen play. - 4D Composer in the browser: https://ahmadhassan-bted.github.io/RainGen-RainGenerator/studio/
Install
pip install "rain-generator[native] @ git+https://github.com/AhmadHassan-BTed/RainGen-RainGenerator"
Prebuilt raingen-native wheels for Linux (x86_64, aarch64) and Windows are attached below. On macOS, build the engine from the source package (pip install raingen_native-*.tar.gz, which needs Rust); otherwise raingen falls back to its pure-Python engine.