DSheirer / jmbe

Java AMBE/IMBE audio decoder
GNU General Public License v3.0
81 stars 29 forks source link

Copyright (C) 2015-2020 Dennis Sheirer

jmbe - Java Multi-Band Excitation library

Audio conversion library for decoding MBE encoded audio frames.

Decodes IMBE 144-bit and AMBE 72-bit encoded 20 millisecond audio frames to 8 kHz 16-bit mono PCM encoded audio.

PATENT NOTICE

This source code is provided for educational purposes only. It is a written description of how certain voice encoding/decoding algorithms could be implemented. Executable objects compiled or derived from this package may be covered by one or more patents. Readers are strongly advised to check for any patent restrictions or licensing requirements before compiling or using this source code.

Note: this patent notice is verbatim from the mbelib library README at (https://github.com/szechyjs/mbelib)

End Users: Creating the JMBE Library (Version 1.0.7+)

YOU DO NOT HAVE TO INSTALL THE JAVA JDK. The instructions for creating the JMBE library have changed starting with version 1.0.7.

  1. Download the latest JMBE Creator for your operating system from the Releases page.
  2. Unzip the JMBE Creator
  3. Open a command/console window and run the JMBE Creator application
    • Windows: (unzip directory)/bin/creator.bat
    • Linux/OSX: (unzip directory)/bin/creator
  4. When the program finishes, it will display the location of your JMBE library.
  5. Move the library to a permanent location

Note: for sdrtrunk use the menu item View > Preferences and then use the JMBE Audio Library section to tell sdrtrunk where your compiled JMBE library is located.

Software Developers - Using the JMBE audio conversion library in your own java program

WINDOWS:

gradlew.bat api

LINUX:

./gradlew api

Creating Legacy JMBE Library (Versions prior to 1.0.7)

Preparing to Compile the Library From Source Code

WINDOWS: Compiling the Library from Source Code

This should respond with the directory where you have installed the JDK.

This should respond with the java version.

Note: for sdrtrunk use the menu item View > Preferences and then use the JMBE Audio Library section to tell sdrtrunk where your compiled JMBE library is located.

LINUX: Compiling the Library from Source Code

(https://askubuntu.com/questions/175514/how-to-set-java-home-for-java)

This should respond with the directory where you have installed the JDK.

This should respond with the java version.