Skip to content

This library is a Java implementation of the tiny version of the WavPack 4.40 decoder and encoder. Fork of:

License

Notifications You must be signed in to change notification settings

Tianscar/javasound-wavpack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Java Implementation of WavPack Codec

This is a fork of Java-WavPack-Decoder and Java-WavPack-Encoder, with JavaSound SPI support.

This library contains a Java implementation of the tiny version of the WavPack 4.40 decoder. It will not handle "correction" files, plays only the first two channels of multi-channel files, and is limited in resolution in some large integer or floating point files (but always provides at least 24 bits of resolution). It also will not accept WavPack files from before version 4.0.

This library also contains a Java implementation of the tiny version of the WavPack 4.40 encoder. It accepts file specifications for a RIFF WAV file source and a WavPack file (.wv) destination and optionally a correction file (.wvc) for demonstrating the hybrid lossless mode.
It does not handle placing the WAV RIFF header into the WavPack file. The regular WavPack unpacker (4.40) and the "tiny decoder" will generate the RIFF header automatically on unpacking and plugins do not generally use the RIFF header information because all relevant information is stored natively. However, older versions of the command-line program will complain about this and require unpacking in "raw" mode.

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-wavpack:1.4.1'
}

Usage

Tests and Examples
Command-line Interfaces

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

License

BSD 3-Clause

About

This library is a Java implementation of the tiny version of the WavPack 4.40 decoder and encoder. Fork of:

Topics

Resources

License

Stars

Watchers

Forks

Languages