Yasitha Waduge
Yasitha Waduge

Reputation: 13540

"Frequency Shift Keying" Decoder for Android

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?

Upvotes: 3

Views: 3618

Answers (1)

mach
mach

Reputation: 8395

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.

Upvotes: 1

Related Questions