AcousticsGPU: GPU-ускоренное моделирование акустики помещений
AcousticsGPU — это библиотека для высокопроизводительного моделирования распространения звука в помещениях с использованием GPU-ускорения на базе PyTorch. Поддерживает два метода: трассировку лучей (Ray Tracing) и метод зеркальных источников (Image Source), а также учитывает частотные характеристики материалов.
Основные возможности
| Возможность | Описание |
|---|---|
| GPU-ускорение | Ускорение в 10–100+ раз по сравнению с CPU за счёт использования PyTorch и CUDA |
| 10 частотных полос | Октавные полосы от 31.5 Гц до 16 кГц (31.5, 63, 125, 250, 500, 1000, 2000, 4000, 8000, 16000 Гц) |
| 8+ реальных материалов | Коэффициенты поглощения из таблицы компании Фронт Акустик |
| Два метода моделирования | Ray Tracing — для поздней реверберации, Image Source — для точных ранних отражений |
| Визуализация | Энергетические карты для каждой частоты, частотные характеристики в точках микрофонов, гистограммы распределения энергии |
Установка
Стандартная установка
pip install acoustics-gpu
Установка зависимостей
pip install torch numpy matplotlib scipy
Системные требования
Для работы с GPU ускорением: видеокарта с поддержкой CUDA
Необходимые библиотеки
Для работы с AcousticsGPU необходимы следующие зависимости:
| Библиотека | Версия | Назначение |
|---|---|---|
| PyTorch | ≥ 2.0.0 | GPU-вычисления, тензорные операции |
| NumPy | ≥ 1.24.0 | Численные расчёты |
| Matplotlib | ≥ 3.7.0 | Визуализация (энергетические карты, графики) |
| SciPy | ≥ 1.10.0 | Аппроксимация и дополнительные вычисления |
Результаты производительности
Тестирование на конфигурации: Intel Xeon E3-1230 (4 ядра, 8 потоков) vs NVIDIA GTX 1080 (8 GB).
| Метод | CPU (с) | GPU (с) | Ускорение |
|---|---|---|---|
| Ray Tracing (1000 лучей) | 12.51 | 0.85 | 14.7× |
| Ray Tracing (10000 лучей) | 117.53 | 0.90 | 130.6× |
| Ray Tracing (100000 лучей) | 1368.85 | 2.15 | 636.7× |
| Image Source (порядок 50) | 14.01 | 8.965 | 1.56× |
Ссылки
Таблица коэффициентов звукопоглощения
Проект в стадии разработки
Metadata
Release files for acoustics-gpu 1.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| acoustics_gpu-1.0.3.tar.gz | 24.9 kB | With provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| acoustics_gpu-1.0.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 53.9 kB
Release files / acoustics_gpu-1.0.3.tar.gz
| Download URL | acoustics_gpu-1.0.3.tar.gz |
|---|---|
| Size | 24.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
233f4c2d65f029c45a3071ae2969751d5fe003ec0e01db55eb0bd77d1a9e4962
|
|
BLAKE2b-256 checksum How to use checksums |
9f8cdf8d277f0e8858199f130d074dfa77a1e08048e50dd6ac203b4b70b30c18
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 17, 2026.
Transparency logRelease files / acoustics_gpu-1.0.3-py3-none-any.whl
| Download URL | acoustics_gpu-1.0.3-py3-none-any.whl |
|---|---|
| Size | 29.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9f0fe3a2999d30cccdb4c242c161d244da4c1f8a9911e5c41a9484abf4cd6234
|
|
BLAKE2b-256 checksum How to use checksums |
5f2322375d8ac0bc0c9dd10d382c183e4101d22839c795b689f66651980c200a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 17, 2026.
Transparency logSecurity for acoustics-gpu 1.0.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for acoustics_gpu-1.0.3.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 17, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.