|
-
MIDI access question
Hi,
Could anyone tell me please, how can I access the MIDI port from a Flash application?
I would like to make a music teaching game, controlled by a midi keyboard.
I have found a program called SWFkit which can publish standalone applications to reach windows features. But im not sure if it can handle the MIDI IO. Is there a soulution already or any alternative (free) application development environment based on Flash? Im using Flash since almost a decade, and i dont want to spend time learning a new programming/authoring tool to access the required windows features.
Thanks in advance
Imag
-
this might be of help, although have not tried it out..
http://www.alexisisaac.net/products/flashMidi/
i would like to see you go well with the flash-midi idea,
and also hope to implement midi in my own projects at some point in the future.
if the beta works for you, please post and mention either way..
seems fairly experimental..
perhaps in CS5, midi will be implemented the same way 3D is available in CS4//
or, if you are on windows system,
have a look at this "simple code to illustrate midi i-o"
http://www.brothersoft.com/midiio-190205.html
hope this helps..
Regards
Previewlounge
-
Thanks a lot Previewlonge, this is a new useful clue. I can start to research the topic now.
....
Here is what I found:
- Visp MIDI Proxy with source code: http://visp-vj.com/download/
"This is the Java MIDI proxy application which facilitates communication between visp and your MIDI device". Seems like midi in only, standalone server, useable with flash via sockets.
- flosc: Flash Open Sound Control: http://www.benchun.net/flosc/
"a Java server that can communicate with anything that uses the Open Sound Control protocol."
"flosc acts as a gateway between OSC and Flash, allowing messages to go in both directions."
- The FlashMidi project's last refresh was in 2005. Since that the plugin went somehow out of date. It must be installed every time when you trying to run an swf which using it. It looks great but unuseable due this bug. The source code isn't available to download, fix or recompile. http://www.alexisisaac.net/products/flashMidi/
- Abumarkub: midi-to-flash interface by using a java applet. Java captures the midi data form your system and the data is passed on to flash through java script. http://www.abumarkub.net/abublog/
- An online piano tutoring application for children http://www.siddelicious.co.uk/flashmusic/ using a (abumarkub?) java applet
- Petition: MIDI Support in Flash
http://blogs.oreilly.com/digitalmedi...-in-flash.html which leads to the adobe bug report page https://bugs.adobe.com/jira/browse/FP-123
- midas3 MidAs3 is an actionscript3 midi library developed by Efishocean
http://code.google.com/p/midas3/
- The devs at SWFKit told me: "You need an activex control to handle the midi keyboard for you. SWFKit is suitable for you because it's a special project. If you're insterested in using swfkit, please let us know. We'll try to build an activex for you."
- Adobe Director can support MIDI communication with so called Xtras. Could be better to use Actionscript 3.0 with Flex and Air with a downloadable working Activex.
Here is the link which leads to Dir11 Midi plugins:
http://www.adobe.com/cfusion/exchang...sort=0&Submit=
- And here is another unfinished project to play mids from flash: http://code.google.com/p/chimera-avatar/
- Interactive Audio Special Interest Group wants to encourage progress towards enabling MIDI playback in Flash. But their forum seems inactive: http://www.iasig.org/cgi-local/forum.../m-1213127002/
If you have time, please post here what you have found.
Thanks,
imag
Last edited by imag; 06-24-2009 at 04:28 AM.
Reason: new informations 2009.06 visp flosc
-
I haven't found a perfect solution yet which is embeddable into a html page and working in both IN and OUT directions. Seems like a java applet could be the way with mac and win support. Ill keep on searching... till that check out the recently found flosc and visp midi proxi pages.
Last edited by imag; 06-24-2009 at 04:36 AM.
-
a development with Flash being able to send midi information to the midi ports - not accepting midi tho:
http://osflash.org/flashmidi
there is a page about "midiInput", although to display properly, needs to be viewed from a windows machine. says 'new', so maybe they found a way, for windows-only.
a programmer discussion about midi for flash here:
http://www.xtyler.com/code/2
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|