Westwood SND1 decoder, courtesy of Kostya