All Projects → nwaldispuehl → Java Lame

nwaldispuehl / Java Lame

Licence: lgpl-3.0
Native Java port of the LAME library.

Programming Languages

java
68154 projects - #9 most used programming language

Labels

Projects that are alternatives of or similar to Java Lame

Gogglesmm
Goggles Music Manager
Stars: ✭ 41 (-35.94%)
Mutual labels:  mp3
Reach Podcast Player
This is a rss-based podcast player made in electron and angular!
Stars: ✭ 49 (-23.44%)
Mutual labels:  mp3
Kattlo Cli
Kattlo CLI Project
Stars: ✭ 58 (-9.37%)
Mutual labels:  native
Spalert
Native alert from Apple Music & Feedback. Contains Done, Heart & Message and other presets.
Stars: ✭ 1,014 (+1484.38%)
Mutual labels:  native
Actor4j Core
Actor4j is an actor-oriented Java framework. Useful for building lightweighted microservices (these are the actors themselves or groups of them). Enhanced performance of message passing.
Stars: ✭ 48 (-25%)
Mutual labels:  native
Sanic.js
JS Gotta go fast ! | Increase native JS functions performances
Stars: ✭ 50 (-21.87%)
Mutual labels:  native
Titanium Identity
A collection of API's to authenticate with your device: Keychain/Keystore, Touch ID and Face ID
Stars: ✭ 36 (-43.75%)
Mutual labels:  native
Checkmate
Checkmate MP3 Checker is a free program that checks MP3 files for errors.
Stars: ✭ 61 (-4.69%)
Mutual labels:  mp3
Osac
The Open Source Audible Converter
Stars: ✭ 49 (-23.44%)
Mutual labels:  mp3
Nat Explorer
An example project using Nat & Weex.
Stars: ✭ 55 (-14.06%)
Mutual labels:  native
Fennel Nvim
running fennel-lang natively in neovim
Stars: ✭ 44 (-31.25%)
Mutual labels:  native
Format parser
file metadata parsing, done cheap
Stars: ✭ 46 (-28.12%)
Mutual labels:  mp3
Elm Ffi
An FFI interface for Elm
Stars: ✭ 50 (-21.87%)
Mutual labels:  native
Mediaelement
HTML5 <audio> or <video> player with support for MP4, WebM, and MP3 as well as HLS, Dash, YouTube, Facebook, SoundCloud and others with a common HTML5 MediaElement API, enabling a consistent UI in all browsers.
Stars: ✭ 7,767 (+12035.94%)
Mutual labels:  mp3
React Native Redux Firebase Todo
React Native Redux Firebase Todo
Stars: ✭ 59 (-7.81%)
Mutual labels:  native
Ti.flurry
The Flurry Analytics Module for Appcelerator Titanium
Stars: ✭ 37 (-42.19%)
Mutual labels:  native
Soloud
Free, easy, portable audio engine for games
Stars: ✭ 1,048 (+1537.5%)
Mutual labels:  mp3
Javascript Media Recorder
WebRTC video recorder library for Javascript
Stars: ✭ 61 (-4.69%)
Mutual labels:  mp3
React Mp3 Recorder
Microphone recorder for React that captures mp3 audio 🎵
Stars: ✭ 59 (-7.81%)
Mutual labels:  mp3
Node Native Ext Loader
Loader for Node native extensions
Stars: ✭ 51 (-20.31%)
Mutual labels:  native

Java LAME

This java port of LAME 3.98.4 was created by Ken Händel for his 'jump3r - Java Unofficial MP3 EncodeR' project: http://sourceforge.net/projects/jsidplay2/

Original sources by the authors of LAME: http://www.sourceforge.net/projects/lame

The code is - as the original - licensed under the LGPL (see LICENSE).

How to build

To create a jar file, you may start the gradle build process with the included gradle wrapper:

$ ./gradlew jar

The resulting library is then to be found in the following directory:

./build/libs/

You can find an already built Jar file in the releases: https://github.com/nwaldispuehl/java-lame/releases

How to run

After having created a jar file, you certainly can run it as a command line application:

$ cd /build/libs
$ java -jar net.sourceforge.lame-3.98.4.jar

How to run the test

To see the creation of a MP3 file in action one can run the test class LameEncoderTest.java:

$ ./gradlew check

It takes the src/test/resources/test.wav file as input and writes the converted data into build/test.mp3.

How to use Java LAME in a project?

To convert a PCM byte array to an MP3 byte array, you may use Ken Händels LameEncoder which offers the following convenience method for converting chunks of pcm byte array:

LameEncoder#encodeBuffer(final byte[] pcm, final int pcmOffset, final int pcmLength, final byte[] encoded)

A sample of its use can be found in the LameEncoderTest.java: https://github.com/nwaldispuehl/java-lame/blob/master/src/test/java/net/sourceforge/lame/lowlevel/LameEncoderTest.java

Credits

Test sound 'Jingle004' (CC BY-NC 3.0) by 'cydon': https://freesound.org/people/cydon/sounds/133054/

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].