Forums > MaxMSP

max/msp —-> C++

February 20, 2007 | 5:35 pm

is there some way to convert a simple max patch to C++? I’m having a hard time finding anything about it online. Thankz


February 20, 2007 | 6:08 pm

Download the max sdk, it has examples that
show how to create externals.

—– Original Message —–
From: Scott Tolinski
Date: Tuesday, February 20, 2007 11:41 am
Subject: [maxmsp] max/msp —-> C++

>
> is there some way to convert a simple max patch to C++? I’m having
> a hard time finding anything about it online. Thankz
>


February 20, 2007 | 6:18 pm

well i’m actually trying to turn my max patch into a c++ program that i can modify to put on my nintendo ds sooo that i can wirelessly controll max with midi messages from my ds’s touchscreen


February 20, 2007 | 6:25 pm

I think that Scott is asking if there’s a way to convert a patch into
source code. At this time, no, there isn’t.

jb

Am 20.02.2007 um 19:08 schrieb apalomba@austin.rr.com:

> Download the max sdk, it has examples that
> show how to create externals.
>
>
>
>
>
> —– Original Message —–
> From: Scott Tolinski
> Date: Tuesday, February 20, 2007 11:41 am
> Subject: [maxmsp] max/msp —-> C++
>
>>
>> is there some way to convert a simple max patch to C++? I’m having
>> a hard time finding anything about it online. Thankz
>>


February 20, 2007 | 7:26 pm

hmm that’s a bummer, now i have to find someone that knows c++ enough to make a slider… thanks


February 20, 2007 | 8:23 pm

if you want to make custom user interface elements for Max/MSP, I
highly suggest you check out JSUI (unless I am misunderstanding!)
On Feb 20, 2007, at 2:26 PM, Scott Tolinski wrote:

> hmm that’s a bummer, now i have to find someone that knows c++
> enough to make a slider… thanks

v a d e //

http://www.vade.info
abstrakt.vade.info


February 20, 2007 | 9:31 pm

if you can live with using your ds for midi and then porting midi into max give this a try…ive not looked at it thouroughly but it certainly sounds like a starting point. this guy is running garageband with his ds!

http://xbox.hackaday.com/2006/11/23/happy-thxgiving-dsmidiwifi/

hope it helps.
Will


February 20, 2007 | 9:41 pm

yes this is what i’m wanting to do.. i planned on using their tools to get the midi to my computer, i just wanted to have a custom gui on the ds. Like i basically want a certain amount of vertical and horizontal sliders with values 0 127 that i can controll with the touch screen. I wonder if those guys could show me some stuff?


February 20, 2007 | 11:17 pm

there is already some funky programs for the DS and some for Palm os for midi data. I know that there is a coll wireless program which sets up a mini network server on your machine and connects you ds to it and then you ca neither use it as a kaos pad type thing or a 12 note key bourd to send data. You can also send midi data back to the ds to use the on bourd midi soudn card


February 20, 2007 | 11:32 pm

i thinkalso, the "piano" keys actually work as sliders to, in the video he moves up and down the keys to bend the pitch of guitar. i would assume that since hes using midi to talk to garageband, the values of those ‘keysliders’ are 0 127, you may therefore be able to hack that code and simply change the graphics if your not comfortable building the code from scratch.
good luck! :)

Will


February 21, 2007 | 5:07 pm

Scott Tolinski wrote:
> is there some way to convert a simple max patch to C++? I’m having a
> hard time finding anything about it online.

Its interesting how often this question comes up. If you know what c++
is (or any low level programming language), you’d probably not get the
idea to ask it, and if you don’t know you’d better stick with max, way
easier….

And if you want to convert it to give the source to a knowledgeable c++
programmer, you’d better show him the patch and ask to redo it from
scratch, thats still much less work than the code any future automatic
translator possibly could create.

Searching online should at least pop up some Max list entries, anything
else I can’t imagine will pop up because of lack of existance for good
reasons…

Turning a patch into something which would run on your Nintendo though,
is maybe easier than it sounds. There is a Linux out there which could
be installed on the DS. Then you’d need to get Pd running on the DS and
then port your patch to Pd. (Which will be relatively easy if you know
Max, there is even a tool to translate it at least partially…)

A nice little project for real geeks…

Good luck.


Stefan Tiedje————x——-
–_____———–|————–
–(_|_ —-|—–|—–()——-
– _|_)—-|—–()————–
———-()——–www.ccmix.com


Viewing 11 posts - 1 through 11 (of 11 total)