I'm using Simulink to output 2 sine waves through my audio output (headphones) 3.5mm jack. I want one of the sinusoids to be sent out Channel 1, and the other sinusoid sent out Channel 2.
I have tried using 2 sine wave blocks wired to 2 "To Audio Device" blocks, each with a different channel specified which gives the error 'A given audio device may only be opened once.'
I have tried wiring both sine blocks to a single "To Audio Device" block which do not connect.
I have tried using the Mux, Vector Concatenate and Matrix Concatenate blocks to combine the sinusoids before feeding the output into the To "Audio Device Block", which gave undesirable results.
I have got both sine waves working individually, but not both simultaneously.