This is the (original) C# version of the code at https://github.com/brandonlw/magstripereader. It was written with the intention of understanding "raw" audio data saved from magnetic stripes on my Android phone, for then-conversion to Java in the Android project. It might be useful to you for studying or PC-side magnetic stripe audio decoding. Hope it helps you.