Calculates block size (considering padding).
Calculates effective bitrate (considering padding).
Abstract class that is the base for the various Codebook search methods.
The number of audio channels (1=mono, 2=stereo).
If input is raw, defines th number of channels (1=mono, 2=stereo).
Defines the number of channels of the audio input (1=mono, 2=stereo).
Defines the number of channels of the audio input (1=mono, 2=stereo).
The number of audio channels (1=mono, 2=stereo).
Defines the number of channels of the audio input (1=mono, 2=stereo).
Stereo Audio (2 channels).
This function evaluates a series of Chebyshev polynomials.
Check to make sure that this stream has not been closed
Calculates the checksum on the given data, from the give offset and
for the given length, using the given initial value.
Closes this input stream and releases any system resources associated with
the stream.
Gain of enhancer comb filter
The comment String that will appear in the Ogg comment packet.
Defines the encoders algorithmic complexity.
The index one greater than the index of the last valid byte in the buffer.
CRC checksum lookup table
Create the ButtonPanel for the player.
Create the ButtonPanel for the recorder.
Create GUI for the player.
Returns an ImageIcon, or null if the path was invalid.
Create the ScrollPanel for the player.
Pointer within the Data buffer
Print level for messages : Print debug information
Print level for messages : Print debug information
This is where the actual decoding takes place.
Decodes a spx file to wave.
Transforms a mono frame into a stereo frame using intensity stereo info.
Decode the given input bits.
Decode the given input bits.
Decode the given input bits.
Array containing the decoded audio samples.
Decode when packets are lost.
Decode when packets are lost.
Speex Decoder inteface, used as a base for the Narrowband and sideband
decoders.
Decode the given bits to stereo.
Decode the given bits to stereo.
Decode the given bits to stereo.
The default size of the buffer.
The default size of the buffer (UWB stereo requires at least 2560b).
The default number of channels if none is given in the constructor.
The default number of Speex frames that will be put in each Ogg packet.
The default number of Ogg packets that will be put in each Ogg page.
The default quality setting for the Speex encoder.
Default quality setting for the Speex encoding.
The default sample rate if none is given in the constructor.
Default VBR setting for the Speex encoding.
Directory to place destination files
Directory to place destination files
Destination file of decoded audio
Destination file of decoded audio
Defines File format for output audio file (Raw or Wave).
Defines File format for output audio file (Raw or Wave).
Called by the browser or applet viewer to inform this applet that it is
being reclaimed and that it should destroy any resources that it has
allocated.
Called by the browser or applet viewer to inform this applet that it is
being reclaimed and that it should destroy any resources that it has
allocated.
Apply innovation quantization twice for higher quality (and higher bit-rate)
Defines whether or not to use DTX (Discontinuous Transmission).
Gain Codebook (narrowband)
Maximum pitch value allowed
Perceptual filter: A(z/gamma1)
Returns the Average Bit Rate used (0 if ABR is not turned on).
Returns the Average Bit Rate used (0 if ABR is not turned on).
Returns the Average Bit Rate used (0 if ABR is not turned on).
Obtains the audio file format of the File provided.
Obtains an audio input stream from the input stream provided.
Return the AudioFileFormat from the given InputStream.
Return the AudioFileFormat from the given InputStream.
Obtains an audio input stream from the URL provided.
Obtains the file types for which file writing support is provided by this audio file writer.
Obtains the file types that this audio file writer can write from the
audio input stream specified.
Obtains an audio input stream with the specified format from the given
audio input stream.
Obtains an audio input stream with the specified encoding from the given
audio input stream.
Obtains an audio input stream from the File provided.
Obtains an audio input stream from the input stream provided.
Obtains an audio input stream from the input stream provided.
Obtains an audio input stream from the URL provided.
Returns an InputSteam containing the Audio to playback.
Returns an InputSteam containing the Audio to playback.
Get the current Bit Rate.
Returns the current buffer array.
Returns the number of bytes used in the current buffer.
Returns the number of channels.
Returns the number of channels.
Returns the algorthmic complexity.
Returns the algorthmic complexity.
Returns the algorthmic complexity.
Returns whether or not we are using Discontinuous Transmission encoding.
Returns whether or not we are using Discontinuous Transmission encoding.
Returns whether or not we are using Discontinuous Transmission encoding.
Returns whether or not we are using Discontinuous Transmission encoding.
Returns the size in bits of an audio frame encoded with the current mode.
Returns the size in bits of an audio frame encoded with the current mode.
Returns the size in bits of an audio frame encoded with the current mode.
Returns the Encoder being used (Narrowband, Wideband or Ultrawideband).
Returns the excitation array.
Returns the excitation array.
Returns the excitation array.
Returns the excitation array.
Returns the size of a frame.
Returns the size of a frame.
Returns the size of a frame (ex: 160 samples for a narrowband frame,
320 for wideband and 640 for ultra-wideband).
Returns the size of a frame (ex: 160 samples for a narrowband frame,
320 for wideband and 640 for ultra-wideband).
Returns the size of a frame.
Returns the innovation array.
Returns the innovation array.
Returns the innovation array.
Returns the innovation array.
Returns the encoding submode currently in use.
Returns the encoding submode currently in use.
Returns the encoding submode currently in use.
Returns whether perceptual enhancement is enabled or disabled.
Returns whether perceptual enhancement is enabled or disabled.
Returns whether perceptual enhancement is enabled or disabled.
Returns the Pitch Gain array.
Returns the Pitch Gain array.
Returns the Pitch Gain array.
Pull the decoded data out into a byte array at the given offset
and returns the number of bytes processed and just read.
Pull the decoded data out into a byte array at the given offset
and returns the number of bytes of encoded data just read.
Pull the decoded data out into a short array at the given offset
and returns tne number of shorts processed and just read
Returns the number of bytes processed and ready to be read.
Returns the number of bytes of encoded data ready to be read.
Return the progress of the playback.
Return the progress of the playback.
Returns the quality setting for the Speex encoding.
Returns the relative quality.
Returns the relative quality.
Returns the relative quality.
Returns the sampling rate.
Returns the sampling rate.
Returns the sampling rate.
Obtains the set of source format encodings from which format conversion
services are provided by this provider.
Obtains the set of target format encodings to which format conversion
services are provided by this provider.
Obtains the set of target format encodings supported by the format
converter given a particular source format.
Obtains the set of target formats with the encoding specified supported by
the format converter.
Returns whether or not we are using Voice Activity Detection encoding.
Returns whether or not we are using Voice Activity Detection encoding.
Returns whether or not we are using Voice Activity Detection encoding.
Returns whether or not we are using Variable Bit Rate encoding.
Returns whether or not we are using Variable Bit Rate encoding.
Returns whether or not we are using Variable Bit Rate encoding.
Returns the Varible Bit Rate Quality.
Returns the Varible Bit Rate Quality.
Returns the Varible Bit Rate Quality.
Absolute granule position
(the number of audio samples from beginning of file to end of Ogg Packet).
A counter for the number of PCM samples that have been encoded.
If input is raw, defines the sample rate of the audio.
Defines the sampling rate of the audio input.
Defines the sampling rate of the audio input.
Defines the sampling rate of the audio input.
The sample rate of the audio, in samples per seconds (Hz).
Audio sampled at 16 kHz (wideband).
Audio sampled at 22 kHz (FM radio quality).
Audio sampled at 32 kHz (ultra-wideband).
Audio sampled at 44 kHz (CD quality).
Audio sampled at 8 kHz (telephone quality).
The Sideband Frame Size gives the size in bits of a Sideband frame for a given sideband submode.
The Sideband Submodes Bits gives the number bits used to encode the Sideband Submode
The Sideband Submodes gives the number of submodes possible for the Sideband codec.
Sets the Average Bit Rate.
Sets the Average Bit Rate.
Sets the Average Bit Rate.
Sets the buffer to the given value.
Sets the comment for the Ogg Comment Header.
Sets the algorithmic complexity.
Handles the complexity
attribute.
Sets the algorthmic complexity.
Sets the algorthmic complexity.
Handles the destdir
attribute.
Handles the destdir
attribute.
Handles the destfile
attribute.
Handles the destfile
attribute.
Sets whether or not to use Discontinuous Transmission encoding.
Handles the dtx
attribute.
Sets whether or not to use Discontinuous Transmission encoding.
Sets whether or not to use Discontinuous Transmission encoding.
Handles the enhanced
attribute.
Handles the failonerror
attribute.
Handles the failonerror
attribute.
Sets the number of Audio Frames that are to be put in every Speex Packet.
Sets the encoding submode.
Sets the encoding submode.
Sets the encoding submode.
Handles the mode
attribute.
Handles the nframes
attribute.
Sets the number of Speex Packets that are to be put in every Ogg Page.
Sets the output format for a PCM Wave file.
Enables or disables perceptual enhancement.
Enables or disables perceptual enhancement.
Enables or disables perceptual enhancement.
Handles the quality
attribute.
Sets the Quality (between 0 and 10).
Sets the Speex encoder Quality.
Handles the quiet
attribute.
Handles the quiet
attribute.
Sets the Stream Serial Number.
Sets the Stream Serial Number.
Sets the output format for a Speex Wave file.
Handles the srcfile
attribute.
Handles the srcfile
attribute.
Setup the JavaSound System to play the Audio.
Setup the JavaSound System to play the Audio.
Setup some task variables.
Setup some task variables.
Sets whether or not to use Voice Activity Detection encoding.
Handles the vad
attribute.
Sets whether or not to use Voice Activity Detection encoding.
Sets whether or not to use Voice Activity Detection encoding.
Sets whether or not to use Variable Bit Rate encoding.
Handles the vbr
attribute.
Sets whether or not to use Variable Bit Rate encoding.
Sets whether of not the encoder is to use VBR.
Sets whether or not to use Variable Bit Rate encoding.
Sets the Varible Bit Rate Quality.
Sets the Varible Bit Rate Quality.
Sets the Varible Bit Rate Quality.
Handles the verbose
attribute.
Handles the verbose
attribute.
Array of size 1, used by the read method to read just 1 byte.
See the general contract of the skip
method of
InputStream
.
See the general contract of the skip
method of
InputStream
.
Ratio of energies: E(left+right)/[E(left)+E(right)]
Smoothed left channel gain
Specifies any Speex encoding.
Specifies an OGG Speex file.
Converts an Ogg Speex bitstream into a PCM 16bits/sample audio stream.
The size of the Speex header.
Inband code number for Stereo
Specifies constant bitrate, quality 0, Speex encoding.
Specifies constant bitrate, quality 1, Speex encoding.
Specifies constant bitrate, quality 10, Speex encoding.
Specifies constant bitrate, quality 2, Speex encoding.
Specifies constant bitrate, quality 3, Speex encoding.
Specifies constant bitrate, quality 4, Speex encoding.
Specifies constant bitrate, quality 5, Speex encoding.
Specifies constant bitrate, quality 6, Speex encoding.
Specifies constant bitrate, quality 7, Speex encoding.
Specifies constant bitrate, quality 8, Speex encoding.
Specifies constant bitrate, quality 9, Speex encoding.
Specifies variable bitrate, quality 0, Speex encoding.
Specifies variable bitrate, quality 1, Speex encoding.
Specifies variable bitrate, quality 10, Speex encoding.
Specifies variable bitrate, quality 2, Speex encoding.
Specifies variable bitrate, quality 3, Speex encoding.
Specifies variable bitrate, quality 4, Speex encoding.
Specifies variable bitrate, quality 5, Speex encoding.
Specifies variable bitrate, quality 6, Speex encoding.
Specifies variable bitrate, quality 7, Speex encoding.
Specifies variable bitrate, quality 8, Speex encoding.
Specifies variable bitrate, quality 9, Speex encoding.
Provider for Speex audio file reading services.
Provider for Speex audio file writing services.
Main Speex Decoder class.
Main Speex Encoder class.
Encodings used by the Speex audio decoder.
Constructs a new encoding.
Constructs a new encoding.
FileFormatTypes used by the Speex audio decoder.
A format conversion provider provides format conversion services from one or
more input formats to one or more output formats.
The String that identifies the beginning of the Speex header.
Speex in-band request (submode=14).
Split shape codebook search
List of source files to decode
List of source files to decode
Defines File format for input audio file (Raw, Ogg or Wave).
Defines File format for input audio file (Raw, Ogg or Wave).
Start the Player Component.
Start the playback thread which fills the JavaSound playback buffer.
Called by the browser or applet viewer to inform this applet that it
should start its execution.
Start the playback thread which fills the JavaSound playback buffer.
Called by the browser or applet viewer to inform this applet that it
should start its execution.
Current State of the Finite State Machine
Finite State Machine State: Buffering
Finite State Machine State: Error
Finite State Machine State: Initialised
Finite State Machine State: Paused
Finite State Machine State: Playing
Finite State Machine State: Recording Paused
Finite State Machine State: Recording
Finite State Machine State: Stopped
Stop the Player Component.
Stop the playback thread and destroy all resources.
Called by the browser or applet viewer to inform this applet that it
should stop its execution.
Stop the playback thread and destroy all resources.
Called by the browser or applet viewer to inform this applet that it
should stop its execution.
A unique serial number that identifies the Ogg stream.
A unique serial number that identifies the Ogg stream.
SubMode(int,int,int,int,org.xiph.speex.LspQuant,org.xiph.speex.Ltp,org.xiph.speex.CbSearch,float,float,float,int) - constructor for class org.xiph.speex.
SubMode Constructor
"Pitch enhanced" excitation
Print level for messages : Print only warnings and errors
Print level for messages : Print only warnings and errors
Table describing the number of bit per Speex frame, depending on its
mode-1 (1=NB, 2=WB, 3=UWB), channels-1 (1=mono, 2=stereo) and the quality
setting (0 to 10).
Table describing the number of frames per packet in a Speex Wave file,
depending on its mode-1 (1=NB, 2=WB, 3=UWB), channels-1 (1=mono, 2=stereo)
and the quality setting (0 to 10).
The Wideband Quality map indicates which sideband submode to use for the given wideband/ultra-wideband quality setting
Start of weighted signal frame
Builds an Asymmetric "pseudo-Hamming" window.
Returns minimum mean square error.
Writes a stream of bytes representing an audio file of the file format
indicated to the external file provided.
Writes a stream of bytes representing an audio file of the file type
indicated to the output stream provided.
Writes a stream of bytes representing an audio file of the file type
indicated to the output stream provided.
Writes the header pages that start the Ogg Speex file.
Writes the header pages that start the Ogg Speex file.
Writes the initial data chunks that start the wave file.
Writes the header pages that start the Ogg Speex file.
Write the OGG Speex header then the comment header.
Writes a Little-endian int.
Writes a Little-endian int.
Writes a Little-endian int.
Writes a Little-endian long.
Writes a Little-endian long.
Calculate and write the OGG page checksum.
Writes an Ogg Page Header to the given byte array.
Write an OGG page header.
Writes a packet of audio.
Writes a packet of audio.
Writes a packet of audio.
Writes a packet of audio.
Writes a Little-endian short.
Writes a Little-endian short.
Writes a Little-endian short.
Writes a Speex Comment to the given byte array.
Writes a Speex Header to the given byte array.