Skip to content

Extended API for the JavaSound subsystem of the Java Platform.

License

Notifications You must be signed in to change notification settings

jseproject/jse-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JavaSound Enhancement Project API

JSE API provides a collection of extended API for the JavaSound subsystem of the Java Platform.

Compatibility

JDK 8+

API

All the API are in 2 classes: Audios and Midis. They're effectively replacements for javax.sound.sampled.AudioSystem and javax.sound.midi.MidiSystem, with more useful methods implemented by the backing SPI providers.

SPI

Sampled

  • AudioResourceReader is an interface to load sampled audio from resources (with a java.lang.ClassLoader and a pathname string).
  • AudioCompressionWriter is an interface to write audio files with specific java.util.Map<String, Object> properties.
  • FormatEncodingProvider is an interface to provide a "unified" or "standard" way to get or check which javax.sound.sampled.AudioFormat.Encoding and javax.sound.sampled.AudioFileFormat.Type are supported.

Midi

  • MidiResourceReader is an interface to load midi audio from resources (with a java.lang.ClassLoader and a pathname string).
  • SoundbankResourceReader is an interface to load midi soundbank from resources (with a java.lang.ClassLoader and a pathname string).

Installing

Maven

<dependencies>
    <dependency>
        <groupId>io.github.jseproject</groupId>
        <artifactId>jse-api</artifactId>
        <version>1.1.0</version>
    </dependency>
</dependencies>

Gradle

repositories {
    mavenCentral()
}

dependencies {
    implementation 'io.github.jseproject:jse-api:1.1.0'
}

License

BSD 3-Clause

About

Extended API for the JavaSound subsystem of the Java Platform.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Languages