Commit Graph

42 Commits

Author SHA1 Message Date
lwvmobile
e9b1d76a98 Frame Sync OCD 2022-10-19 22:22:23 -04:00
lwvmobile
4138f92917 DMR Burst Type FEC Fix; 2022-10-17 17:16:22 -04:00
lwvmobile
0bb9dd760c Enable DMR Direct Mode Voice; No Data; 2022-10-16 14:10:16 -04:00
lwvmobile
8670b99d69 DMR Stereo Internal Sync Tweaks; OCD Tweaks; 2022-10-09 07:32:48 -04:00
lwvmobile
d8cf47b225 Checkdown for Valid P2 Parameters
Checkdown for Valid P2 Parameters
--if invalid parameters specified by user for P2 WACN, SYSID, and CC (too large) then treat same as missing parameters and skip processing P2 frames that require scrambling.
2022-09-19 17:33:16 -04:00
lwvmobile
90700e7d28 Phase 2 Audio Decoding
Phase 2 Audio Decoding Implemented

XDMA decoder class implemented and set to default (-ft)
--decoder class includes P25 1, 2, DMR BS/MS, and X2-TDMA
-- -fr -T option reworked, -T now for Per Call, use -ft (default)

Force Privacy Key
--force privacy key use over system FID and SVC options.

Per call now works on XDMA decoding and NXDN decoding

Limited Phase 1 TSBK and Phase 2 LCCH handling (for Network Status Broadcast)
--Need to get WACN, SYSID, and CC values for Phase 2 descrambling

Fix most of the compiler warnings
2022-09-17 11:44:45 -04:00
lwvmobile
7199848f16 OCD Line Spacing and Nomenclature
OCD Line Spacing and Nomenclature
--fixed a few alignment issues to my liking
--final on nomenclature for privacy modes
2022-08-22 16:55:00 -04:00
lwvmobile
df6d7a6609 DMR Additions
--Easier to use key entry for privacy modes
---Serpen'tera' 10 mode now available
--Slightly improved dmr dibit buffering/inverted dibit buffering
--Tweaks to console and ncurses output regarding FID, SVC, and privacy key values
--fix for RTL optional support (think I have all the ifdef covered now)
--TGT, SRC, FID, SVC, now set on Voice LC Header (not sure why I wasn't before)
--other misc tweaks that I can't recall
2022-08-21 23:45:00 -04:00
lwvmobile
f45f4fe413 NCurses Menu
--NCurses Menu (no more tedious CLI options)
--Save/Read Capture Bin (WIP!)
--Read OP25 Capture Bin (WIP!)
--Per Call WAV saving on DMR Stereo
--Revampled Data Header and 1/2, 3/4 Data LRRP
--Dump LRRP Data to text file, import into QGIS
--Included QGIS Map File with layers set up
--DMR CACH and Burst FEC 
--No more Port Audio or OSS...ever. 
--Switch to 8Khz/1Ch for most decode types due to crisper sound
---DMR Stereo remains at 24/2, will look into revampint upsampe for cleaner sound
2022-08-09 18:10:13 -04:00
lwvmobile
685c8aebe4 Fix Slot0/2 Thing
Fix Slot0/2 Thing
2022-05-12 21:38:55 -04:00
lwvmobile
a848f9c0fe More DMR Inversion fixes
More DMR Inversion fixes
--fix some issues regarding when to invert dibits
---still have random issue of frame syncing to voice type instead of data type immediately after voice ends in TDMA stereo when inverted, guessing the dibit buffer is storing non-inverted dibits causing this?
--code will need a round of cleanup once fully tested and going good inverted
2022-05-12 16:54:45 -04:00
lwvmobile
7d6c3dc67c DMR Stereo Inversion Handling
DMR Stereo Inversion Handling
--Fix frame sync not forwarding inverted signal to DMR Stereo methods
--Other Misc Bug Fixes
2022-05-12 11:25:41 -04:00
lwvmobile
f8b9d47c6d Minor Framesync Print with DMR
Minor Framesync Print with DMR
--Minor Framesync Print Fix for DMR
2022-05-06 11:48:37 -04:00
lwvmobile
3cd1eefad8 DMR Stereo TDMA
DMR Stereo TDMA
--play voice in both TDMA slots with the -T option (dsd -fr -T)
--Improved MS voice (mostly working) and data handling (hit or miss)
--pretty pretty colors on the console log output
--rate 3/4 data decoding partially working
2022-04-30 04:43:03 -04:00
lwvmobile
12dbd90509 dPMR Smooth Sync and Playback
dPMR Smooth Sync and Playback
--fix sync and playback issues with dPMR
General Code Cleanup
2022-04-08 16:22:08 -04:00
lwvmobile
672e5cbd44 bug fixes
bug fixes and tweaks
2022-04-04 16:12:19 -04:00
lwvmobile
7c461844ad Fix Raw Audio Monitoring
Fix Raw Audio Monitoring
--Still crashes Pulse Audio server on Ubuntu/Linux Mint
--PULSE_LATENCY_MSEC=1000 or high value mitigates problem for brief moment, but still crashes
---Issue with Latency, or maybe writing garbage values to pa_simple_write
General Code Cleanup
Tweak NCURSES Printer
Tweak STDERR Printouts
2022-04-02 14:24:47 -04:00
lwvmobile
184b8b6a39 Enable D-Star, Pulse Tweaks, NCurses Tweaks, Misc
Enable D-Star, Pulse Tweaks, NCurses Tweaks, Misc
2022-03-13 19:13:09 -04:00
lwvmobile
0fc9380b00 DMR PI Header, NCurses Tweaks, Fun Stuff
DMR PI Header, NCurses Tweaks, Fun Stuff
--Add PI Header handler, print DMR ALG, KEY, and MI values
--NCurses updates to reflect new DMR and NXDN info available
--Other Fun Stuff a.k.a. Stuff I might have broken or can't remember what I did now
2022-03-12 00:03:21 -05:00
lwvmobile
d756ab6574 DMR, dPMR, Pulse Audio Tinkering
DMR, dPMR, Pulse Audio Tinkering
2022-03-08 16:57:26 -05:00
lwvmobile
5834914e91 Staging for DMR Improvements
Staging for DMR Improvements
2022-03-06 18:30:29 -05:00
lwvmobile
fea03a0242 CMake Changes, NCURSES Tweaks
Remove NCurses FindCurses.cmake file, change lines in Cmakelists
Tweak and Fix a few NCurses Terminal tidbits
2022-02-21 12:55:20 -05:00
lwvmobile
417a48cc71 resetState and Minor Ncurses Printer tweak
resetState and Minor Ncurses Printer tweak
don't run with -n yet, resets state, using to test to fix when input type changes, but won't decode properly
2022-02-19 10:42:55 -05:00
lwvmobile
6f2682d667 NCurses and NXDN Updates
NCurses Terminal in pretty good shape, good enough for testing
NXDN decodes RAN and RID now (from LEH)
2022-02-18 19:05:14 -05:00
lwvmobile
e0c2e740d2 Add Github Build Version
Add Github Build Version
Work on Pulse Audio System (Testing 2 Channel Stereo Output)
Work on NCurses Terminal (Still Work to Do)
Include install.sh and rebuild.sh scripts
2022-02-13 14:31:15 -05:00
lwvmobile
7a3e1a67da Merge branch 'master' into pulseaudio 2022-02-11 19:32:21 -05:00
lwvmobile
9092259ce1 Initial NCURSES Support
Initial NCURSES Support

Its in there, and can be called with -N, but it doesn't display much yet aside from program name, mbelib, and time.
Just want to upload it so I can test it vs autobuild with cmake requiring ncurses libraries again
2022-02-11 19:25:05 -05:00
lwvmobile
3bb8a5608f NXDN Detection Bug
Had to fix line 644 with this
Had wrong detection type

else if ((strncmperr (synctest18, INV_NXDN_BS_VOICE_SYNC, 18, 1) == 0) || (strncmperr (synctest18, INV_NXDN_MS_VOICE_SYNC, 18, 1) == 0)) //supposed to be voice, not data?
2022-02-11 18:40:04 -05:00
lwvmobile
d088d09328 NXDN bug fix
Had to fix line 651 with correct detection type

else if ((strncmperr (synctest18, INV_NXDN_BS_VOICE_SYNC, 18, 1) == 0) || (strncmperr (synctest18, INV_NXDN_MS_VOICE_SYNC, 18, 1) == 0))
2022-02-11 18:32:28 -05:00
lwvmobile
fcf680a138 Direct all prints to STDERR
Direct all prints to STDERR
Take 2
2022-02-10 16:56:37 -05:00
lwvmobile
c408a57198 Fix STDIN, file playback, and WAV file creation
Fix STDIN and file playback
set rate out to 8000 when calling for any of these methods
2022-02-08 18:35:56 -05:00
lwvmobile
4f012390c0 More Pulse Audio Tinkering
More Pulse Audio Tinkering
Had to disable Monitor Source Input
(Was working in Arch, but with some latency/buffer issues, makes LM pulse server crash/restart?)
2022-02-08 13:04:29 -05:00
lwvmobile
130afdc278 PulseAudio
Swap Pulse Audio in for all instance where OSS is used
Lots of other potentially things breaking
2022-02-08 00:26:14 -05:00
lwvmobile
2b8ce4b248 Fix Monitor Source Audio Issue
Fix Monitor Source Audio Issue
Forgot to add 'now' variable to all sync types, would attempt to play source audio and decoded audio at same time on most types.
2022-02-05 14:37:27 -05:00
lwvmobile
7e6b3adf9d Remove NXDN from -fa option
Removed NXDN from -fa option so it doesn't cause a bunch of random false positives
Clean up a few little things, hopefully nothing too major.
2022-02-05 09:44:26 -05:00
lwvmobile
d98040895d Source Audio Monitoring (WIP)
Add Source Audio Monitoring - But its a Work in Progress
Seriously, though, depending on which setting you have on, it sounds terrible.

Also, make ncurses no longer a requirement for the time being. Still want to work that into this version eventually.
2022-02-04 18:01:33 -05:00
lwvmobile
7a94be9292 Added a few more RTL options
Added RTL options for Squelch (-L) and Sample 'Volume' Multiplier -V
Hopefully, I didn't break anything else in the process
2022-02-01 21:37:09 -05:00
lwvmobile
1e95db0977 NXDN48 Voice Decoding is Good Now
NXDN48 Voice Decoding is Good Now

Just use squelch if using SDR++ or GQRX to feed it. RTL-SDR input mode and NXDN still makes tons of false positives, and doesn't work well at all. May just be a bad signal issue but still think the RTLSDR input uses wrong center freq/tuned freq/"optimizations", need to get back to that some time, maybe also implement squelch settings on rtl_fm mode.

Thanks to LouisErigHerve for his 'Improved NXDN Detection' update on his version, implemented it and works SO MUCH BETTER!

May still disable the if ((state->lastsynctype == 9) || (state->lastsynctype == 17)) condition in dsd_frame_sync.c if I think it leads to more consistent decoding vs false positives. USE SQUELCH!
2022-01-31 23:54:14 -05:00
lwvmobile
6ed5e0bcab fix things so stupid checker will pass 2022-01-29 22:34:05 -05:00
lwvmobile
3c11d72652 Delete old ASCII art
Delete old ASCII art and printer
2022-01-29 21:59:55 -05:00
lwvmobile
2523383b14 Add More RTL Options, UDP Remote
Add Gain and Device Index Number for RTL, add UDP remote to control frequency and squelch of RTL. Other Random things.
2022-01-29 21:53:35 -05:00
Jared Szechy
6605925162 Some much needed organization 2015-08-06 12:25:30 -04:00