Table of Contents

Class DVDMUACoeff

Namespace
VisioForge.Core.Types.MediaInfo
Assembly
VisioForge.Core.dll

Represents the mixing coefficients for DVD Multi-channel User Audio (MUA) downmixing.

public class DVDMUACoeff

Inheritance

Inherited Members

Remarks

DVD MUA (Multi-channel User Audio) allows for dynamic downmixing of multichannel audio to stereo output. This class defines the logarithmic mixing coefficients that control how each source channel contributes to the final left (channel 0) and right (channel 1) stereo output channels.

The coefficients are stored as logarithmic values (base 2) for several reasons: - Efficient computation in digital signal processors - Better precision across a wide dynamic range - Natural representation of audio levels in decibels

In the context of DVD karaoke: - These coefficients allow proper stereo imaging of multichannel karaoke content - Guide vocals can be centered or panned as needed - Instrumental tracks maintain proper stereo separation - Effects can be positioned in the stereo field for optimal impact

The actual mixing gain is calculated as: gain = 2^(Log2Coefficient) For example: - Log2Alpha = 0.0 results in unity gain (1.0) - Log2Alpha = -1.0 results in -6dB attenuation (0.5) - Log2Alpha = 1.0 results in +6dB amplification (2.0)

Properties

Log2Alpha

Gets or sets the logarithmic mixing coefficient for contributing this channel to the left stereo output (channel 0).

public double Log2Alpha { get; set; }

Property Value

double

Remarks

This coefficient determines how much of the source channel is mixed into the left speaker. Common values: - 0.0: Full contribution (unity gain) - -1.0: Half contribution (-6dB) - -2.0: Quarter contribution (-12dB) - -Infinity: No contribution (muted)

For karaoke applications, this helps position audio elements in the stereo field. For example, centering a guide vocal requires equal coefficients for both channels.

Log2Beta

Gets or sets the logarithmic mixing coefficient for contributing this channel to the right stereo output (channel 1).

public double Log2Beta { get; set; }

Property Value

double

Remarks

This coefficient determines how much of the source channel is mixed into the right speaker. By adjusting the ratio between Log2Alpha and Log2Beta, you can control the stereo positioning of the audio source: - Equal values: Center position - Higher Log2Alpha: Panned left - Higher Log2Beta: Panned right

In karaoke systems, different elements might be positioned differently: - Guide vocals: Often centered (equal coefficients) - Instrumental tracks: May use traditional stereo panning - Sound effects: Can be positioned for dramatic effect