Midi2MP3Gui 1.0.0 released

Do you need to convert a MIDI file to MP3?
Do you need to mute a channel or want to change channels volume or the track’s tempo?

 

Download Midi2MP3Gui, you’ll have your MP3 in seconds. šŸ˜‰

Convert IANA timezones to Windows

The IANA timezones database is probably the most used standard to reference a timezone by name (a lot of libraries use it).

The problem comes when you need to use these timezones informations in a C# program: Windows timezones have different names and there’s no standard method to convert a IANA timezone to a Windows one.

Informations about the relation between IANA and Windows timezonesĀ  are accessible here:
http://unicode.org/repos/cldr/trunk/common/supplemental/windowsZones.xml

Looking at the data is clear that you can convert from a IANA timezone to a Windows one, but a Windows timezone cannot be converted to a single IANA timezone. This is because Windows groups more than one timezone under the same name.

I made a test project to demonstrate how to convert timezones: just deserialize the data and look for the corresponding timezone.

You can download the test project here: IANATimezonesConverter.zip