Add CTCSS decoder and alias support#2344
Add CTCSS decoder and alias support#2344msullivan1993 wants to merge 2 commits intoDSheirer:masterfrom
Conversation
|
Awesome to see, unfortunately I'm not in a position to test this yet (I had moved to trunk recorder for everything and not running a DE in linux). But will try to get some time to test it out. Would be awesome if this makes it into 0.6.2. |
So far I have had no issue using a test build with this and the NAC aliasing. However I still have the issue of it capturing audio in the entire clip (IE distant P25 channel operating, then analog traffic comes up, so you still hear digital audio in the voice clip) so while snowmageddon is going on, I'm gonna play a bit with Claude and either A. Add the ability to trim and only record when alias is matched, or B. add PL, and while I'm at it DPL NAC and CC as channel filters, so it only captures audio when squelch and tone both match. I'm no coder, but if my utility bills are going to pay for power for these datacenters being put in.. by god I'm gonna put them to use! lol |
|
My setup is pretty simple, I have conventional P25 frequencies and totally separate conventional analog with CTCSS/PL tones. I'm not familiar with the issue you're referencing but I also haven't been following the updates since 0.6.1 too closely. 0.6.1 actually worked pretty much perfectly for me, the P25 decoding on my simulcast system was superior to trunk recorder, but eliminating the static bursts on the analog frequencies was more important. Have you tried your code with the latest nightly or only against the master/0.6.1? |
I built it off the latest master build, so it has all the features of the Nightly like the new NBFM squelch control (MASSIVE difference) and new P25 decoder. I had a couple other people test my test build so far, one did something combining some files from the old P25 decoder because they were having some issues with P25 but I have no idea what they were having issues with. I've not had any issues with P25 but DMR has been acting odd for me. Decoding-wise everything seems to be doing fine but, again if a WVSIRN voice channel is active on the same frequency, you'll hear the raw data from that then the analog audio, and that's just annoying me. |
Ah, ok, I'm not great at Github so I was thinking that was the release (0.6.1) and not nightly, but makes sense. I'm a hardware guy with just enough knowledge to figure out software. Going to try and get a chance to get an old laptop set up to test this out. All my frequencies are either analog or digital with just a single thing on each (well except a Motorola Smartnet which obviously I use different software for) so shouldn't have any issues with the interference. Now I just have to get google to remind me how to compile a java app. |
I have never used the DCS decoder (there is nothing around here that uses it), so I'm not familiar with the signal flow and associated logic. It seems to me that the Alias is the best place to set the tones as opposed to Channel. There are cases here where the US Forest Service operates a half dozen repeaters on the same VHF frequency, with each repeater using a different PL tone. Ideally I'd only want to monitor/record two of those repeaters, so I guess setting up 2 different aliases would be the approach. Those two aliases would be in the same alias list. I see the problem with trying to keep the logic flow similar to a trunked radio system. It would probably necessitate separate alias lists with each channel. On the other hand, one needs to assign a NBFM channel to a unique talkgroup so it seems like a collection of channels is acting like a virtual trunked radio system feeding a single alias list. I haven't looked at the code, so I don't know what the best approach would be without causing a massive re-write to the logic. |
That's why I had considered doing both. I have a select few channels that use different PL's on output but they're few and far between. Yes, you'll probably need to do the separate alias lists regardless for your configuration, and use the Stream as Talkgroup to send where needed.. and I hate it too, but doing it that way I've had no issues other than the excess captured radio traffic, and that's what I'm hoping to work on tonight. |
|
@msullivan1993 Are you still working on this? I'm thinking of writing my own version of the CTCSS implementation. |
Yes, I finally got around to working on it tonight. Just made a new PR #2380 to combine this and channel-level CTCSS into one PR. closing this PR |




Full disclaimer.. most of this work was done by Claude Opus. I am not a coder by any stretch of the word. Tested extensively on my personal server with no issues with send to Rdio Scanner server. Unknown if any changes need done for Calls, OpenMHz, etc.