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.
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.
The sound files are more of a whole sound engine. So, that’s why I do not know how to include it into FLASH
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,
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…
The sound engine consist of a key object through which the sounds/music is going to be entered through computer keyboard.
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.
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.
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.
You can not embed the entire Max environment into a flash movie.
How can I embed the entire Max environment into FLASH???
I repeat, you can not embed the entire Max environment into a flash movie.
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???
Forums > MaxMSP