| Audio-Mad documentation | Contained in the Audio-Mad distribution. |
Audio::Mad::Synth - Interface to mad_synth structure
my $synth = new Audio::Mad::Synth; $synth->synth($frame); my ($left, $right) = $synth->samples(); $synth->mute();
This package provides an interface to the underlying mad_synth structure used in the decoder library.
Takes the subband samples stored in frame and synthesizes pcm data from them.
Returns the current frames pcm samples in two scalars; left and right. right will be 'undef' while decoding mono streams.
Mutes the current stream of pcm samples in the synthesizer.
Mark McConnell <mischke@cpan.org>
| Audio-Mad documentation | Contained in the Audio-Mad distribution. |
package Audio::Mad::Synth; 1; __END__