问题
I'm trying to transfer some data through audio port of android device, I'm using FSK (Frequency Shift Keying) I'm using two different frequencies to represent 1 and 0. Is there any android library or sample code to FSK decode captured audio data?
回答1:
You might want to check out this
https://code.google.com/p/audio-analyzer-for-android/source/browse/README
General tips:
- Make sure to apply a window function.
- Select a sample frequency that makes the fft transform hit your two frequencies as close as possible with as few samples as possible.
来源:https://stackoverflow.com/questions/15334769/frequency-shift-keying-decoder-for-android