Help with Standalone Applications

Travis Kaufman's icon

Hey everyone,

This is my first post so ::ahem:: "Hello, World!"

Now that that's out of the way, I was wondering if you fine gentlemen and women could help me out with an issue I'm having with building standalone applications on a mac.

I'm trying to make it so that users will be able to specify which audio drivers they can use for inputs and outputs in my application, and yet I can't seem to figure out how to do this. I tried using the standalone object and it doesn't seem to do any good. I also don't know javascript so I don't know any sort of code that would allow the program to search for available audio drivers and create a menu with available inputs and outputs for it.

Can anyone please help me out?? Thanks so much

bkshepard's icon

Hi Travis,

Welcome!

You need to add the equivalent of the Max DSP Status window to your application. Fortunately, that window is also a Max patch, so you can open it and study it to see which elements you need build in for your app. In my Standalones, I have a menu item that opens this window, and I tailor it for the particular needs of the app.

Good luck!

Travis Kaufman's icon

bkshepard thanks so much for the help!! Are you referring to dspstate~? Also, do you just code in the menu item in your standalones, or is there an object for that? I'm pretty noobish with standalones haha

1680.brofist.jpg
jpg
Luke Woodbury's icon

I normally add an object called "DSP Status" (with the quotation marks) which makes sure the DSP patch is added to the stand alone. Then I add the dac~ object at presentation level for the user to double click on or just send an 'open' message to so they can open the settings window.

benj3737's icon
Max Patch
Copy patch and select New From Clipboard in Max.

I just add something like this :

Travis Kaufman's icon

Awesome guys thanks so much! re: bro fist.jpg