public class

AudioFileSoundbankReader

extends SoundbankReader
java.lang.Object
   ↳ javax.sound.midi.spi.SoundbankReader
     ↳ com.sun.media.sound.AudioFileSoundbankReader

Class Overview

Soundbank reader that uses audio files as soundbanks.

Summary

Public Constructors
AudioFileSoundbankReader()
Public Methods
Soundbank getSoundbank(URL url)
Obtains a soundbank object from the URL provided.
Soundbank getSoundbank(InputStream stream)
Obtains a soundbank object from the InputStream provided.
Soundbank getSoundbank(AudioInputStream ais)
Soundbank getSoundbank(File file)
Obtains a soundbank object from the File provided.
[Expand]
Inherited Methods
From class javax.sound.midi.spi.SoundbankReader
From class java.lang.Object

Public Constructors

public AudioFileSoundbankReader ()

Public Methods

public Soundbank getSoundbank (URL url)

Obtains a soundbank object from the URL provided.

Parameters
url URL representing the soundbank.
Returns
  • soundbank object

public Soundbank getSoundbank (InputStream stream)

Obtains a soundbank object from the InputStream provided.

Parameters
stream InputStream representing the soundbank
Returns
  • soundbank object

public Soundbank getSoundbank (File file)

Obtains a soundbank object from the File provided.

Parameters
file the File representing the soundbank
Returns
  • soundbank object