Audio Mixer: Usage In GraphEdit

From AVObjects Knowledge Base
(Difference between revisions)
Jump to: navigation, search
Line 11: Line 11:
 
Render one or more output pins of the Audio Mixer.
 
Render one or more output pins of the Audio Mixer.
  
Open the property page of the Audio Mixer. You can select next common parameters for filter:
+
Open the property page of the Audio Mixer. You can select the following common parameters for the filter:
  
- "Max delay" value (maximal delay between output of samples from Audio Mixer and playing of the appropriate sound in speakers).
+
* "Max delay" value (maximum delay between output of samples from Audio Mixer and playing of the appropriate sound in speakers).
  
- "Don't correct delay" flag. If this flag is set, then delay correction (and "Max delay" control) disabled.
+
* "Don't correct delay" flag. If this flag is set, the delay correction (and "Max delay" control) is disabled.
  
- "Wait for EndOfStream from all input pins" flag. This flag used for send EndOfStream notification to output pin if EndOfStream received from all input pins or from any input pin.
+
* "Wait for EndOfStream from all input pins" flag. This flag used for send EndOfStream notification to output pin if EndOfStream received from all input pins or from any input pin.
  
- "Fill gaps" flag. This flag used for fill output samples with silence if samples from some input pins not received.
+
* "Fill gaps" flag. This flag used to fill output samples with silence if samples from some input pins are not received.
  
For each output pin (pin number specified in "Output" control) can be set:
+
For each output pin (pin number specified in "Output" control) the following parameters can be set:
  
- "Number of channels" from 1 to 32.
+
* "Number of channels" from 1 to 32.
  
- "Mask" hex value: channel mask
+
* "Mask" hex value: channel mask.
  
- Dynamic range compression parameters (threshold and ratio)
+
* Dynamic range compression parameters (threshold and ratio).
  
- Mixing parameters (matrix of gain factors): 0.0 is silence, 1.0 is original level.
+
* Mixing parameters (matrix of gain factors): 0.0 is silence, 1.0 is original level.

Revision as of 19:33, 28 May 2010

Audio Mixer GraphEdit usage instructions.

Using Audio Mixer to mix in custom mode.

Render media files or insert audio source filters in GraphEdit.

Insert Audio Mixer in GraphEdit, open property page and select "Custom" mode in mode control. Press "Apply" or "OK" on propertry frame.

Connect uncompressed outputs to the inputs of the Audio Mixer. All outputs should have identical frequency and number of bits per audio channel (only 8 or 16 bits supported in current version).

Render one or more output pins of the Audio Mixer.

Open the property page of the Audio Mixer. You can select the following common parameters for the filter:

  • "Max delay" value (maximum delay between output of samples from Audio Mixer and playing of the appropriate sound in speakers).
  • "Don't correct delay" flag. If this flag is set, the delay correction (and "Max delay" control) is disabled.
  • "Wait for EndOfStream from all input pins" flag. This flag used for send EndOfStream notification to output pin if EndOfStream received from all input pins or from any input pin.
  • "Fill gaps" flag. This flag used to fill output samples with silence if samples from some input pins are not received.

For each output pin (pin number specified in "Output" control) the following parameters can be set:

  • "Number of channels" from 1 to 32.
  • "Mask" hex value: channel mask.
  • Dynamic range compression parameters (threshold and ratio).
  • Mixing parameters (matrix of gain factors): 0.0 is silence, 1.0 is original level.
Personal tools