Help with Standalone Applications

Jan 16, 2011 at 3:45am

Help with Standalone Applications

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

<3 Travis

#54431
Jan 16, 2011 at 7:31am

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!

#196057
Jan 16, 2011 at 5:29pm

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

[attachment=151420,1680]

Attachments:
  1. brofist.jpg
#196058
Jan 16, 2011 at 5:40pm

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.

#196059
Jan 16, 2011 at 6:18pm

I just add something like this :

– Pasted Max Patch, click to expand. –
#196060
Jan 16, 2011 at 6:40pm

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

#196061

You must be logged in to reply to this topic.