Main Content

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

| | | (Simulink)

Related Topics