midnightmagic
cfcbf6a8da
-h now lists the new '-' option (woops)
2014-09-14 14:15:53 -07:00
midnightmagic
fd998e2bf7
libsndfile can be used to open a UNIX-style pipe on many platforms
...
In specific, it can be used to read in data almost directly from Gqrx
Currently, this will not function correctly using -i /dev/stdin on OS X
because stdin is not seekable, and it is not actually a file; also, for
ongoing raw data, there are no hints for libsndfile to identify the
sample.
So, we can use the UNIX-y '-' to do libsndfile-approved fd handle open.
Tested with the dsd-samples wav after converting it to correct sampletype
(stereo) -> sox p25_raw_unencrypted_edf.wav -c 2 ~/gqrx_last_recorded_filename.wav
.. and then pressing 'play' in the Gqrx interface while running:
socat udp-listen:7355 - | dsd -i - -o pa:2
.. in the background. And it decoded it nicely as many times as I played it,
which was 5 or 10.
2014-09-11 03:32:22 -07:00
Jared Szechy
6a9aa076b8
Add option to display available portaudio devices.
2014-07-07 20:21:39 -04:00
Jared Szechy
45eb53f245
Merge pull request #38 from jpwichern/master
...
Portaudio support
2014-06-09 15:50:52 -04:00
Jiri Wichern
74fa117850
Tweaking the delay a bit... 0,050 s for output seems too little; it results in choppy audio and ultimately, a heap of errors. 0,100 seems ok for the output buffer. But the input buffer needs to be much larger else it overflows. Also, an extra stop stream before terminating to make sure all audio from the audio buffer is played.
2014-06-07 20:49:35 +02:00
jpwichern
5dd236ec96
Update dsd_audio.c
...
Small oops
2014-06-06 17:26:50 +02:00
jpwichern
55b190ef49
Update dsd.h, dsd_audio.c, dsd_main.c and dsd_symbol.c
...
Adding portaudio support. Implementing it as a new audio_..._type in dsd.h.
Update CMakeLists.txt and create FindLibPortAudio.cmake
CMake portaudio check
2014-06-05 21:54:38 +02:00
Jared Szechy
df3c0dcab4
Merge pull request #36 from robotastic/master
...
Fixes a crash if an irrecoverable error happens
2014-05-27 19:19:36 -04:00
robotastic
d077cd8316
Fixes a crash if an irrecoverable error happens
...
If an irrecoverable error happens, you should start a new sequence
since the previous dibit was not set
2014-05-26 22:30:45 -04:00
Jared Szechy
05caba143b
Merge pull request #35 from dreinhold/master
...
Allow the mbe file move to work in windows based systems.
2014-05-26 17:56:39 -04:00
Dylan Reinhold
f2767707ef
Allow the mbe file move to work in windows based systems.
2014-05-26 10:37:15 -07:00
Jared Szechy
4e338dede9
Fixed file output directory.
...
- This fix is very minimal, as a result output directory arguments
must have a trailing slash.
Fixes #34
2014-05-26 12:38:07 -04:00
Jared Szechy
f207eba8f9
Use svg travis-ci badge
2014-05-15 22:06:41 -04:00
Jared Szechy
3e9dc91e81
Merge pull request #30 from EdFuentetaja/master
...
P25 "heuristiscs" module
2014-05-10 21:28:18 -04:00
Jared Szechy
c39b0e6e43
Add travis-ci badge to README
2014-05-10 21:10:47 -04:00
Jared Szechy
a9995c695a
Add sudo to install
2014-05-10 21:07:00 -04:00
Jared Szechy
f062fe0ef3
Forgot directory on cmakes
2014-05-10 21:04:57 -04:00
Jared Szechy
5f30a6aad6
Make travis_deps.sh executable
2014-05-10 21:03:04 -04:00
Jared Szechy
e0c574c470
Fix package names
2014-05-10 21:01:31 -04:00
Jared Szechy
68c471d639
First cut at enabling travis-ci
2014-05-10 20:55:31 -04:00
EdFuentetaja
1c05c6da6e
Merge branch 'master' of https://github.com/EdFuentetaja/dsd.git
2014-05-11 08:43:54 +08:00
EdFuentetaja
8f61ac63a3
Minor fix in comments.
2014-05-11 08:43:06 +08:00
EdFuentetaja
840dbac8b0
Minor fix in comments.
2014-05-11 08:34:40 +08:00
EdFuentetaja
a0c7d16905
Merge branch 'master' of https://github.com/szechyjs/dsd.git
...
Conflicts:
dsd.h
test/reedsolomon-test.cpp
2014-05-11 08:21:20 +08:00
EdFuentetaja
9655ab0bd7
Merge branch 'master' of https://github.com/EdFuentetaja/dsd.git
2014-05-11 08:16:37 +08:00
EdFuentetaja
9e6b3b7978
Included error correction on P25 TDULC.
...
Added a new "heuristics" module for P25 that improves the estimation of the symbol (dibit) that corresponds to a given analog signal value.
Added a BER (bit error reate) estimation for P25.
2014-05-11 08:14:29 +08:00
EdFuentetaja
d8181ec79e
Fixed some compilation warnings and added a few comments.
2014-05-11 08:14:29 +08:00
EdFuentetaja
f8cd8d715f
Added error correction to the metadata of LDU1 and LDU2.
...
Refactored implementation of p25p1_ldu1.c and p25p1_ldu2.c. There are less duplicities now and hopefully is easier to read and maintain.
Added a unit test for the Hamming algorithm.
2014-05-11 08:14:28 +08:00
Jared Szechy
20c55d073b
Update samples
2014-05-11 08:14:28 +08:00
Jared Szechy
1e854adb84
Use gtest for golay24 and reed-solomon tests
2014-05-11 08:14:27 +08:00
Jared Szechy
6ab62d006a
Add itpp as a requirement in readme
2014-05-11 08:14:27 +08:00
EdFuentetaja
9d0fe07931
Included error correction on P25 TDULC.
...
Added a new "heuristics" module for P25 that improves the estimation of the symbol (dibit) that corresponds to a given analog signal value.
Added a BER (bit error reate) estimation for P25.
2014-05-11 02:23:24 +08:00
EdFuentetaja
b45e563e54
Fixed some compilation warnings and added a few comments.
2014-05-06 23:57:15 +08:00
Jared Szechy
ad0c849dc4
Merge pull request #26 from waffle-iron/master
...
waffle.io Badge
2014-04-26 10:59:00 -04:00
Making GitHub Delicious.
3229737e6c
add waffle.io badge
2014-04-26 08:57:22 -06:00
Jared Szechy
596451eba0
Fix compile errors from #23
2014-04-22 19:46:01 -04:00
Jared Szechy
c23ff4fe0c
Merge pull request #23 from EdFuentetaja/master
...
Error correction on the metadata fields of P25 LDU1 and LDU2
2014-04-22 19:23:07 -04:00
Jared Szechy
134f2e8e21
Move bulk of README to the Wiki
2014-04-22 19:21:43 -04:00
EdFuentetaja
01a2b6959a
Added error correction to the metadata of LDU1 and LDU2.
...
Refactored implementation of p25p1_ldu1.c and p25p1_ldu2.c. There are less duplicities now and hopefully is easier to read and maintain.
Added a unit test for the Hamming algorithm.
2014-03-31 23:37:08 +08:00
EdFuentetaja
7299b78c3b
Merge branch 'master' of https://github.com/szechyjs/dsd.git
2014-03-31 21:31:30 +08:00
EdFuentetaja
9b35ef5c83
Added a few comments, fixed ortography and some other cosmetic changes.
2014-03-31 21:31:00 +08:00
Jared Szechy
75972cb024
Update samples
2014-03-12 01:26:16 -04:00
Jared Szechy
461031d3f1
Use gtest for golay24 and reed-solomon tests
2014-03-11 22:29:15 -04:00
Jared Szechy
772eb7f810
Merge pull request #22 from EdFuentetaja/master
...
Added support for error correction in P25 HDU data.
2014-03-11 21:34:25 -04:00
EdFuentetaja
3f4ff87078
Added support for error correction in P25 HDU data.
...
Both Golay(24,12,8) and Reed-Solomon(63,47,17) are now implemented.
2014-03-11 22:41:59 +08:00
Jared Szechy
1553973718
Add itpp as a requirement in readme
2014-03-01 18:13:47 -05:00
Jared Szechy
95c3d8fd27
Merge pull request #20 from EdFuentetaja/master
...
Added decoding and error correction on the NID fields: NAC and DUID.
2014-03-01 15:01:24 -05:00
EdFuentetaja
d7b36f32c0
Parity errors in NIC are now ignored.
...
Clean up the code to make it easier to understand. Now the logic to error correct the NIC makes more sense.
2014-03-01 20:35:46 +08:00
EdFuentetaja
9b9cb78ddf
Added decoding and error correction on the NID fields: NAC and DUID. Making use of the IT++ library for BCH encoding/decoding.
2014-02-02 14:45:19 +08:00
Jared Szechy
e40e89ae81
Merge pull request #15 from dreinhold/add_git_sha_version
...
Add git tag / SHA1 as a build string
2013-12-19 10:09:02 -08:00