Freq decoder