Decoding D-Star

Status
Not open for further replies.

natedawg1604

Member
Premium Subscriber
Joined
Jun 29, 2013
Messages
2,827
Reaction score
587
Location
Colorado
Okay.. that's a start.

Rob@Rob-PC ~/dsd-master/build
$ dsd
Digital Speech Decoder 1.7.0-dev (build:GIT-NOTFOUND)
mbelib version 1.3.0
Error, couldn't open /dev/audio

Also, how do I copy DSD and all it's required files to a USB drive?

It looks like you've got it working! If you run "dsd -h" and you see the help menu, that's a real good sign it's working. Also I ran into the exact same issue re: /dev/audio. As I noted earlier, this windows port of DSD only accepts audio from the sound card configured as your default recording device in windows. I figured this out after reading a prior post in the RR forum archives. (I don't know why this is so, or if it could be modified during the compile stage to allow DSD to accept Windows Audio Device Numbers like DSD+ does, maybe someone else could offer more insight about this...?)

So if you are using SDR# as your source, just fire up SDR# and assign it's output to Virtual Cable #1 (you could also use the free version of VB-Cable). Then in the windows audio menu, under "Recording Device" options, set VAC#1 as your default recording device. Note that if you have another device such as a microphone or line input configured as your current default recording device, you will have to re-configure that device somehow. In any event, once you get the default recording device configured correctly, you can start DSD like so:
dsd -fr -xr -v2 -i /dev/dsp -o /dev/dsp

On your other question, I'm not quite sure exactly which files you would copy to a USB drive if (I'm assuming?) you want to copy the program to another windows box. I'm really new to Cygwin, maybe someone else can chime in there.
 
Last edited:

robman50

Member
Joined
Nov 4, 2014
Messages
185
Reaction score
3
Location
Niagara, Ontario, Canada
It looks like you've got it working! If you run "dsd -h" and you see the help menu, that's a real good sign it's working.
Taadaaa!!
$ dsd -h
Digital Speech Decoder 1.7.0-dev (build:GIT-NOTFOUND)
mbelib version 1.3.0

Usage:
dsd [options] Live scanner mode
dsd [options] -r <files> Read/Play saved mbe data from file(s)
dsd -h Show help

Display Options:
-e Show Frame Info and errorbars (default)
-pe Show P25 encryption sync bits
-pl Show P25 link control bits
-ps Show P25 status bits and low speed data
-pt Show P25 talkgroup info
-q Don't show Frame Info/errorbars
-s Datascope (disables other display options)
-t Show symbol timing during sync
-v <num> Frame information Verbosity
-z <num> Frame rate for datascope

Input/Output options:
-i <device> Audio input device (default is /dev/audio, - for piped stdin)
-o <device> Audio output device (default is /dev/audio)
-d <dir> Create mbe data files, use this directory
-r <files> Read/Play saved mbe data from file(s)
-g <num> Audio output gain (default = 0 = auto, disable = -1)
-n Do not send synthesized speech to audio output device
-w <file> Output synthesized speech to a .wav file
-a Display port audio devices

Scanner control options:
-B <num> Serial port baud rate (default=115200)
-C <device> Serial port for scanner control (default=/dev/ttyUSB0)
-R <num> Resume scan after <num> TDULC frames or any PDU or TSDU

Decoder options:
-fa Auto-detect frame type (default)
-f1 Decode only P25 Phase 1
-fd Decode only D-STAR
-fi Decode only NXDN48* (6.25 kHz) / IDAS*
-fn Decode only NXDN96 (12.5 kHz)
-fp Decode only ProVoice*
-fr Decode only DMR/MOTOTRBO
-fx Decode only X2-TDMA
-l Disable DMR/MOTOTRBO and NXDN input filtering
-ma Auto-select modulation optimizations (default)
-mc Use only C4FM modulation optimizations
-mg Use only GFSK modulation optimizations
-mq Use only QPSK modulation optimizations
-pu Unmute Encrypted P25
-u <num> Unvoiced speech quality (default=3)
-xx Expect non-inverted X2-TDMA signal
-xr Expect inverted DMR/MOTOTRBO signal

* denotes frame types that cannot be auto-detected.

Advanced decoder options:
-A <num> QPSK modulation auto detection threshold (default=26)
-S <num> Symbol buffer size for QPSK decision point tracking
(default=36)
-M <num> Min/Max buffer size for QPSK decision point tracking
(default=15)

Rob@Rob-PC ~
$
 

robman50

Member
Joined
Nov 4, 2014
Messages
185
Reaction score
3
Location
Niagara, Ontario, Canada
It works!

I think I got it! :)

I'm testing it right now with HDSDR with VB-Cable and P25 is decoding no trouble at all but there are no active D-Star broadcasts active at the moment.
 

Attachments

  • Capture.PNG
    Capture.PNG
    62.3 KB · Views: 614
Last edited:

robman50

Member
Joined
Nov 4, 2014
Messages
185
Reaction score
3
Location
Niagara, Ontario, Canada
Update: I had a successful D-Star decode with the VE3YYZ repeater. I liked it how it shows the 'CQ' and Rx + Tx callsigns which makes it easy for identifying a QSO.
The sound quality is pretty bad though, it sounds like everyone is a robot. lol
IMO DMR sounds a bit better.
Overall, I call this project a success.
 

natedawg1604

Member
Premium Subscriber
Joined
Jun 29, 2013
Messages
2,827
Reaction score
587
Location
Colorado
For the -xr command, how do you know if the DMR signals are inverted?
Also, what would D-Star show up as?

Glad to hear you got it working. For DMR, you can test the signal in DSD+, it automatically detects polarity & displays it in your terminal log.
 

natedawg1604

Member
Premium Subscriber
Joined
Jun 29, 2013
Messages
2,827
Reaction score
587
Location
Colorado
update/clarification: This was all basically a waste of time, DSD+ (fastlane) supports D-Star.
 

CanesFan95

Was Homeboys-Scanna
Banned
Joined
Feb 14, 2008
Messages
3,377
Reaction score
594
Location
FL
But fast lane doesn't show any information like the callsign or text message.
 

CanesFan95

Was Homeboys-Scanna
Banned
Joined
Feb 14, 2008
Messages
3,377
Reaction score
594
Location
FL
Oh? Where do you get DSD fast lane from anyway?

It's called DSD+ Fastlane, and you have to pay for a subscription. One of the text files in the free version docs explains how to submit the payment.
 
Status
Not open for further replies.
Top