libear
postject
libear | postject | |
---|---|---|
2 | 1 | |
25 | 153 | |
- | 9.2% | |
6.7 | 5.1 | |
about 1 month ago | 4 months ago | |
C++ | JavaScript | |
Apache License 2.0 | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
libear
-
Object-Based Audio Renderer
The BBC did a lot of work in this area (disclaimer: I worked for them), including creating an open source renderer: https://www.bbc.co.uk/rd/blog/2019-08-libear-ebu-audio-renderer-next-generation-open-source. The code is here: https://github.com/ebu/libear. Start at https://github.com/ebu/libear/blob/master/examples/objects_gains.cpp and work back through the code.
-
What's the Most Portable Way to Include Binary Blobs in an Executable?
My colleague wrote this solution for C++ and cmake:
https://github.com/ebu/libear/commit/40a4000296190c3f91eba79...
This is a cmake function which generates C++ files using no external tools. It's probably not very fast, but if you don't need to handle big files and are already using cmake this is easy to integrate, adds no dependencies and works on all platforms.
postject
-
What's the Most Portable Way to Include Binary Blobs in an Executable?
My team is working on this problem in the context of creating Node.js single-executable applications. While the naive approach of just appending data at the end of the binary works, it is not friendly with code-signature in macOS and Windows given that signing operates on PE and Mach-O sections.
We have recently open-sourced a small tool called Postject (https://github.com/postmanlabs/postject), which is able to inject arbitrary data as proper ELF/Mach-O/PE sections for all major operating systems (with AIX support coming). The tool also provides C/C++ cross-platform headers for easily traversing the final binary and introspect whether the segment is present or not.
The tool is based on the LIEF (https://github.com/lief-project/LIEF) project.
At Postman, we are making use of this on our custom Node.js single-executable applications and soon on our custom Electron.js builds too.
What are some alternatives?
LIEF - LIEF - Library to Instrument Executable Formats
ltools - LTools are a set of free, open-source productivity command-line tools (drawing inspiration from Unix commands and philosophy).
shiv - shiv is a command line utility for building fully self contained Python zipapps as outlined in PEP 441, but with all their dependencies included.
libadm - Audio Definition Model (ITU-R BS.2076) handling library