MAX into FLASH

Feb 3, 2010 at 8:06pm

MAX into FLASH

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.

#48201
Feb 3, 2010 at 10:40pm

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.

#173323
Feb 8, 2010 at 11:25pm

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

#173324
Feb 9, 2010 at 8:11am

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…

#173325
Feb 13, 2010 at 2:28pm

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

#173326
Feb 13, 2010 at 5:34pm

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.

#173327
Feb 13, 2010 at 5:38pm

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.

#173328
Feb 16, 2010 at 8:27pm

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.

#173329
Feb 17, 2010 at 1:18am

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

#173330
Feb 19, 2010 at 8:57pm

HOW?????

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

#173331
Feb 19, 2010 at 9:00pm

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

#173332
Feb 19, 2010 at 9:07pm

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!!!!

#173333

You must be logged in to reply to this topic.