JvanKatwijk / eti-stuff

experimental software for creating and interpreting eti frames
GNU General Public License v2.0
21 stars 12 forks source link

eti-cmdline-rawfiles and *.sdr support #16

Closed andimik closed 7 years ago

andimik commented 7 years ago

As qt-dab saves dumps as *.sdr (s16le resp s16be), why not add support for it in eti-cmdline?

JvanKatwijk commented 7 years ago

I'll look into it. The obvious next question then will be: "why can't you read in ".sdr" files"

2017-05-20 23:07 GMT+02:00 andimik notifications@github.com:

As qt-dab saves dumps as *.sdr (s16le resp s16be), why not add support for it in eti-cmdline?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/JvanKatwijk/eti-stuff/issues/16, or mute the thread https://github.com/notifications/unsubscribe-auth/AITzwNS2wytMHsoDskUUKS-1B4G9HqeEks5r71YngaJpZM4NhaiN .

-- Jan van Katwijk

+31 (0)15 3698980 +31 (0) 628260355

JvanKatwijk commented 7 years ago

You could give eti-cmdline a try, I added both a dumping facility (add -DDUMPING=ON to the cmake command) and a WAV file option for reading ".sdr" files

I ran a few tests and it seems to work

2017-05-21 11:10 GMT+02:00 jan van katwijk j.vankatwijk@gmail.com:

I'll look into it. The obvious next question then will be: "why can't you read in ".sdr" files"

2017-05-20 23:07 GMT+02:00 andimik notifications@github.com:

As qt-dab saves dumps as *.sdr (s16le resp s16be), why not add support for it in eti-cmdline?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/JvanKatwijk/eti-stuff/issues/16, or mute the thread https://github.com/notifications/unsubscribe-auth/AITzwNS2wytMHsoDskUUKS-1B4G9HqeEks5r71YngaJpZM4NhaiN .

-- Jan van Katwijk

+31 (0)15 3698980 <+31%2015%20369%208980> +31 (0) 628260355 <+31%206%2028260355>

-- Jan van Katwijk

+31 (0)15 3698980 +31 (0) 628260355

andimik commented 7 years ago

No. Seg fault :-( I've tested around 10 different sdr files.

eti-cmdline-rawfiles work, indeed.

andreas@andiE535:~$ eti-cmdline-wavfiles -F 10b_ras_kurz.sdr Period = 16000 Bus-Zugriffsfehler (Speicherabzug geschrieben)

The sdr was generated with Airspy.

Installing:

andreas@andiE535: /home/andreas/eti-stuff/eti-cmdline/build_wavfiles$ cmake .. -DWAVFILES=ON -- The C compiler identification is GNU 5.4.0 -- The CXX compiler identification is GNU 5.4.0 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Build type not specified: defaulting to release. -- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.1") -- Checking for module 'fftw3f >= 3.0' -- Found fftw3f , version 3.3.4 -- Found FFTW3F: /usr/lib/x86_64-linux-gnu/libfftw3f.so
-- Found LibSndFile: /usr/lib/x86_64-linux-gnu/libsndfile.so -- Found LibSampleRate: /usr/lib/x86_64-linux-gnu/libsndfile.so -- Configuring done -- Generating done -- Build files have been written to: /home/andreas/eti-stuff/eti-cmdline/build_wavfiles andreas@andiE535:~/eti-stuff/eti-cmdline/build_wavfiles$

then make and sudo make install

JvanKatwijk commented 7 years ago

Strange, works like charm here

[jan@fedora-hp ~]$ eti-cmdline-wavfiles -F Downloads/10d_04022017a.sdr > /dev/null Period = 16000 ensemble MULTIPLEX R1 detected program ( 1)t Slo 1 Prvi 9201 is in the list program ( 2)t Slo 3 ARS 9203 is in the list program ( 3)t Slo 2 Val 202 9202 is in the list program ( 4)t Slo Int Radio SI 933A is in the list program ( 5)t Radio Ognjisce 942F is in the list program ( 6)t Radio Center Slo 9414 is in the list program ( 7)t Radio 1 DAB 9442 is in the list program ( 8)t Radio Antena 940B is in the list program ( 9)t Radio 2 9459 is in the list program (10)t Radio BOB 945B is in the list program (11)t Rock Radio Slo 9516 is in the list program (12)t Glasbeni Radio 9462 is in the list program (13)t A-Radio 9436 is in the list there might be a DAB signal here still at most 10seconds to wait yes, here we go Handling ensemble MULTIPLEX R1 until you quit ^C65 estimated snr: 0, fibquality 0

The thing I have to address now is to gracefully terminate after reaching eof with both raw and wav files

2017-05-21 23:21 GMT+02:00 andimik notifications@github.com:

No. Seg fault :-(

andreas@andiE535:~$ eti-cmdline-wavfiles -F 10b_ras_kurz.sdr Period = 16000 Bus-Zugriffsfehler (Speicherabzug geschrieben)

The sdr was generated with Airspy.

Installing:

andreas@andiE535: /home/andreas/eti-stuff/eti-cmdline/build_wavfiles$ cmake .. -DWAVFILES=ON -- The C compiler identification is GNU 5.4.0 -- The CXX compiler identification is GNU 5.4.0 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Build type not specified: defaulting to release. -- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.1") -- Checking for module 'fftw3f >= 3.0' -- Found fftw3f , version 3.3.4 -- Found FFTW3F: /usr/lib/x86_64-linux-gnu/libfftw3f.so -- Found LibSndFile: /usr/lib/x86_64-linux-gnu/libsndfile.so -- Found LibSampleRate: /usr/lib/x86_64-linux-gnu/libsndfile.so -- Configuring done -- Generating done -- Build files have been written to: /home/andreas/eti-stuff/eti- cmdline/build_wavfiles andreas@andiE535:~/eti-stuff/eti-cmdline/build_wavfiles$

then make and sudo make install

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/JvanKatwijk/eti-stuff/issues/16#issuecomment-302964134, or mute the thread https://github.com/notifications/unsubscribe-auth/AITzwP5_bgcu8C54V1hIXSjtCSCNFaDNks5r8KrigaJpZM4NhaiN .

-- Jan van Katwijk

+31 (0)15 3698980 +31 (0) 628260355

andimik commented 7 years ago

Thanks for the new version, works now. :-)

I have a very weak recording from a signal around 200 km away, sdr is the only format where I have audio. As soon as I convert it into 8 bit raw, the SNR is too poor for any tool.

That's why this new version is like a present for me.

JvanKatwijk commented 7 years ago

good to hear

2017-05-23 21:24 GMT+02:00 andimik notifications@github.com:

Closed #16 https://github.com/JvanKatwijk/eti-stuff/issues/16.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/JvanKatwijk/eti-stuff/issues/16#event-1094331240, or mute the thread https://github.com/notifications/unsubscribe-auth/AITzwAe1z_kXgAOfAg4RVlrOmHoZP2yRks5r8zKFgaJpZM4NhaiN .

-- Jan van Katwijk

+31 (0)15 3698980 +31 (0) 628260355