Monthly Archives: December 2011

Playing MIDI Files in Windows (Part 4)

Jump to: Part 1, Part 2, Part 3, Part 4, Part 5 In the previous article we developed an algorithm for combining multiple MIDI tracks into a single stream. In this article we will build on that example and add … Continue reading

Posted in C, Multimedia, Programming Tagged , , , , ,

Playing MIDI Files in Windows (Part 3)

Jump to: Part 1, Part 2, Part 3, Part 4, Part 5 In the last article we demonstrated playing a very simple single track MIDI file. In this article we will build on that and add support for multiple tracks. … Continue reading

Posted in C, Multimedia, Programming Tagged , , , ,

Playing MIDI Files in Windows (Part 2)

Jump to: Part 1, Part 2, Part 3, Part 4, Part 5 In the last article we demonstrated the Windows Multimedia APIs used to send MIDI commands to a MIDI capable output device. This article will build on that information … Continue reading

Posted in C, Multimedia, Programming Tagged , , , ,

Playing MIDI Files in Windows (Part 1)

Jump to: Part 1, Part 2, Part 3, Part 4, Part 5 How do you read a MIDI file into memory and play it? I’m not talking about calling a function passing the file name like play(“song.mid”) but rather play … Continue reading

Posted in C, Multimedia, Programming Tagged , , , ,

Sneaky Issue with Windows API Callbacks

I was messing with the windows multimedia APIs and ran into this strange error running my application: Run-Time Check Failure #0 – The value of ESP was not properly saved I was adding a callback used by midiStreamOpen(): static void … Continue reading

Posted in C, Programming Tagged , , ,

HTML tag can crash 64-bit Windows 7

An unpatched critical flaw in 64-bit Windows 7 can lead to a ‘blue screen of death’ system crash. The flaw is triggered by viewing a malicious HTML page containing an IFRAME element with a sufficiently large height attribute while using … Continue reading

Posted in Security Tagged , , , ,