jontio / JAERO

Demodulate and decode Aero signals. These signals contain SatCom ACARS messages as used by planes beyond VHF ACARS range
https://jontio.zapto.org/hda1/jaero.html
MIT License
224 stars 39 forks source link

Demodulate offline recorded signals #13

Closed Khashem1 closed 8 years ago

Khashem1 commented 8 years ago

Dear Jonti Thanks for your attempts for writing JAERO. I find it amazing tool. I have one question. As I found, in your program sound card decodes the signals received from audio output of receiver. If we have offline recorded AERO signal, how we can demodulate and decode them? I search for a way to give recorded AERO signal to program. Sincerely yours

jontio commented 8 years ago

Hi, It depends if it's an audio recording or a baseband recording and what OS you are using. For windows and an audio recording connecting JAERO with your media player with VB-audio cable (it's a program) is what most people use. Cheers, Jonti

Khashem1 commented 8 years ago

Dear Jonti Thanks for your helpful answer. Can JAERO read the recorded signal from hard disk and demodulate and decode it? Sincerely yours

jontio commented 8 years ago

no, currently it can only read from audio devices hence the need for a program like VB cable or virtual audio cable to do what you want it to do.

Khashem1 commented 8 years ago

Dear Jonti Thank you. Can you say me in which part of program JAERO gets data from sound card? Sincerely yours

jontio commented 8 years ago

There is no one place the program reads from the sound card there are many.

The audio is done in any class with "Audio" prepended to it. So for example AudioOqpskDemodulator is one such class.

AudioOqpskDemodulator inherits OqpskDemodulator which in turn inherits QIODevice. So evey demodulator is a QIODevice (as is QAbstractSocket, QBluetoothSocket, QBuffer, QFileDevice, QLocalSocket, QNetworkReply, QProcess, QSerialPort, QFile and QSaveFile, to name a few)

So if you want to write something to allow JAERO to read OQPSK from disk you could create a class called DiskOqpskDemodulator that inherits OqpskDemodulator. You then send the audio frames back to the demodulator by "qint64 OqpskDemodulator::writeData(const char *data, qint64 len)".

Khashem1 commented 8 years ago

Dear Jonti Thank you very much for your help

On Nov 10, 2016 1:35 AM, "Jonti Olds" notifications@github.com wrote:

There is no one place the program reads from the sound card there are many.

The audio is done in any class with "Audio" prepended to it. So for example AudioOqpskDemodulator is one such class.

AudioOqpskDemodulator inherits OqpskDemodulator which in turn inherits QIODevice. So evey demodulator is a QIODevice (as is QAbstractSocket, QBluetoothSocket, QBuffer, QFileDevice, QLocalSocket, QNetworkReply, QProcess, QSerialPort, QFile and QSaveFile, to name a few)

So if you want to write something to allow JAERO to read OQPSK from disk you could create a class called DiskOqpskDemodulator that inherits OqpskDemodulator. You then send the audio frames back to the demodulator by "qint64 OqpskDemodulator::writeData(const char *data, qint64 len)".

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/jontio/JAERO/issues/13#issuecomment-259540076, or mute the thread https://github.com/notifications/unsubscribe-auth/AWQBKnwHpuDeE3_kvsp4ZYiuPu5d31nlks5q8kOlgaJpZM4KsHi7 .