Table of Contents

Namespace VisioForge.Core.MediaBlocks.AudioEncoders

Classes

AACEncoderBlock

MediaBlock that encodes raw audio into AAC (Advanced Audio Coding) format. AAC is a widely supported audio format offering better quality than MP3 at similar bitrates, commonly used in streaming, broadcasting, and mobile applications. This block supports platform-specific encoders for optimal performance. Implements the VisioForge.Core.MediaBlocks.MediaBlock. Implements the VisioForge.Core.MediaBlocks.IMediaBlockInternals. Implements the IDisposable.

ADPCMEncoderBlock

MediaBlock that encodes raw audio into ADPCM (Adaptive Differential Pulse Code Modulation) format. ADPCM is a lossy audio compression technique that reduces file size while maintaining reasonable quality, commonly used in telecommunications and embedded systems. This block supports configurable block alignment for optimized encoding performance. Implements the VisioForge.Core.MediaBlocks.MediaBlock. Implements the VisioForge.Core.MediaBlocks.IMediaBlockInternals. Implements the IDisposable.

ALAWEncoderBlock

MediaBlock that encodes raw audio into A-law (G.711) format. A-law is a standard audio compression algorithm widely used in European telecommunications systems, providing 8-bit logarithmic quantization of 16-bit audio samples. This encoder is commonly used for telephony applications and VoIP systems where bandwidth efficiency is important. Implements the VisioForge.Core.MediaBlocks.MediaBlock. Implements the VisioForge.Core.MediaBlocks.IMediaBlockInternals. Implements the IDisposable.

AptXDecoderBlock

MediaBlock that decodes AptX compressed audio streams into raw PCM audio. AptX is a psychoacoustic audio codec algorithm that provides CD-like audio quality with low latency, making it ideal for wireless audio reception over Bluetooth. This decoder handles AptX bitstreams and outputs high-quality stereo PCM audio. Implements the VisioForge.Core.MediaBlocks.MediaBlock. Implements the VisioForge.Core.MediaBlocks.IMediaBlockInternals. Implements the IDisposable.

AptXEncoderBlock

MediaBlock that encodes raw audio into AptX format for Bluetooth audio applications. AptX is a psychoacoustic audio codec algorithm that provides CD-like audio quality with low latency, making it ideal for wireless audio transmission over Bluetooth. The codec uses a 4:1 compression ratio and supports stereo audio only. Implements the VisioForge.Core.MediaBlocks.MediaBlock. Implements the VisioForge.Core.MediaBlocks.IMediaBlockInternals. Implements the IDisposable.

FLACEncoderBlock

MediaBlock that encodes raw audio into FLAC (Free Lossless Audio Codec) format. FLAC is a lossless audio compression format that reduces file size without quality loss, making it ideal for archival storage, high-quality audio production, and applications where audio fidelity is critical. Supports configurable compression levels and encoding parameters. Implements the VisioForge.Core.MediaBlocks.MediaBlock. Implements the VisioForge.Core.MediaBlocks.IMediaBlockInternals.

MP2EncoderBlock

MediaBlock that encodes raw audio into MP2 (MPEG-1 Audio Layer II) format. MP2 is a standardized lossy audio compression format that provides good quality at moderate bitrates and is widely used in broadcast applications, DAB radio, and European digital television systems. The encoder offers excellent compatibility with legacy systems while maintaining efficient compression ratios suitable for broadcast transmission and professional audio distribution. Implements the VisioForge.Core.MediaBlocks.MediaBlock. Implements the VisioForge.Core.MediaBlocks.IMediaBlockInternals. Implements the IDisposable.

MP3EncoderBlock

Audio encoder block that compresses raw audio into MP3 (MPEG-1 Audio Layer III) format. MP3 is one of the most widely supported audio formats, offering good compression ratios while maintaining acceptable audio quality. This block uses the LAME encoder for high-quality MP3 encoding with configurable bitrate settings. It supports constant bitrate (CBR) and variable bitrate (VBR) encoding modes, with bitrates ranging from 32 to 320 kbps. The encoder accepts raw PCM audio input and produces compressed MP3 audio output suitable for streaming, storage, or further processing. Common use cases include creating audio files, streaming audio content, and reducing audio bandwidth requirements. The block optionally adds an MP3 parser for streaming scenarios like RTMP to YouTube or Facebook. Implements the VisioForge.Core.MediaBlocks.MediaBlock. Implements the VisioForge.Core.MediaBlocks.IMediaBlockInternals. Implements the IDisposable.

OPUSEncoderBlock

MediaBlock that encodes raw audio into Opus format. Opus is a modern, open-source audio codec designed for low-latency, high-quality audio transmission over the internet. It excels in both speech and music applications, providing superior quality at low bitrates compared to older codecs. Opus is widely used in VoIP, video conferencing, streaming, and real-time communications due to its adaptive bitrate and low encoding delay. Implements the VisioForge.Core.MediaBlocks.MediaBlock. Implements the VisioForge.Core.MediaBlocks.IMediaBlockInternals. Implements the IDisposable.

SpeexEncoderBlock

MediaBlock that encodes raw audio into Speex format. Speex is an open-source speech codec specifically designed for voice over IP (VoIP) applications and speech compression. It provides excellent compression for human speech while maintaining good quality at very low bitrates. The codec features variable bitrate encoding, noise suppression, echo cancellation, and is particularly well-suited for real-time voice communication systems, internet telephony, and voice recording applications. Implements the VisioForge.Core.MediaBlocks.MediaBlock. Implements the VisioForge.Core.MediaBlocks.IMediaBlockInternals. Implements the IDisposable.

VorbisEncoderBlock

MediaBlock that encodes raw audio into Vorbis format. Vorbis is an open-source, lossy audio compression format that provides excellent quality at low bitrates. Designed as a free alternative to MP3, Vorbis offers superior compression efficiency and is commonly used in gaming, streaming applications, and OGG containers. The encoder supports variable bitrate (VBR) encoding for optimal quality-to-size ratio. Implements the VisioForge.Core.MediaBlocks.MediaBlock. Implements the VisioForge.Core.MediaBlocks.IMediaBlockInternals. Implements the IDisposable.

WAVEncoderBlock

MediaBlock that encodes raw audio into WAV (Waveform Audio File Format). WAV is an uncompressed audio format that preserves original audio quality without any loss. It's widely supported across all platforms and applications, making it ideal for professional audio production, archiving, and scenarios where audio fidelity is paramount. The format supports various bit depths and sample rates. Implements the VisioForge.Core.MediaBlocks.MediaBlock. Implements the VisioForge.Core.MediaBlocks.IMediaBlockInternals. Implements the IDisposable.

WMAEncoderBlock

MediaBlock that encodes raw audio into WMA (Windows Media Audio) format. WMA is Microsoft's proprietary lossy audio compression format that offers good compression efficiency and quality. The format supports variable bitrate encoding, lossless compression modes, and advanced features like digital rights management (DRM). WMA is widely supported on Windows platforms and provides excellent integration with Microsoft's media ecosystem, making it suitable for Windows-based applications and Windows Media streaming. Implements the VisioForge.Core.MediaBlocks.MediaBlock. Implements the VisioForge.Core.MediaBlocks.IMediaBlockInternals. Implements the IDisposable.

WavPackEncoderBlock

MediaBlock that encodes raw audio into WavPack format. WavPack is a hybrid lossless/lossy audio compression format that provides both perfect quality preservation and excellent compression ratios. Unlike traditional lossless formats, WavPack can create hybrid files with a lossy core and lossless correction data, offering flexible quality options. The format supports very high compression ratios while maintaining fast encoding/decoding speeds, making it ideal for archival storage, music distribution, and professional audio applications where both quality and file size are important considerations. Implements the VisioForge.Core.MediaBlocks.MediaBlock. Implements the VisioForge.Core.MediaBlocks.IMediaBlockInternals. Implements the IDisposable.