converter - Extract binary data stream from audio signal -


i have binary data in stream of audio, , want decode it. here example screenshot audacity:

screenshot of data

there seems new bit of data every millisecond. means data encoded @ 1000 hz baud rate of 1000.

i can tell each packet has 20 bits (meaning takes 20 milliseconds transfer) plus 3 milliseconds of high signal. means packet resent every 23 milliseconds.


so question is, how convert binary file? going through , doing hand out of question - unless, is, you're willing :)

that's typical case of digital modulation known on-off keying (ook).

it's rather easy decode ook: apply low-pass filter cutoff frequency below 1/symbol periodicity, decimate it's output 1 value per symbol duration, , use experimentally found threshold decide what's 0 , what's 1.

you might need find exact symbol duration , symbol starts first, if want exact. that's classical synchronization problem -- in case, seems sender makes sure have sharp edge @ every symbol transition, high-pass filter signal, , clock signal, can use adjust resampler adjust sampling rate of signal going decoder (as described above).

there's nice framework that; gnu radio comes building blocks need make happen, has active community, there's gui develop signal processing application, if don't use graphical visualizations in signal processing chain, resulting application portable, it's highly optimized, , comes lot of examples.


Comments

Popular posts from this blog

c# - Validate object ID from GET to POST -

node.js - Custom Model Validator SailsJS -

php - Find a regex to take part of Email -