Java program to decode DMR

Status
Not open for further replies.

Jay911

Silent Key (April 15th, 2023)
Joined
Feb 15, 2002
Messages
9,378
Reaction score
380
Location
Bragg Creek, Alberta
Hi,
Thought I had a new TRBO system in my area. Sounds like a constant idle signal on one freq of three at a new license.

I can't get it to decode with DMR Decode 41 nor with Unitrunker 23. Here's a ~30 sec sound sample (discriminator output from PSR800).

http://www.rmesfire.org/files/ellis-don-460-6875-2011-07-31.mp3

Below is a screen grab from UT 23's scope (again, PSR800 discriminator output).

Sorry for the mini-hijack - I figured this is TRBO so my best chance at an answer is here. DMR41 doesn't even output a single line - it does flicker the signal reception bar at the bottom between yellow and green, but shows "NO SYNC" beside it.

Thanks in advance!
 
Last edited:

racingfan360

Member
Joined
Dec 19, 2005
Messages
1,217
Reaction score
248
Are you sure it's TRBO....sounds a bit more like a NEXEDGE Control Channel to me (see Digital Modes Samples ). Ive never heard one of these before either so I'm guessing too, but the fact that it's one of 3 freqs makes me think digital trunked. Might be worth listening out for NXDN on one of the other two freqs, which DSD should decode.

Jim
 

Jay911

Silent Key (April 15th, 2023)
Joined
Feb 15, 2002
Messages
9,378
Reaction score
380
Location
Bragg Creek, Alberta
Are you sure it's TRBO....sounds a bit more like a NEXEDGE Control Channel to me (see Digital*Modes*Samples ). Ive never heard one of these before either so I'm guessing too, but the fact that it's one of 3 freqs makes me think digital trunked. Might be worth listening out for NXDN on one of the other two freqs, which DSD should decode.

Jim

Didn't have my Linux machine with me so I didn't try NXDN. That was tugging at the back of my mind, but I didn't really explore it. My only other local NXDN "system" is a single-channel repeater (no trunking) so I'm totally a noob with regards to it.

Thanks, and we now return you to your scheduled talk about DMRD. :D
 

inigo88

California DB Admin
Database Admin
Joined
Oct 31, 2004
Messages
2,037
Reaction score
219
Location
San Diego, CA
Thanks again for the great work Ian. Forts and I are busy making use of it and figuring out new stuff and even more upcoming "feature requests" in the Connect Plus thread. :)
 

IanWraith

Member
Joined
Sep 29, 2010
Messages
269
Reaction score
0
Location
ianwraith@gmail.com
Hi Inigo

Thanks again for the great work Ian. Forts and I are busy making use of it and figuring out new stuff and even more upcoming "feature requests" in the Connect Plus thread. :)

Yes I have just been reading that thread excellent work. All being well I will add that information to the program next week.

Regards

Ian
 

Jay911

Silent Key (April 15th, 2023)
Joined
Feb 15, 2002
Messages
9,378
Reaction score
380
Location
Bragg Creek, Alberta
Hey Ian,

There is a thread over in the Trunking Control Channel Decoding forum about the above NEXEDGE data I discovered and attempts to decode it. While looking for something to help, we discovered some Python scripts on a download site for the company Anritsu and its line of spectrum/protocol analyzers. There are three scripts available - one each for P25, DMR, and NEXEDGE decode. I'll try to add them as attachments to this post.

Unfortunately they appear to require input from a file format proprietary to a particular Anritsu protocol analyzer (that term always makes me think of C3PO :lol:) but I was thinking that the code itself might be useful to you and others so that programs like DMR Decode etc can be improved.

I'm no programmer (my last successful build was in Turbo PASCAL in high school, ~25 years ago), so I don't know if I'm barking up the wrong tree or not. In any case, I hope this will do something for you.
 
Last edited:

KB2WVO

Member
Joined
Aug 18, 2011
Messages
95
Reaction score
0
It is Java based so should run under Microsoft Windows << this is for complied software.. this sint complied .. you have the SRC for download the normal everyday windows users probley dont know how to complied java..
 

Forts

Mentor
Database Admin
Joined
Dec 19, 2002
Messages
7,076
Reaction score
1,381
Location
Ontario, Canada
It is Java based so should run under Microsoft Windows << this is for complied software.. this sint complied .. you have the SRC for download the normal everyday windows users probley dont know how to complied java..

Ummm..... huh? Not sure if there is a question or a statement in there. You can download DMR Decode already compiled. All ya gotta do is click on the link a few back in message #287.
 

Jay911

Silent Key (April 15th, 2023)
Joined
Feb 15, 2002
Messages
9,378
Reaction score
380
Location
Bragg Creek, Alberta
I think the bit before the less-than signs is supposed to be a quote and the rest his reply. KB2WVO, to run this program, you go into the command line on your PC (Start>Run, "cmd"), navigate to the directory/folder with the .jar file, and type "java (filename).jar".
 

KB2WVO

Member
Joined
Aug 18, 2011
Messages
95
Reaction score
0
Ummm..... huh? Not sure if there is a question or a statement in there. You can download DMR Decode already compiled. All ya gotta do is click on the link a few back in message #287.

this is not a normal EXE for windows.. you all have something else installed that the avg home user wont have installed.. and that might be JAVA SDK ... whitch is not a normal download for all users ...

so with that said .. i say good work .. but since it doesnt do voice .. iam unable to use it .. but from what i read and see looks like good work .. keep up the good work ..

thanks
 

Forts

Mentor
Database Admin
Joined
Dec 19, 2002
Messages
7,076
Reaction score
1,381
Location
Ontario, Canada
Hi Ian,

What would you say the minimum requirements are PC wise to run the latest version? I was able to pick up a P4 2.8ghz with a gig of ram dirt cheap, thinking I would maybe use it as my DMR machine... but it won't run. Well, I shouldn't say it won't run... it does run but CPU load is 100%. Is dual core still pretty much the bottom line?
 

IanWraith

Member
Joined
Sep 29, 2010
Messages
269
Reaction score
0
Location
ianwraith@gmail.com
What would you say the minimum requirements are PC wise to run the latest version? I was able to pick up a P4 2.8ghz with a gig of ram dirt cheap, thinking I would maybe use it as my DMR machine... but it won't run. Well, I shouldn't say it won't run... it does run but CPU load is 100%. Is dual core still pretty much the bottom line?

Yes that tends to happen with the older single core PCs which don't seem to handle the threading side of things that well. Oddly I have a Samsung Netbook with a Intel Atom inside and the program runs on that but with a CPU load of 85% so I presume the Atom handles threads better. However for a usable PC for the program I would definately go with 2 cores or more.

Hope that helps.

Ian
 

Forts

Mentor
Database Admin
Joined
Dec 19, 2002
Messages
7,076
Reaction score
1,381
Location
Ontario, Canada
Thanks Ian... I've got an Acer netbook (with an Intel Atom cpu) that I use for DMR Decode on the road and it works great. I guess the Atom is a little snappier than I gave it credit for haha... I'll use the cheapo PC I picked up for some other stuff and keep my eyes out for another cheap dual core box.
 
H

henry-yao

Guest
Hi Ian, I found the sourcecode last night. Great work! I have downloaded the sourcecode and Eclips in WinXP platform.
But when I debug this program as Java Application, I got the following error:

Fatal error in setupAuido()
Line with format PCM_SIGNED 48000.0Hz, 16 bit, mono, 2 bytes/frame, big-endian not supported.

I am using Dell INSPIRON 1440 notebook.The soundcard is IDT High Definition Audio Codec.

Could you give me any advice about how to fix this problem?
 

IanWraith

Member
Joined
Sep 29, 2010
Messages
269
Reaction score
0
Location
ianwraith@gmail.com
Hello Henry

But when I debug this program as Java Application, I got the following error:

Fatal error in setupAuido()
Line with format PCM_SIGNED 48000.0Hz, 16 bit, mono, 2 bytes/frame, big-endian not supported.

I am using Dell INSPIRON 1440 notebook.The soundcard is IDT High Definition Audio Codec.

Could you give me any advice about how to fix this problem?

It sounds as though that model of Dell won't sample as DMRDecode requires (which is 48 KHz , mono and 16 bits) I'm afraid. That sample rate is critical as it gives exactly 10 samples per DMR symbol. Other users have fixed this problem by using a cheap USB external sound card which can support this. Oddly the cheapest USB sound cards are reported to be the best. I paid just under 5 UK pounds for mine from an ebay seller.

Hope this helps.

Ian
 
Status
Not open for further replies.
Top