Class VorbisEncoderPage
- Assembly
- VisioForge.Core.dll
Configuration page for the Vorbis audio encoder.
public class VorbisEncoderPage : Page, IAnimatable, ISupportInitialize, IFrameworkInputElement, IInputElement, IQueryAmbient, IAddChild, INotifyPropertyChanged, IComponentConnectorInheritance
Implements
Inherited Members
Remarks
Vorbis is an open-source, patent-free audio codec developed by the Xiph.Org Foundation. It's designed to compete with proprietary formats like MP3 and AAC while providing superior audio quality and remaining completely free from licensing restrictions. Vorbis is commonly used within the Ogg container format.
Key features of the Vorbis encoder: - Completely royalty-free and patent-unencumbered - Superior quality to MP3 at equivalent bitrates - Variable bitrate (VBR) encoding with quality-based control - Support for sample rates from 8 kHz to 192 kHz - Mono to 7.1 surround sound support - Excellent performance for music and general audio - Widely supported in open-source software
Quality settings: - Quality scale: -1 to 10 (fractional values supported) - -1: ~45 kbps (very low quality) - 0: ~64 kbps (low quality) - 3: ~112 kbps (medium quality) - 4: ~128 kbps (default, good quality) - 5: ~160 kbps (very good quality) - 6: ~192 kbps (high quality) - 10: ~500 kbps (highest quality)
Common use cases: - Music streaming and downloads - Game audio and sound effects - Podcast distribution - Web audio where licensing is a concern - Open-source multimedia projects
Vorbis provides excellent audio quality and is particularly well-suited for music encoding where patent-free operation is required.
Constructors
VorbisEncoderPage()
Initializes a new instance of the VisioForge.Core.UI.WPF.Dialogs.OutputFormats.Pages.VorbisEncoderPage class. Sets up the UI components for quality-based encoding configuration.
public VorbisEncoderPage()Properties
Quality
Gets or sets the encoding quality level.
public int Quality { get; set; }Property Value
Methods
Fill(ref VorbisEncoderSettings)
Fills the provided settings object with values from the UI controls.
public void Fill(ref VorbisEncoderSettings settings)Parameters
settingsVorbisEncoderSettings-
The settings object to populate with current UI values.
GetPageType()
Gets the encoder settings type associated with this configuration page.
public Type GetPageType()Returns
- Type
-
The VisioForge.Core.Types.X.AudioEncoders.VorbisEncoderSettings type.
Init(VorbisEncoderSettings)
Initializes the encoder page with existing settings.
public void Init(VorbisEncoderSettings settings)Parameters
settingsVorbisEncoderSettings-
The Vorbis encoder settings to load into the UI.
InitializeComponent()
InitializeComponent
public void InitializeComponent()OnPropertyChanged(string)
OnPropertyChanged API.
protected virtual void OnPropertyChanged(string propertyName = null)Parameters
propertyNamestring-
Property name.
PropertyChanged
Property changed event.
public event PropertyChangedEventHandler PropertyChanged