DSDPlus

Status
Not open for further replies.

wx5uif

Member
Premium Subscriber
Joined
Aug 24, 2006
Messages
858
Reaction score
139
Location
Broken Arrow, OK
Just a tip for people using batch files in the DSD folder where it might be several folders down. Think from the Desktop.

You can use "%~dp0\dsd.exe" in the batch files to run the DSD.exe program without having to drill down to the DSD folder. You can also transfer the folder to another PC and the batch file will still work wherever you put it.

So instead of this in the batch file
C:\Users\User\Desktop\dsd folder\dsd.exe" -v3 -dr4 -dh8 -ds71 -dd100 -dv30

You just need this
"%~dp0\dsd.exe" -v3 -dr4 -dh8 -ds71 -dd100 -dv30

Make sure "%~dp0\dsd.exe" has " " around it like shown.

It also won't care where you put the folder, as long as the batch file is in the same folder as dsd.exe.

(I'm horrible at explaining stuff, so hopefully someone understands this and might be a benefit to someone.
 
Last edited:

troymail

Silent Key
Joined
Dec 19, 2002
Messages
9,981
Reaction score
32
Location
Supply (Lockwood Inlet area), NC
ok - I've been playing with this for several hours now and have looked through the entire 17 pages in the thread.... still can't get things to produce P25p1 voice.

I'm trying to use an old BC245XLT I had tapped years ago. I'm feeding the tap line directly into the mic jack on my Lenovo Y560 laptop.

I've tried alot of settings and can see activity scrolling by on the screen but I'm seeing alot of what appears to be Er(rors).

An output file gets created (or appended) and it's growing but when played there is no sound.

I've reloaded the Realtek drivers in the middle but that didn't help.

I was able to feed a couple of the NXDN and DMR files mentioned in the thread to dsd+ and I heard voice (or encrypted voice) when they process.

I'm now thinking about trying the headphone jack output from my PSR800 .. I think some folks said that worked for them. Can someone describe that setup?

Any other ideas I'd love to hear them.

Thanks
 

br0adband

Member
Joined
Apr 8, 2005
Messages
1,566
Reaction score
7
Location
Springfield MO
I thought the PSR-800 already supported a discriminator output or something... ?

Just read about it and apparently it does, with some setting in the menus it'll change the audio output to the headphone jack from the actual broadcast audio into a discriminator "tap" output, give that a shot (read up on it first, however).
 

troymail

Silent Key
Joined
Dec 19, 2002
Messages
9,981
Reaction score
32
Location
Supply (Lockwood Inlet area), NC
OK - I've now been able to make a bit of progress. After wasting hours trying to get the discriminator tap from my BC245XLT working, I decided to give the PSR800 IF output a shot. And it worked almost immediately.

I've now been playing with various settings - volume setting on the PSR800 headphone output level and the input settings on the mic jack on the sound card.

Not perfect but at least it's working.

More playing tomorrow.
 

Jay911

Silent Key (April 15th, 2023)
Joined
Feb 15, 2002
Messages
9,378
Reaction score
380
Location
Bragg Creek, Alberta
Previously with original DSD, my best input level on the 800 was about 13 or 14, FWIW. Still haven't tried it on DSD+ - may get a chance to do that tomorrow.
 

n3obl

ØAES-1056
Database Admin
Joined
Dec 19, 2002
Messages
2,345
Reaction score
1,664
Location
PA
Im using 18-20 for level.
 

troymail

Silent Key
Joined
Dec 19, 2002
Messages
9,981
Reaction score
32
Location
Supply (Lockwood Inlet area), NC
Working fairly well this morning on a couple of P25 systems in the area. Here's my settings:

PSR800 with IF to headphone jack
Volume at 8
Several trunked system P25 voice frequencies programmed as conventional objects

Input to the (Pink) mic jack to my laptop

Soundcard recording settings
level is 51
microphone boost 20db

Ran dsdtune and here's the recommended settings that seem to be working fairly well

dsd -f1 -v4 -dr4 -dh8 -ds59 -dd28 -dv30

Wasted a huge amount of time yesterday trying to get my tapped BC245XLT to work with this- but on the positive side, that also lead me to read through the entire 17 pages in this thread!

I'm really curious to try tis now against something my PSR800 doesn't already do (i.e. DMR, NXDN, etc).

BTW - is there a reference somewhere that describes the codes being display using "-v4"? For example: LDU, TDULC, etc?
 
Last edited:

bainino

Member
Joined
Apr 8, 2013
Messages
7
Reaction score
0
Hi

Someone try to decode IDAS dPMR with DSD+??

I try it, but nothing happend, I think it's diferent frame sync than NXDN.

I use SDR# - VAC - DSD+, I try diferent input Levels, and modes -fa, -fn, -fN.
It works with conventional NXDN48 sites arround here.

thanks
 

slicerwizard

Member
Joined
Sep 19, 2002
Messages
7,802
Reaction score
2,194
Location
Toronto, Ontario
So instead of this in the batch file
C:\Users\User\Desktop\dsd folder\dsd.exe" -v3 -dr4 -dh8 -ds71 -dd100 -dv30
I must be missing something. Wouldn't one keep their DSD+ batch files in the DSD+ folder? If so, why would one need to add path text to the batch files?


After wasting hours trying to get the discriminator tap from my BC245XLT working,
Did you look at the raw audio? You should upload a sample.


BTW - is there a reference somewhere that describes the codes being display using "-v4"? For example: LDU, TDULC, etc?
The P25 docs cover it.


PDU - Packet Data Unit


TDSU/TSBK - Trunk Signalling Data Unit

- payload: trunking data


TDU - Terminator Data Unit

- sent after voice stream

- payload: none


TDULC - Terminator Data Unit with Link Control

- sent after voice stream

- payload: link control


HDU - Header Data Unit

- precedes voice stream (alternating LDU1/LDU2 frames)

- payload: talkgroup and encryption initialization parameters


LDU1 - Logical Data Unit 1

- payload: nine 20 ms voice frames, link control, 16 bits low speed data

- link control rotates through TG, RID, neighbour list, etc.


LDU2 - Logical Data Unit 2

- payload: nine 20 ms voice frames, encryption sync data (for late entry), 16 bits low speed data


Someone try to decode IDAS dPMR with DSD+??

I try it, but nothing happend, I think it's diferent frame sync than NXDN.
You should upload raw audio samples.
 

mrpurrfect69

Member
Joined
Jan 27, 2012
Messages
39
Reaction score
0
ok just a quick one....... when I hit R it records the raw audio & saves it in the dsd floder but how do you get it to record the decoded audio??

tnx in advance
 

Forts

Mentor
Database Admin
Joined
Dec 19, 2002
Messages
7,107
Reaction score
1,429
Location
Ontario, Canada
You need to use the -O commad.

-O NUL will suppress recording of decoded audio
-O mydecodedaudio.wav (or .mp3) will save your decoded audio
 

mrpurrfect69

Member
Joined
Jan 27, 2012
Messages
39
Reaction score
0
Call me stupid but come again :)

Recording the decoded audio??? -O NUL means nothing nor does -O

Can you tell me in lame terms (hi) ;-)
 

RonnieUSA

Member
Joined
Aug 8, 2005
Messages
2,149
Reaction score
1
Location
Rowan County,KY (Morehead)
Call me stupid but come again :)

Recording the decoded audio??? -O NUL means nothing nor does -O

Can you tell me in lame terms (hi) ;-)

Do NOT use -O NUL if You want to record, that's for stopping it from recording.

Look at the post just above yours, it tells You what You need to do.
 
Last edited:

Jay911

Silent Key (April 15th, 2023)
Joined
Feb 15, 2002
Messages
9,378
Reaction score
380
Location
Bragg Creek, Alberta
Call me stupid but come again :)

Recording the decoded audio??? -O NUL means nothing nor does -O

Can you tell me in lame terms (hi) ;-)

It's a "switch" (-O and other commands prefaced with a dash are known as switches) you add to the command line you use to run DSD.

If you're just clicking on DSD in a folder window, you're not starting it the "right" way, because you're not able to add options that way.

On your computer, hold down the Windows key and then hit R. The "Run" box will come up. Type "cmd" in that box and hit Enter.

You will come up with a black screen and a prompt that will say something like C:\Users\yourname> _ or similar. This is the command prompt. This is where you run DSD from.

You need to know what folder DSD is in. To get there, you type "cd \folder\name\path\here". So if you installed DSD into c:\radio\dsdplus\, you would type cd \radio\dsdplus.

From there, you can run DSD with various command line switches (options). Start by typing "dsd -h" to get the help screens.
 

mtindor

FMP24 PRO USER
Database Admin
Joined
Dec 5, 2006
Messages
12,218
Reaction score
3,490
Location
Carroll Co OH / EN90LN
Call me stupid but come again :)

Recording the decoded audio??? -O NUL means nothing nor does -O

Can you tell me in lame terms (hi) ;-)

I won't call you stupid. However, you need to pay attention to things. Read the dsdplus.txt file.

Any time we reference -anything (dash anything), it's a commandline switch.

-O certainly does mean something. it directs the recorded output somewhere.

By default, when you run DSDPlus, it records decoded audio to DSDPlus.wav . However, you can modify that behavior.

Add -O NUL # this will turn off the recording of decoded audio
Add -O somename.wav # this will record decoded audio in WAV format to a file named someone.wav
Add -O somename.mp3 # this will record decoded audio in MP3 format to a file named somename.mp3.

Ex: If I want to monitor DMR/TRBO, i add -fr; if I want to pull audio from the 3rd input device, I add -i3; if I want to play decoded audio to audio device 2 I add -o2; if I want to increase the verbosity of what is displayed on the screen during decoding, I add -v4; if I want to the decoded audio recorded to taxicabs.wav, I add -O taxicabs.wav. the dsdplus.txt file discusses what -u# is.

dsdplus -fr -i3 -o2 -v4 -u9 -O taxicabs.wav

Mike
 

mrpurrfect69

Member
Joined
Jan 27, 2012
Messages
39
Reaction score
0
That's better explained thanks..... I'm was already running it from the command prompt I just didn't know what to do to record the decoded audio but I'll give it ago on the details you have give.

Once again tnx
 

troymail

Silent Key
Joined
Dec 19, 2002
Messages
9,981
Reaction score
32
Location
Supply (Lockwood Inlet area), NC
Maybe I missed this in the responses above... but doesn't the recorded audio automatically (by default) save/store into a file called "DSDPlus.wav" (or .mp3)? If the file exists, it will append to that file.

Use the commend line -O option to NOT record and/or change the output filename.....

Sorry if someone already said this....
 
Status
Not open for further replies.
Top