videolan/libspatialaudio — dự án mã nguồn mở — đang có 321 sao GitHub. Spatial Audio rendering library, with Ambisonic encoding/decoding, binauralization in C++
Tóm tắt dựng từ metadata GitHub của chính dự án — chưa có bài review TopGit. Trang sẽ tự động cập nhật khi bài review đầy đủ được xuất bản.
VÌ SAO CHƯA CÓ REVIEW
TopGit viết bài đầy đủ cho repo có nhiều sao nhất và được yêu cầu nhiều nhất. Trang này là snapshot trong thời gian chờ — xem README gốc ở tab READ ME.
Spatial audio encoding / decoding and binauralization library
libspatialaudio is an open-source, real-time and cross-platform C++ library for spatial audio encoding, decoding and rendering.
It provides a unified framework for working with different spatial audio formats and playback environments, from multichannel loudspeakers to headphones.
At its core is the Renderer class, which brings together multiple spatial audio techniques under one umbrella. Whether you are working with Ambisonics (HOA), audio objects, direct speaker feeds (e.g. 5.1/7.1), or binaural rendering, the Renderer provides a consistent interface for rendering multiple different streams.
Originally forked from ambisonic-lib by Aristotel Digenis it was expanded to support Higher Order Ambisonics HOA (ACN/SN3D) Ambisonics audio streams following the Google spatial audio specification:
https://github.com/google/spatial-media/blob/master/docs/spatial-audio-rfc.md and the IETF codec Ambisonics specification https://tools.ietf.org/html/draft-ietf-codec-ambisonics
It has since been expanded to include Object and speaker rendering, making it a more general purpose spatial audio library. These additions allow it to be used to render ITU Audio Definition Model ADM feeds (based on Rec. ITU-R BS.2127-1) and Alliance for Open Media's Immersive Audio and Formats IAMF.
What You Can Do with libspatialaudio
libspatialaudio contains classes for implementing different spatial audio techniques and processing:
Ambisonics: Encode, rotate, zoom, and decode HOA (up to 3rd order). Includes psychoacoustic optimizations for improved spatial perception. For more details on the Ambisonics capabilities of libspatialaudio please go here.
Object-based Audio: Encode and position individual sound sources in 3D space, rendered to speakers or headphones. Read more on how to spatialise object signals here.
Speaker Rendering: Decode and route speaker streams or layouts to chosen output loudspeaker layouts. For a guide on how to render speaker signals see here.
Binaural Rendering: Render immersive audio for headphones using HRTFs (either custom SOFA files or the included MIT HRTF). Works with Ambisonics, object-based audio, or multichannel speaker layouts (5.1, 7.1, etc.). Read more on how to binauralise loudspeaker signals here.
Applications
While libspatialaudio is designed around core processing types rather than specific standards, it can be applied in workflows that use formats such as:
ADM (Audio Definition Model): for metadata-driven rendering of objects, speakers and HOA.
IAMF (Immersive Audio Model and Format): for next-generation immersive audio delivery.
Both of these application use the Renderer class to interpret metadata and route signals appropriately, whether for loudspeaker layouts or binaural output.
Features
Unified Renderer class for HOA, Object, Speaker, and Binaural processing.
Ambisonics encoding, processing and decoding up to 3rd order (ACN/SN3D).
Loudspeaker rendering to ITU and custom layouts.
Binauralization with SOFA-based or built-in HRTFs.
Object-based rendering with dynamic positioning.
Suitable for both real-time and offline rendering workflows.
Cross-platform C++ implementation.
Learning About libspatialaudio
The documentation includes:
background theory (mathematical, psychoacoustic, DSP)
All background theory sections have been written such that it should be accessible to anyone with some mathematical background.
However, even without a mathematical background you should still be able to follow what is going on.
implementation details (lays out the choices made while writing the library).
code examples (overviews of the main classes and code examples).
To learn more about the Ambisonics processors start here.
To learn more about the main Renderer start here.
These two documents provide full examples of both signal flows, as well as links to more details for those who want to learn more or get more specific details.
For those who do not need to know the background theory, most documentation pages contain a link at the top to take you directly to details of the code, as well as an example of how to implement it.
Building libspatialaudio
Clone the repository (if you haven't already):
git clone https://github.com/videolabs/libspatialaudio.git
cd libspatialaudio
To build libspatialaudio, either Meson or CMake can be used:
Meson
Create a build directory and configure the project:
meson setup build
Build the project:
meson compile -C build
CMake
Create a build directory and configure the project:
cmake -B build
Build the project:
cmake --build build
License
libspatialaudio is released under LGPLv2.1 (or later) and is also available
under a commercial license. For full details see here.
Trang TopGit này là một snapshot — tab "Readme" hiển thị nguyên văn README của repo (đã bỏ link, giữ ảnh). Repo GitHub ở github.com/videolan/libspatialaudio là nguồn chính thức.
videolan/libspatialaudio có bao nhiêu sao?
videolan/libspatialaudio có 321 sao GitHub — tải lại trang để xem số mới nhất, hoặc xem trực tiếp github.com/videolan/libspatialaudio. TopGit phản chiếu số sao của GitHub nhưng không cam kết đến từng phút.
videolan/libspatialaudio có phải mã nguồn mở không?
TopGit chưa ghi nhận license cho videolan/libspatialaudio. Phần lớn repo public trên GitHub là mã nguồn mở, nhưng điều khoản khác nhau từng repo — mở file LICENSE để xác nhận.
videolan/libspatialaudio còn đang phát triển không?
Commit gần nhất trên videolan/libspatialaudio là 4 tháng trước (theo timestamp GitHub). Repo có 60 fork — một chỉ báo về mức độ quan tâm của cộng đồng.
videolan/libspatialaudio là gì?
videolan/libspatialaudio (videolan/libspatialaudio) là dự án C trên GitHub. Theo mô tả gốc: Spatial Audio rendering library, with Ambisonic encoding/decoding, binauralization in C++
Đọc đầy đủ README ở tab phía trên.
Muốn nghe thêm một ý kiến về libspatialaudio?
Hỏi một AI đọc được trang này — một cú bấm là có ngay nhận định về libspatialaudio.