From 2c02e4c63df3e4c84fb98a370b31d5692749df82 Mon Sep 17 00:00:00 2001 From: lwvmobile Date: Sat, 29 Jul 2023 15:28:57 -0400 Subject: [PATCH] Fix Typo; Update Readme with Build Intructions; --- CMakeLists.txt | 2 +- README.md | 17 ++++++++++++++++- 2 files changed, 17 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 1f0729e..9bb2be8 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -6,7 +6,7 @@ if(MSVC) add_definitions(-D_USE_MATH_DEFINES) endif() -#use cmake option -DNOTONES=OFF to disable AMBE+2 Tones +#use cmake option -DNOTONES=ON to disable AMBE+2 Tones option(NOTONES "Disable AMBE+2 Tones" OFF) if (NOTONES) diff --git a/README.md b/README.md index 6c1d9f8..ceff049 100644 --- a/README.md +++ b/README.md @@ -9,10 +9,25 @@ Readers are strongly advised to check for any patent restrictions or licencing requirements before compiling or using this source code. ``` -mbelib 1.3.3T +mbelib 1.3.3T w/ AMBE+2 Tone Synthesis ``` mbelib supports the 7200x4400 bit/s codec used in P25 Phase 1, the 7100x4400 bit/s codec used in ProVoice, AMBE used in DSTAR, and AMBE+2 used in DMR, NXDN, P25 Phase 2, dPMR, etc. ``` + +Build Instructions + +``` +git clone https://github.com/lwvmobile/mbelib.git +git checkout ambe_tones +cd mbelib +mkdir build +cd build +cmake .. +make +sudo make install +``` + +To Disable AMBE+2 Tones, run cmake with option `cmake -DNOTONES=ON ..` when building. \ No newline at end of file