Forums > MaxMSP

MAX into FLASH

February 3, 2010 | 8:06 pm

I have a MAX application and I want to include it into FLASH. All the graphics are done by a designer in FLASH. I just need to put the sound files from MAX into FLASH, but I do not know how.


February 3, 2010 | 10:40 pm

Just record the sound files using sfrecord~ and load them into Flash as usual. Audacity can convert to .mp3 if you want to go that route, though Flash should compress them too.

There used to be a more straightforward way to communicate messages between the two worlds, but Quicktime made some changes recently which killed this. You may get some luck with FLOSC if you want to do this—have Max values affect parameters in your Flash app, or vice-versa.


February 8, 2010 | 11:25 pm

The sound files are more of a whole sound engine. So, that’s why I do not know how to include it into FLASH


February 9, 2010 | 8:11 am

you may, as much as Flash allows, re-write max/msp algorithm in Flash script if everything has to be in Flash.
otherwise there some things that connect Flash and max/msp like,
http://www.nullmedium.de/dev/flashserver/
but this is probably not what you are looking for…

java synth might be another option to re-write your sound engine to integrate with Flash but i could be very wrong…


February 13, 2010 | 2:28 pm

The sound engine consist of a key object through which the sounds/music is going to be entered through computer keyboard.


February 13, 2010 | 5:34 pm

let me see if i got this right,
what your max patch does is if you press a key on the keyboard,
a sound file plays back without any DSP.

that should be easy to re-write in flash action script.
i think flash doesn’t handle any DSP except volume and panning.


February 13, 2010 | 5:38 pm

Actually Actionscript 3 can be used to do all kinds of things dsp related. I’ve seen some examples of pitch-shifting and waveform generation done purely in Flash with AS3. I don’t have and links to hand, but they shouldn’t be hard to find. It will be sigificantly more difficult to do such things in AS3 rather than MaxMSP though.


February 16, 2010 | 8:27 pm

no, no, no. The computer keyboard acts as a piano keyboard. That’s why I need MAX. If you press on a keyboard it it sends note messages to a piano keyboard which are heard as a tones on a piano.
Besides, I do not knot Actionscript.

The sound files are a different thing. I think I am going with the suggestion that seejayjames gave me and load the into Flash. With them I don,t have a problem, but with the computer/piano keyboard.


February 17, 2010 | 1:18 am

You can not embed the entire Max environment into a flash movie.


February 19, 2010 | 8:57 pm

HOW?????

How can I embed the entire Max environment into FLASH???


February 19, 2010 | 9:00 pm

I repeat, you can not embed the entire Max environment into a flash movie.


February 19, 2010 | 9:07 pm

how can I embed the entire Max environment into flash WAS A MISTAKE, and I appologize.

But I do not want to embed the entire Max environment. Only the module where a computer keyboard acts as a piano. Namely, there are a specific keys on a komputer keyboard when pressed are sent to a piano (kslider object).

How can I include that portion of Max into Flash???
please help!!!!


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