Group Abstract Group Abstract

Message Boards Message Boards

WE/WD not recognizing multiple speaker outputs from MOTU Audio Interface

I have an audio interface (Motu 8a) that has 8 analog audio out ports that are each connected to a unique speaker. I want to a Wolfram Language expression to play audio from one speaker and not the rest. As far as I can tell Mathematica only recognizes my Audio Interface as having Left+Right input channels. Assume I have a four-channel audio object and I want each channel to get mapped to a unique speakerm then I think I should be able to do with using the following.

Audio[a, AudioChannelAssignment -> {1,2,3,4}]

But after a lot of testing and confusion I think I see that Mathematica only outputs two digital signals corresponding to Left+Right. Since my audio interface only receives two signals I cannot split them onto different output speakers.

I am stumped and Ableton Live accomplishes everything I need it to, but I would rather script some things.

POSTED BY: Kyle Keane
3 Replies

OK, for you crazy people like me I found a workaround by exporting 8-channel .wav from Mathematica and then playing it in the JRiver Media Center software with some settings tweaked to send 7.1 Surround Sound with no subwoofer frequency filtering. This means I run code which exports a file I then use some keyboard shortcuts to switch apps and play the file which actually hotswaps as soon as you hit play with whatever the current audio file is. This is almost painless, would be ideal if I could just issue a command line command using Run[] but I haven't figured out how to do that. I suspect there is someone who could tell me how to do this all using some VLC command, but until they come a few keyboard shortcuts will suffice. Attaching my multiple track audio file along with my testing notebook that generates the file for others to play with, it includes screenshots of the settings I tweaked in JRiver Media Center.

POSTED BY: Kyle Keane
POSTED BY: Kyle Keane

Wolfram is not correctly routing audio to MOTU inputs via USB (all other DAWs and audio editing programs are able to do it correctly.

Below is a screenshot of my MOTU routing config and the nonsensical behavior of AudioChannelAssignment.

enter image description here

AudioChannelAssignment does the following nonsense

AudioChannelAssignment -> {1} (*plays audio out of outputs 1 and 2*)
AudioChannelAssignment -> {2} (*plays audio out of outputs 2*)
AudioChannelAssignment -> {3} (*plays no audio, same for 4, 5, 6, 7, 8*)
POSTED BY: Kyle Keane
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard