Probabilistic amplitude and frequency demodulation