This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

Channel Mapping

Examine the Audio Device Writer block in a Simulink® model and specify a nondefault channel mapping.

1. Run the simulation. The Audio Device Writer sends a stereo audio stream to your computer's default audio output device. If you are using a stereo audio output device, such as headphones, you can hear a tone from one speaker and noise from the other speaker.

2. Specify a nondefault channel mapping:

a. Stop the simulation.

b. Open the Audio Device Writer block to modify parameters.

c. On the Advanced tab, clear the Use default channel mapping parameter.

d. Specify the Device output channels in reverse order: [2,1]. If you are using a stereo output device, such as headphones, you hear that the noise and tone have switched speakers.

See Also

| | |

Related Topics