Skip to content

This library is a Java implementation of Shorten audio decoder. The code is based on v3.6.1 of the Shorten C code. Fork of:

License

Notifications You must be signed in to change notification settings

Tianscar/javasound-shorten

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Java Implementation of Shorten Decoder

This is a fork of Java Implementation of Shorten Decoder, with JavaSound SPI support.

This library is a Java implementation of Shorten audio decoder. The code is based on v3.6.1 of the Shorten C code. This implementation accepts Shorten files that have been generated from either WAV zor AIFF files.

The code is based around decoding PCM data, but it can also successfully decode files using:

  • TYPE_AU1 - original lossless ulaw (8-bit)
  • TYPE_AU2 - new ulaw with zero mapping (8-bit)
  • TYPE_AU3 - lossless alaw (8-bit)

Add the library to your project (gradle)

  1. Add the Maven Central repository (if not exist) to your build file:
repositories {
    ...
    mavenCentral()
}
  1. Add the dependency:
dependencies {
    ...
    implementation 'com.tianscar.javasound:javasound-shorten:3.6.2'
}

Usage

Tests and Examples
Command-line interfaces

Note you need to download test audios here and put them to /src/test/java/resources to run the test code properly!

License

BSD 3-Clause

About

This library is a Java implementation of Shorten audio decoder. The code is based on v3.6.1 of the Shorten C code. Fork of:

Topics

Resources

License

Stars

Watchers

Forks

Languages