Max/MSP + Unity

Lawesome's icon

I am wondering if anyone knows of any tutorials online that helps with making max/MSP work with Unity? I need this as this is part of my Uni project

seejayjames's icon

+1, I just learned about Unity through the earlier posting. Looks like a ton of potential, especially if you can send it commands from Max...

...am getting the free version and will post back if I find anything out...

Yiannis Ioannides's icon

Maybe you'd be interested to follow this thread of mine, we talked about a lot of good things, relating Max, Unity and recently, CryEngine: https://cycling74.com/forums/maxmsp-cryengine as well as my project page, regarding responsive audio for video games: http://audioprogrammingblog.tumblr.com/

Lawesome's icon

yeah i know there is an interoperability kit made (i'll post the link when i find it) but still not entirely sure how that works aswell.

cool, i'll check out those as soon as i can

Lawesome's icon

http://disis.music.vt.edu/main/portfolio.html the kit can be found on that website.

Yiannis Ioannides's icon

Yes sir, for Unity, it's [muy]. Haven't bothered to look at it yet, since I'll be probably using CryEngine for that project of mine, but I guess what [muy] is, is an standalone OSC host platform.

If you manage to interoperate Unity with Max, give the forum a shout, we could all use a good solid tutorial!

Lawesome's icon

cool i will do.

how are you incorporating max with the CryEngine?

jamesson's icon

Deus

No disrespect but I think you need to either post results or publicly admit defeat. Not trying to be a jerk or sound self important, but serious work in adaptive audio apis is being done in fmod and csound. making people follow you down a blind alley is inimical to the learning process.

Max is for other stuff. If c74 hasn't given you a solution by now you need to move on to keep people from wasting time on this.

again - no offense

Joe

Yiannis Ioannides's icon

"Admit defeat?" What is this?

That's kind of uncalled for and silly, if I may say so. It's an ongoing project, and I am still working on things. I am not a programmer, so the solution is still vague and I am getting help from an actual programmer. When it's complete and most importantly, when I have NEW things to share, I will update the forum.

Until then, please relax and do something else. I get to choose what Max is for, thank you very much for your concern. If this thread is a waste of time for you, please feel free not to ever check this thread, no problem on my end.

Now, Lawesome, I am unsure whether I'll be using CryEngine, UDK or Unity. It really depends on the game I'll be showcasing, which I haven't found yet, though from my research, I have found out that CryEngine doesn't really offer much for showcasing. From then on, I'll be using [muy] or UDKOSC.

I will sure be updating you, when the time comes. For the time being, as I mentioned above, I've been very busy trying to work things offline, so my apologies in advance if I don't update the forum the next day or so.

AudioLemon's icon

defeat, blind alley, not serious work - do you not think this is possible Jamesson? It would be a lot of fun to use use a visual patching language with a gaming engine... just even to experiment and try to make some small things. You seem like a fairly techie sort of fellow and I am sure you looked into it. Do you think it would be very difficult for a more casual max user.

Yiannis Ioannides's icon

And needless to say, it's been done before. Just saying. And even if it hasn't, you make it yourself, even if it's hard. It's called innovation. That's how people progress in technology, by innovating.

I am sorry, but this is massive trolling, not really suitable for this forum.

Yiannis Ioannides's icon

Hey man, have you had any luck so far? I will also be using Unity too, but it's pretty difficult to figure out the whole interoperation-UDP part of the project.

Yiannis Ioannides's icon

Hey Grizzle and Lawesome! I promised you folks that I would have let you know if I figured things out with the whole Unity-to-Max interoperation.

Well, I did!

And here's my final work, including the entire thesis documentation! http://audioprogrammingblog.tumblr.com

Anthony Palomba's icon

Hey Ylannis,

Just wanted to say I saw the video you posted.
That is some fantastic work. Well done!

I am pretty familiar with video game audio, having worked
in the game industry as a programmer for a good number of years.
Your composition integrates seamlessly with the action of the
game. Your great use of probability removes any jarring transitions
between action scenes and there is no perceptible repetition.
I especially like the little fills between transitions. It makes
for endless listening.

So in your opinion, do you feel there are any compelling reason
why you would choose Max/Unity integration versus using Wwise or fmod?

I would definitely like to dig into Max/Unity integration myself.
Please let us know if you post examples, it would help me get up the
learning curve!

AudioLemon's icon

Excellent - going to have a look right now. Congrats for sticking with it and getting something done :)

Yiannis Ioannides's icon

Hi Anthony,

Thank you your watching!

It was my senior thesis for school and also, I wanted to invent a - somewhat of a - new technology and inspire others to create their own prototyping environments for video game audio.

Well, to be perfectly honest, most major middlewares out there are more powerful than my prototyping tool, in terms of features and implementability.

But my entire work on this too was based on something neither middlewares have: in the essence of probability-based cue selection. FMOD and Wwise (if I remember correctly) have the "random" function, and as you might very well know, random is chaotic maths; There's no algorithm or equations to determine randomness, so for all you care, you might have a sequence like 0, 0, 2, 0, 3, 5, 0, 1, 0 etc., which in terms of music, it's not really desired.

So I brought in the probability factor which allows you to set your own boundaries and limits to when and how do your cues play, so in other words, you're the master of your assets, but in the same time, have a non-linear musical reaction.

If you check that blog I gave you, I have examples posted, along with how you set them up etc. Enjoy!

And thanks Grizzle! Took me a while but I made it and now it felt nice to offer my to the Max public. Also, all of my asset files will be up in the Project section in a few days, so be sure to check it out!

Heather Reid's icon

Hey! In 2019 I'm looking into something related with this and since the tumblr seems to not be active anymore, could I see your project some other way?

Rick McIlraith's icon

I second Heather's comment! This sounds really interesting and it would be great to see your work but the tumblr link is no longer working.