MATLAB: Does Multi Channel Audio with the MOTU UltraLite-mk3 does not work (audioDeviceWriter)

8Audio Toolboxchannelmultispeaker

Why does Multi Channel Audio with my MOTU UltraLite-mk3 does not work (audioDeviceWriter)?
I am using 'DirectSound' as a driver defined in the audioDeviceWriter command:
deviceWriter = audioDeviceWriter('SampleRate',Fs,'BitDepth','16-bit integer','Driver', ...
'DirectSound','BufferSize',1024,'Device','MOTU Analog (MOTU Audio Wave for 64 bit)');

Best Answer

The correct syntax for this workflow is the following:
deviceWriter = audioDeviceWriter('SampleRate',Fs,'BitDepth','16-bit integer',...
'ChannelMappingSource',"Property",'ChannelMapping',1:8,'BufferSize',1024,...
'Driver','ASIO','Device','MOTU Audio ASIO');
Please use ASIO for multi-channel audio for this device.