The tech behind Notessimo (part 1)

Past versions of Notessimo used to be in Flash, it was quite the limited platform, especially back in the V1 days (~2007). To produce sounds dynamically I had to resort to a clever trick of actually generating byte by byte a .swf (flash file format) that represented an empty flash file with only a single sound object being played and load those bytes! If I remember correctly, to play without gap, the length also had to be a multiple of 2048 and properly timed to play at the correct frame, surprisingly it worked pretty well!

This is a companion discussion topic for the original entry at