Java program to decode DMR

Status
Not open for further replies.

Forts

Mentor
Database Admin
Joined
Dec 19, 2002
Messages
6,807
Location
Ontario, Canada
You need to click on the filename itself over at github.... Click on it where it says dmrdecode_b37.jar. Then, presuming you have Java installed, it will run with a simple double click. It will look for audio on whatever input you have enabled for recording.
 

IanWraith

Member
Joined
Sep 29, 2010
Messages
269
Location
ianwraith@gmail.com
Hello
No problem click on the link below ..

https://github.com/downloads/IanWraith/DMRDecode/dmrdecode_b37.jar

You should then download a single file which you put in a folder or on your desktop. Next you should just double click on it and it should run.

Possible problems are that Internet Explorer automatically unpacks the single file into a folder containing many files. If this happens try using Firefox instead. Also ensure you have Oracle Java installed on your PC ..

java.com: Java + You

Good luck

Ian
 

nycap

Member
Joined
Mar 13, 2008
Messages
196
hey there guys; the program says "no sync". am i doing something wrong or is there something else i should do?
 

Forts

Mentor
Database Admin
Joined
Dec 19, 2002
Messages
6,807
Location
Ontario, Canada
Does the bar down in the lower left move or change colour at all? Or does it just stay red... my first guess is that you don't have the proper input selected in the Windows mixer for recorder (you are plugged into Mic and Line is selected... or vice versa). Failing that is this a newly tapped radio? And if so do you know for sure your tap is ok? (tried it with UniTrunker or something like that)....
 

nycap

Member
Joined
Mar 13, 2008
Messages
196
hey there; yeah the bar at the bottom stays around like 1/4 to 1/3 and is yellow. from time to time it goes up and turns red and green and goes back down. and it always says "no sync" "not logging". I know the disc tap is good. the two computers i used dell are dual core pentiums 2.6 ghz and 4gigs of ram. im thinking the sound cards are ****y or something.
 

IanWraith

Member
Joined
Sep 29, 2010
Messages
269
Location
ianwraith@gmail.com
Hi Nycap

Just try something for me. Tune your scanner to any station that transmits constantly and connect the line in audio cable that was going to your discriminator tap to the standard audio output on your scanner. Next slowly increase the scanner volume. Does the bar at the bottom of the program gradually move along ?


Regards

Ian
 

dtscho

Member
Database Admin
Joined
Aug 7, 2001
Messages
1,823
Location
Fredericksburg, VA
I have a question about DMRDecode and the audio sampling issue mentioned in posts 144-155 of this thread. It was stated that DMRDecode will only work under Windows or Linux, because Java for Mac does not allow the proper audio sampling. I have Windows 7 installed using Bootcamp on my MacBook Pro (spring 2010 edition). Is it likely that I'll be able to simply run DMRDecode from Windows, or is there some kind of limitation in the MacBook Pro's internal sound card itself? If there is a limitation in the sound card, what are my options - do I need to purchase a USB audio device that has the proper sampling parameters?

Thanks,
Dave
 

IanWraith

Member
Joined
Sep 29, 2010
Messages
269
Location
ianwraith@gmail.com
Hello

From my understanding the issue was with the sound drivers built into the Java virtual machine for Apple PCs. So in theory what you are proposing might just work. Please let us know if it does.

Regards

Ian
 

dtscho

Member
Database Admin
Joined
Aug 7, 2001
Messages
1,823
Location
Fredericksburg, VA
Ian,

Thank you for your response - that sounds like good news. I certainly will let everyone know if it works under Windows when I get a discriminator output-enabled scanner.

Dave
 

dtscho

Member
Database Admin
Joined
Aug 7, 2001
Messages
1,823
Location
Fredericksburg, VA
Sorry if this has already been answered, but a search didn't turn up anything.

Is a stereo audio patch cord required between the scanner and computer, or will a mono work fine?

Thanks,
Dave
 

wa6yvx

Member
Premium Subscriber
Joined
Dec 19, 2002
Messages
28
Location
San Diego
I can get DSD 1.4.1 to decode audio just fine, and DMR Decode 37 to display data just fine. I can get Telnet to display numbers only, how do I get it to decode the audio?
 

IanWraith

Member
Joined
Sep 29, 2010
Messages
269
Location
ianwraith@gmail.com
Hi

I can get DSD 1.4.1 to decode audio just fine, and DMR Decode 37 to display data just fine. I can get Telnet to display numbers only, how do I get it to decode the audio?

It can't at the moment but if someone were to write a program taking the voice data via the TCP/IP socket and using DSD authors code to turn it into voice I'm sure many people would be very grateful !

Regards

Ian
 

dtscho

Member
Database Admin
Joined
Aug 7, 2001
Messages
1,823
Location
Fredericksburg, VA
Received the PSR-800 yesterday, and was excited to figure out a few TRBO group codes. Unfortunately, I'm not able to get the scanner communicating with DMRDecode at all. Here's my setup:

PSR-800: IF Out: HP (I think this is the only thing I need to do on the scanner side of things, but is it possible another setting in the scanner is interfering with the IF Out? Maybe the PC/IF CCDump setting or the record setting??)

Audio cable: Mono-to-mono (Ian said yesterday this should be fine.)

Computer: I've tried plugging the cable into both the mic and line-in jacks, with no success. I'm using Windows 7 64-bit with RealTek audio. I've made sure that the audio settings are correct (48000, 16-bit). DMRDecode starts up fine, but nothing appears in the window, so it's obviously not receiving any data.

I'm hoping someone can give me some ideas as to what might be wrong, as I played with it for several hours yesterday, and came up with nothing. I'm sure it must be some silly setting I'm missing.

Thanks in advance.

Dave
 

Forts

Mentor
Database Admin
Joined
Dec 19, 2002
Messages
6,807
Location
Ontario, Canada
I'm not sure that the IF Out on the PSR-800 is true discriminator audio (which is what you need).....
 

dtscho

Member
Database Admin
Joined
Aug 7, 2001
Messages
1,823
Location
Fredericksburg, VA
I think it is. That's why people are excited about the PSR-800 - it provides discriminator output through the headphone jack, without having to open up one's scanner and modify it.

Dave
 

Jay911

Silent Key (April 15th, 2023)
Feed Provider
Joined
Feb 15, 2002
Messages
9,378
Location
Bragg Creek, Alberta
The PSR-800 IF Out is indeed discriminator audio. I had best results with the audio set to "13" on the 800 (you have to do this after plugging in the cable and configuring the scanner to send IF output to the headphone jack (HP)). I don't recall what setting the input volume on my netbook at.. probably half.

I turned off CC Dump while using IF Out. I don't know if it makes a difference, but it appeared to me that CC Dump caused audio recordings to become choppy, as if the scanner can't handle two writes to the SD card at the "same time".

Before you ask - playback of recordings does not support IF Out. I found this out the hard way.
 

dtscho

Member
Database Admin
Joined
Aug 7, 2001
Messages
1,823
Location
Fredericksburg, VA
The PSR-800 IF Out is indeed discriminator audio. I had best results with the audio set to "13" on the 800 (you have to do this after plugging in the cable and configuring the scanner to send IF output to the headphone jack (HP)). I don't recall what setting the input volume on my netbook at.. probably half.

I turned off CC Dump while using IF Out. I don't know if it makes a difference, but it appeared to me that CC Dump caused audio recordings to become choppy, as if the scanner can't handle two writes to the SD card at the "same time".

Before you ask - playback of recordings does not support IF Out. I found this out the hard way.

Thanks for the reply. I'm starting to wonder if maybe I don't have the right type of cable. Everything looks fine on the scanner and computer side of things, so that leaves the cable. When I connect the scanner to the computer, and try to record something using the Windows Sound Recorder as a test, I get nothing recorded. I assume that means no audio is making it from the scanner to the computer.

It's starting to get frustrating. I was looking forward to getting a bunch of group IDs and then programming my TRBO radio with them.

Dave
 

IanWraith

Member
Joined
Sep 29, 2010
Messages
269
Location
ianwraith@gmail.com
Thanks for the reply. I'm starting to wonder if maybe I don't have the right type of cable. Everything looks fine on the scanner and computer side of things, so that leaves the cable. When I connect the scanner to the computer, and try to record something using the Windows Sound Recorder as a test, I get nothing recorded. I assume that means no audio is making it from the scanner to the computer.

My money would be on the cable being fine but Windows either not having the Line In selected as the audio input or it is selected but it is muted. In the old days (Windows XP and earlier) it was a simple matter of running the mixer programming and looking what was enabled. In Windows Vista (not sure about Windows 7) the mixer is gone and this simple process is now a pain in the backside. Recently I fired up DMRDecode and found that it didn't work as it wasn't getting any audio from my scanner. It appears another decoder that runs earlier had muted the line in audio for its own reason. I then spent the next hour messing about in Vista looking for a way of re enabling it which I eventually found in a well hidden program provided by the company who produced the sound chip on the motherboard. It was all very frustrating and makes me wish I could move over to just using Linux.

Are things any easier with Windows 7 ?

Regards

Ian
 
Status
Not open for further replies.
Top