Connecting Spectre to Max/msp

by hzimmerman in Circuits > Art

1018 Views, 6 Favorites, 0 Comments

Connecting Spectre to Max/msp

Screen-Shot-2014-08-10-at-22.09.22.png
Screen-Shot-2014-08-10-at-22.10.25.png

Spectre by Audiofile Engineering is one of the best metering options for OSX. It’s got all kinds of meters (VU, BBC, LU, Nordic, K12, etc.) and look amazing.

So how do we get max/msp to talk to Spectre?

AUNetSend

Screen-Shot-2014-08-10-at-22.12.43.png

Spectre uses AUNetSend by Apple. On the max side of things, you don’t even need to know where this Audio Unit file is. A vst~ object with AUNetSend as its only parameter works just fine. You can see in the picture how that looks.

Open

Screen-Shot-2014-08-10-at-22.03.46.png

The open message will open the Apple supplied dialog of AUNetSend, which you use to connect Spectre with max/msp. If you open it in max/msp, it will tell you it’s listening.

Start Spectre

Screen-Shot-2014-08-10-at-22.03.58.png

After Spectre is running, go to Preferences... - Audio. A dialog will pop up.

Configure Network

Screen-Shot-2014-08-10-at-22.04.04.png
Screen-Shot-2014-08-10-at-22.03.58.png

In the Audio Preferences of Spectre, make sure Network is checked. Then click on Configure.

Connecting

Screen-Shot-2014-08-10-at-22.04.04.png
Screen-Shot-2014-08-10-at-22.03.36.png

As you can see, Spectre is "Not Connected". Select the AUNetSend in the Directory list (if it isn’t already) and click on Connect. Max (or rather OSX) will probably ask you if all this is allowed. Of course we click Allow.

Connected!

Screen-Shot-2014-08-10-at-22.04.13.png
Screen-Shot-2014-08-10-at-22.05.16.png

Now Spectre and max/msp are connected! Yes! All the audio you send to Spectre (via the vst~ object) will now be displayed by those gorgeous meters you selected.

In the last step you find a small example max patch to try this yourself.

Example Max Patch

Screen-Shot-2014-08-10-at-22.09.22.png

----------begin_max5_patcher----------

920.3ocyX1saaBCFF93jqBD6zrHv.Ax1Q8FnmLsiplhbBtItiXxrcRSaU609
7OXBrBTm1NqToDGrM1u9wu9iO5SiG4ur7Hh468Mua7FM5owiFopRVwnpqG4u
EdbUAjo5leA9.ZJGtzehtwCPJAtE0Yaj8awjBDW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