Audio Mixer

From AVObjects Knowledge Base
(Difference between revisions)
Jump to: navigation, search
(Overview)
 
(83 intermediate revisions by 6 users not shown)
Line 1: Line 1:
A DirectShow filter for real-time mixing of multiple audio streams.
+
<!--RM_ID:20-->
 +
<!--H1:Audio Mixer-->
 +
<!--TITLE:Audio Mixer DirectShow filter-->
 +
<!--DESCRIPTION:DirectShow filter for real-time mixing of multiple mono, stereo or multichannel audio streams.-->
 +
<!--KEYWORDS:Audio Mixer Multichannel Stereo Mono DirectShow DRC Compressor-->
 +
{{This|products/special_filters/audio_mixer.html}}
 +
{{Audio Mixer: Description}}
 +
 
 
==Overview==
 
==Overview==
  
A DirectShow filter for real-time mixing of multiple audio streams.
+
The Audio Mixer DirectShow filter mixes any number of mono, stereo or multichannel PCM or float streams with 8 to 32 bit depth with unlimited flexibility.
  
 
==Features==
 
==Features==
 +
[[Image:Audio-mixer.jpg|thumb|450px|3 stereo inputs are mixed into one stereo output.]]
 +
* '''Real-time''' mixing.
 +
* '''Up to 64''' mono, stereo or multichannel (up to 32 channels) input or output pins.
 +
* From '''8 to 32''' bits per mono audio sample for any input and output stream.
 +
* Unlimited '''mixing flexibility''': any channel from an input pin can be mixed to any channel of an output pin with user-defined bit depth.
 +
* '''Dynamic range compression''' to eliminate volume overflow (more information on [http://en.wikipedia.org/wiki/Dynamic_range_compression Wikipedia]).
 +
* Seeking support.
 +
{{.idl}}
  
MediaLooks Audio Mixer is a DirectShow filter for real-time mixing of multiple audio streams. (For video mixing features please see our Video Mixer DS filter or object.)
+
==Supported Content==
 
+
Features:
+
* Real-time mixing.
+
* Unlimited number of stereo or mono input & output pins.
+
* Unlimited mixing flexibility: any input pin can be mixed to any output pin.
+
 
+
Input/output format: PCM Audio.
+
 
+
The image below illustrates how 2 stereo inputs are mixed into one mono output with a 30% decrease of volume.
+
 
+
===Future features===
+
 
+
* Mixing of several input streams into one multichannel stream (WAVE-EX).
+
 
+
== DirectShow filter specification ==
+
 
+
Audio mixer is a standard DirectShow filter.
+
 
+
Number of input pins >= 1 (new pin will be added after connection of all
+
free input pins).
+
 
+
Number of output pins >= 1 (new pin will be added after connection of all
+
free output pins).
+
 
+
Input/output media type: MEDIATYPE_Audio, MEDIASUBTYPE_PCM, FORMAT_WaveFormatEx.
+
 
+
Parameters of format:
+
 
+
WAVEFORMATEX: wFormatTag=WAVE_FORMAT_PCM
+
 
+
WAVEFORMATEX: nSamplesPerSec, wBitsPerSample: the same for all inputs/outputs.
+
 
+
WAVEFORMATEX: nChannels: 1 or 2 (mono or stereo). Can be different for
+
different input/output pins.
+
 
+
Each input channel can be mixed with second channel of the same pin (for
+
stereo inputs) or with any channel of another input pin (or several input
+
pins). Input channels can be switched on another output pin in play time
+
also (without graph stop).
+
 
+
Notes:
+
 
+
* All input frequencies should be identical (resampling not implemented in current version).
+
 
+
* After start of graph the media type of output pins cannot be changed (mono to stereo and vice versa).
+
 
+
The filter will have a COM interface and property page for set/get parameters of mixing (Input/channel -> Output/channel).
+
 
+
== GraphEdit registration categories ==
+
  
You can see filter in GraphEdit:
+
* Input/output format: simple (WAVE_FORMAT_PCM), multichannel (WAVE_FORMAT_EXTENSIBLE) or float (WAVE_FORMAT_IEEE_FLOAT) Audio.
 +
* Audio frequencies must be the same for all input and output streams.
  
DirectShow Filters -> MediaLooks AudioMixer
+
==Future Extentions==
MediaLooks Filters -> MediaLooks AudioMixer
+
  
== GraphEdit usage instructions ==
+
* Resampling (connections with different audio frequencies will be allowed).
  
Render two (or more) media files in GraphEdit. Connect uncompressed
+
==See also==
outputs to the inputs of the Audio Mixer and render one or more output
+
pins (AM Out) of the Audio Mixer.
+
  
Open the property page of the Audio Mixer. The selector on the left
+
* [[Audio Mixer: Technical Specs]]
shows the rendered output pins - if you have rendered only one one
+
* [[Audio Mixer: Usage In GraphEdit]]
output pin, only "AM Out 01" is displayed.
+
* [[Audio Mixer DirectShow Filter: Release Notes]]
  
The grid matrix on the right defines what is to be output to the selected output pin. Values from 0 (silence - in) to 1 (original level) are accepted. In the current version an empty field will also be treated as silence. If values higher than 1 are specified, the filter will work as an amplifier.
+
===Action Items===
  
For editing the grid - either double click or press "Space" or "F2".
+
* {{Audio Mixer: Download}}
 +
* {{Contact Support}}
 +
* {{Place Order!}}
  
For example, if you have two input stereo streams and you wish to mix
+
{{Prices|950|1650|2400|300606777|300606778|300606779}}
these streams in such a way that both of the input left channels are
+
mixed to the right output channel and both input right channels - to
+
the left, and at the same time decrease the volume of each channel by
+
30% - this is how your grid should look like.
+
  
==Complementary components==
+
<!--[[Category:DirectShow Filters]]
* Audio (Video) delay filter
+
[[Category:Audio Filters]]-->
 +
[[Category:Special Filters]]
 +
__NOTOC__

Latest revision as of 15:18, 21 April 2023

This page is a copy of the original page on the AVObjects' web site and can also be viewed here. DirectShow filter for real-time mixing of multiple mono, stereo or multichannel audio streams.

Overview

The Audio Mixer DirectShow filter mixes any number of mono, stereo or multichannel PCM or float streams with 8 to 32 bit depth with unlimited flexibility.

Features

3 stereo inputs are mixed into one stereo output.
  • Real-time mixing.
  • Up to 64 mono, stereo or multichannel (up to 32 channels) input or output pins.
  • From 8 to 32 bits per mono audio sample for any input and output stream.
  • Unlimited mixing flexibility: any channel from an input pin can be mixed to any channel of an output pin with user-defined bit depth.
  • Dynamic range compression to eliminate volume overflow (more information on Wikipedia).
  • Seeking support.

Specifications and description of user interfaces can be found in the .idl file in the \Idl folder of the filter installation directory.

Supported Content

  • Input/output format: simple (WAVE_FORMAT_PCM), multichannel (WAVE_FORMAT_EXTENSIBLE) or float (WAVE_FORMAT_IEEE_FLOAT) Audio.
  • Audio frequencies must be the same for all input and output streams.

Future Extentions

  • Resampling (connections with different audio frequencies will be allowed).

See also

Action Items

Prices

Single Application License 950 EUR <div class="floatright">Buy.jpg</div>
Single Developer License 1650 EUR <div class="floatright">Buy.jpg</div>
Team License 2400 EUR <div class="floatright">Buy.jpg</div>
Personal tools