wavelet-audio-error
wavelet-audio error
wavelet-audio-warning
wavelet-audio warning
wavelet-audio-frame-error
wavelet-audio frame error, e.g. stream is out of sync
stream
Option Value Allocation: instance Type: nil
Initarg: :stream
Readers: (frame-error-stream)
wavelet-audio-unknown-metadata
Signaled when metadata type is unknown
metadata
Option Value Allocation: instance Type: nil
Initarg: :metadata
Readers: (unknown-metadata)
wavelet-audio-streaminfo
Option | Value |
Superclasses: | (wavelet-audio-metadata t) |
Metaclass: | standard-class |
Default Initargs: | (:size 14 :type wavelet-audio::+metadata-streaminfo+) |
Stream info metadata.
version
Stream version.Option Value Allocation: instance Type: (wavelet-audio::ub 8)
Initarg: :version
Initform: wavelet-audio::+current-version+
Accessors: (streaminfo-version)
samplerate
Sample rate in Hertz.Option Value Allocation: instance Type: (wavelet-audio::ub 24)
Initarg: :samplerate
Accessors: (streaminfo-samplerate)
bps
Bits per sample.Option Value Allocation: instance Type: (wavelet-audio::ub 8)
Initarg: :bps
Accessors: (streaminfo-bps)
channels
Number of channels.Option Value Allocation: instance Type: (wavelet-audio::ub 8)
Initarg: :channels
Accessors: (streaminfo-channels)
samples
Number of interchannel samples.Option Value Allocation: instance Type: (wavelet-audio::ub 32)
Initarg: :samples
Accessors: (streaminfo-samples)
block-size
Block size in samples.Option Value Allocation: instance Type: (wavelet-audio::ub 16)
Initarg: :block-size
Initform: wavelet-audio:*block-size*
Accessors: (streaminfo-block-size)
skip-steps
Number of the last steps of DWT to skipOption Value Allocation: instance Type: wavelet-audio::skip-steps
Initarg: :skip-steps
Initform: wavelet-audio:*skip-steps*
Accessors: (streaminfo-skip-steps)
history-size
History size for adaptive Rice coderOption Value Allocation: instance Type: (wavelet-audio::ub 8)
Initarg: :history-size
Initform: wavelet-audio:*history-size*
Accessors: (streaminfo-history-size)
wavelet-audio-block
Option | Value |
Superclasses: | (t) |
Metaclass: | standard-class |
Default Initargs: | nil |
Audio block.
streaminfo
streaminfo metadata block for this streamOption Value Allocation: instance Type: wavelet-audio:wavelet-audio-streaminfo
Initarg: :streaminfo
Accessors: (block-streaminfo)
channels
Channel buffers.Option Value Allocation: instance Type: list
Initarg: :channels
Accessors: (block-channels)
number
Number of block in the stream.Option Value Allocation: instance Type: wavelet-audio::non-negative-fixnum
Initarg: :number
Initform: 0
Accessors: (block-number)
open-wavelet-audio
(stream)
Check if
stream
is wavelet audio stream and read metadata.read-block
(stream streaminfo)
Read block from previously opened stream
stream
. streaminfo
metadata block must be
given.decode-block
(wa-block)
Decode audio block.
write-wavelet-audio-header
(stream metadata)
Write identifier and metadata to the stream. This function must
be called first to newly created stream.
encode-block
(streaminfo channels)
Encode channels and return wavelet audio block ready for
writing. NB: content of
channels
is destructively modified.write-block
(stream wa-block)
Write encoded block
wa-block
to the stream
stream
.*block-size*
Audio block size in samples.
*history-size*
History size for adaptive Rice coder
*skip-steps*
Number of the last DWT steps to skip
No node with name
*min-rice-parameter*
.No node with name
*max-rice-parameter*
.