{"id":13437219,"url":"https://github.com/ebu/libear","last_synced_at":"2025-05-07T17:28:47.445Z","repository":{"id":39799486,"uuid":"197016725","full_name":"ebu/libear","owner":"ebu","description":"A C++ library to render ADM content according to Recommendation ITU-R BS.2127","archived":false,"fork":false,"pushed_at":"2024-04-10T09:37:23.000Z","size":587,"stargazers_count":31,"open_issues_count":13,"forks_count":13,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-03-19T06:41:49.401Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ebu.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2019-07-15T14:38:47.000Z","updated_at":"2025-02-28T15:30:51.000Z","dependencies_parsed_at":"2022-08-29T23:41:11.413Z","dependency_job_id":"0c3fed39-fbc8-4192-abec-daa8ed1b8831","html_url":"https://github.com/ebu/libear","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ebu%2Flibear","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ebu%2Flibear/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ebu%2Flibear/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ebu%2Flibear/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ebu","download_url":"https://codeload.github.com/ebu/libear/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252925987,"owners_count":21826229,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-07-31T03:00:55.139Z","updated_at":"2025-05-07T17:28:47.387Z","avatar_url":"https://github.com/ebu.png","language":"C++","funding_links":[],"categories":["Multimedia content processing"],"sub_categories":[],"readme":"# libear — Recommendation ITU-R BS.2127 core library\n\n[![](https://github.com/ebu/libear/workflows/Linux/badge.svg)](https://github.com/ebu/libear/actions?workflow=Linux)\n[![](https://github.com/ebu/libear/workflows/macOS/badge.svg)](https://github.com/ebu/libear/actions?workflow=macOS)\n[![](https://github.com/ebu/libear/workflows/Windows/badge.svg)](https://github.com/ebu/libear/actions?workflow=Windows)\n[![Documentation Status](https://readthedocs.org/projects/libear/badge/?version=latest)](https://libear.readthedocs.io/en/latest/?badge=latest)\n[![codecov](https://codecov.io/gh/ebu/libear/branch/master/graph/badge.svg)](https://codecov.io/gh/ebu/libear)\n\n*libear* is a C++14 library to render ADM content according to [Recommendation\nITU-R BS.2127](https://www.itu.int/rec/R-REC-BS.2127). It is not a complete\napplication, but provides components to calculate gains and apply them to\naudio, for embedding into applications which need to render ADM content.\n\n[Read the documentation](https://libear.readthedocs.io/en/latest/) to get\nstarted.\n\n## Installation\n\n### Dependencies\n\n  - compiler with C++14 support\n  - Boost header libraries (version 1.57 or later)\n      - Boost.Optional\n      - Boost.Variant\n  - CMake build system (version 3.5 or later)\n\n### Installation\n\nTo manually install the library you have to recursively clone the git\nrepository and then use the CMake build system to build and install it.\n\n``` shell\ngit clone --recursive https://github.com/ebu/libear.git\ncd libear\nmkdir build \u0026\u0026 cd build\ncmake ..\nmake\nmake install\n```\n\n### Use from CMake Projects\n\nAs the library uses CMake as a build system it is really easy to set up\nand use if your project does too. Assuming you have installed the\nlibrary, the following code shows a complete CMake example to compile a\nprogram which uses the libear.\n\n``` cmake\ncmake_minimum_required(VERSION 3.5)\nproject(libear_example VERSION 1.0.0 LANGUAGES CXX)\n\nfind_package(ear REQUIRED)\n\nadd_executable(example example.cpp)\ntarget_link_libraries(example PRIVATE ear)\n```\n\n### Use as a Subproject\n\nIf you prefer not to install the library on your system you can also use\nthe library as a CMake subproject. Just add the folder containing the\nrepository to your project (for example, by using a git submodule) and\nyou can use the ear target:\n\n``` cmake\ncmake_minimum_required(VERSION 3.5)\nproject(libear_example VERSION 1.0.0 LANGUAGES CXX)\n\nadd_subdirectory(submodules/libear)\n\nadd_executable(example example.cpp)\ntarget_link_libraries(example PRIVATE ear)\n```\n\nNote that if `libear` is used as a CMake subproject the default values of the\noptions\n\n  - `EAR_UNIT_TESTS`\n  - `EAR_EXAMPLES`\n  - `EAR_PACKAGE_AND_INSTALL`\n\nare automatically set to `FALSE`.\n\n## License\n\n```\nCopyright 2019 The libear Authors\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n    http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Febu%2Flibear","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Febu%2Flibear","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Febu%2Flibear/lists"}