Standalone inter device audio communication

Norman Freund's icon

So I've built a few Max standalone audio processing devices -- tick.

What if I want to route say the audio output of standalone "A" to standalone "B", in a modular fashion as is typically done with hardware pedals? Rather than hardwiring "A" and "B" in a separate Max standalone.

Unfortunately when I go to the Audio Status in Max where I can select the Input and Output Devices for audio, it only lists the hardware audio devices, not the internal ones like (read wish list) "Standalone A Audio Output".

Sure I could use something like SoundFlower to have it act as the internal intermediary, but is this the best way?

It would be nice if in Max during the development stage I could at the audio output end, like the ezdac~ object, allow it to create those "additional" internal audio routing lines, so the other standalone Max devices could use them as inputs. So when the Audio Status is brought up those internal routings are listed.

Maybe I am barking up the wrong tree and have misunderstood the design philosophy of Max.

Thanks in advance,

Regards,
Norman

Source Audio's icon

you must use inter application audio routing software for that,

jack, blackhole, soundflower, whatever.

Norman Freund's icon

Thanks SOURCEAUDIO.

Norman Freund's icon

I tried SoundFlower:

After a couple of minutes routing the audio from one Max Standalone (compiled, i.e. build standalone) to another Max Standalone via SoundFlower 2 channel,

I start to hear crackles in the sound, more distortion then no sound what so ever. If I wait long enough it comes back again.

So I try BlackHole:

Similar deal, after a 30 seconds or so, crackles and distortion.

My DSP settings below:

My OSX settings on my iMac:

Will try as an aggregate device next. Aggregate device with just BlackHole in, after restarting my iMac, same problems. BlackHole gave the same problem. Will experiment with different I/O Vector sizes. IO Vector sizes of 2048,256,512 tried, all failed. Tried a 128 signal vector size, same deal.

So am reverting back to original settings IO Vector size 512 and signal vector size 64.

This pretty much rules out any inter app audio communication, including Max standalone to Max standalone.

Surely there must be a better approach for at least Max Standalones to talk audio between them selves?

To complete the picture I am using a Native Instruments Komplete Audio interface running on an iMac Late 2014 system 8 Gb RAM 3.5 GHz quad-core intel Core i5.

Putting the question slightly differently, what is the intended approach for modular multi Max projects?