Archive for the 'Uncategorized' Category

WebMIDI API in Chrome 43

Last Tuesday Chrome has been updated to version 43, this is the first stable release that has the WebMIDI API built in. Obviously, the WebMIDI API is much faster and more stable than any MIDI plugin that we have seen in the past decade.

Unfortunately, the WebMIDI API is not implemented in Chrome for iOS, nor in any other browser but Chrome. It is not to be expected that other browser vendors will implement the WebMIDI API any time soon.

Fortunately we can use the Jazz plugin in those browsers, and if you use Chris Wilson’s WebMIDIAPIShim you can write your code against the offical WebMIDI API. This means that your project will run both in browsers that have the WebMIDI API implemented, and in browsers that have the Jazz plugin installed.

The WebMIDIAPIShim is called a shim and a polyfill interchangeably. Actually it is both a shim and a polyfill; it is a shim because it intercepts the API calls to the Jazz plugin and converts them to WebMIDI API calls, and it is a polyfill because it adds modern functionality to ‘legacy’ browsers. See also this article on Stackoverflow.

See some examples of what you can do with the WebMIDI API at the heartbeat site.

installing flashplayer 10.1 debugger on linux 64bits

Player 10.1 beta 3 was released on February 23, 2010.

If you want to install the debugger version of this release on a 64 bits Linux box you have to install a current 64-bits non-debugger version first.

After that you can replace the installed libflashplayer.so by a 32 bits debugger version of this file.

This also applies if you want to install the debugger version of the current release, see note2 below.

This is how i did it on 64bits Kubuntu 9.10:

Continue reading ‘installing flashplayer 10.1 debugger on linux 64bits’

animated gif generator

Thibault Imbert has created numerous amazing AS3 libraries! Last year i used his AS3 PDF generation library, and now i used his AS3 GIF Animation Encoding Library for an online gif89a generator.

It is built for player 10 so you can load local files directly in to the player, you can also capture images from your webcam. You can find it here:

http://abumarkub.net/animatedgifmaker/

gif89a_maker