We built a MIDI sequencer for the PC that talks to Flash through an
XMLSocket (though we just send smaller strings, not XML).  On both Mac and
Windows versions the code to make a sequencer capable of changing
instruments, transposing, changing tempo, and indivudual volume of
instruments, etc. was less than 70K.  There are API's for each OS that
abstract the different hardware and allow for such small implementation.

The great thing about Alexis Isaac's MIDI Sequencer is that you can
buildmusic on the fly based on user interaction.  We could have easily
streamed
MP3's from the server with a better sound if we wanted to be static.  We
even looked into building MP3's on the server dynamically, but the smallest
process we could find would be at least 3% processor per song.  That sounds
small, but it means 33 users geting sound simultaneously is 99% processor.
It absolutely has to be on the client.  It would be a great solution to
avoid requiring an additional download from a less-known source than
Macromedia/Adobe and immediately integrate dynamic sound into your
applications.

Tyler
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to