
These might serve as master controls affecting all the mixer's source or target lines. In each case, the controls are all accessed through methods of the Line interface.īecause the Mixer interface extends Line, the mixer itself can have its own set of controls. A mixer used for audio playback might have sample-rate controls on its source data lines. For example, a mixer used for audio capture might have an input port with a gain control, and target data lines with gain and pan controls.

This page discusses the first technique in greater detail, because there is no special API for the second technique.Ī mixer can have various sorts of signal-processing controls on some or all of its lines.

The user might want it to sound louder, quieter, fuller, more reverberant, higher or lower in pitch, and so on. Sometimes, however, you want to be able to modify the signal. The implicit goal has been to deliver samples as faithfully as possible, without modification (other than possibly mixing the samples with those from other audio lines).
Processing sound reference how to#
Previous sections have discussed how to play or capture audio samples.
